Antonio Concas
2009-Dec-23 10:25 UTC
[Lustre-discuss] failover problems using separated journal disk
Hi, all I''m trying to setup a Lustre FS with OST failover, to improve performances i''m using a separated journal disk (formatted with: mke2fs -b 4096 -O journal_dev /dev/mapper/oss1-j0x) and formatting each ost with that command: [OSS1]# mkfs.lustre --ost --fsname=LUSTRE --mgsnode=MGSNODE at tcp0 --failover=OSS2 at tcp0 --mkfsoptions="-J device=/dev/mapper/oss1-j0x" /dev/mapper/oss1-d0x off course, OSS2, is able to mount /dev/mapper/oss1-j0x /dev/mapper/oss1-d0x, but if i umount /dev/mapper/oss1-d0x from OSS1 and mount it in OSS2, the following error occurs: mount.lustre: mount /dev/mapper/oss1-d00 at /LUSTRE/oss1-d00 failed: Invalid argument This may have multiple causes. Are the mount options correct? Check the syslog for more info. this is the log file of OSS2: Dec 23 11:20:29 mommoti12 kernel: LDISKFS-fs: external journal has bad superblock Dec 23 11:20:29 mommoti12 multipathd: dm-32: umount map (uevent) Dec 23 11:20:29 mommoti12 kernel: LustreError: 30343:0:(obd_mount.c:1278:server_kernel_mou nt()) premount /dev/mapper/oss1-d00:0x0 ldiskfs failed: -22, ldiskfs2 failed: -19. Is the ldiskfs module available? Dec 23 11:20:29 mommoti12 kernel: LustreError: 30343:0:(obd_mount.c:1592:server_fill_super ()) Unable to mount device /dev/mapper/oss1-d00: -22 Dec 23 11:20:29 mommoti12 kernel: LustreError: 30343:0:(obd_mount.c:1997:lustre_fill_super ()) Unable to mount (-22) after that if i mount the same lun in OSS1 no error occour. If i format an ost with no separate journal disk ( mkfs.lustre --ost --reformat --fsname=immenso --mgsnode=OSS1 at tcp0 --failnode=OSS2 at tcp0 /dev/mapper/oss1-d02), mount it in OSS1, umount and mount in OSS2 no errors occur. Can somebody help me? thanks Antonio
Bernd Schubert
2009-Dec-23 16:22 UTC
[Lustre-discuss] failover problems using separated journal disk
Hello Antonio, On Wednesday 23 December 2009, Antonio Concas wrote:> Hi, all > > Dec 23 11:20:29 mommoti12 kernel: LDISKFS-fs: external journal has bad > superblocksee here: https://bugzilla.lustre.org/show_bug.cgi?id=21389 Cheers, Bernd
Bernd Schubert
2009-Dec-23 16:23 UTC
[Lustre-discuss] failover problems using separated journal disk
Hello Antonio, On Wednesday 23 December 2009, Antonio Concas wrote:> Hi, all > > Dec 23 11:20:29 mommoti12 kernel: LDISKFS-fs: external journal has bad > superblocksee here: https://bugzilla.lustre.org/show_bug.cgi?id=21389 Cheers, Bernd -- Bernd Schubert DataDirect Networks