[Lustre-discuss] failover problems using separated journal disk

Antonio Concas robin at crs4.it
Wed Dec 23 02:25:18 PST 2009


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










More information about the lustre-discuss mailing list