[Lustre-discuss] no default mmp set for MDT with --failnode
Kalpak Shah
Kalpak.Shah at Sun.COM
Tue May 6 03:59:07 PDT 2008
On Mon, 2008-05-05 at 16:34 -0400, jrs wrote:
> The docs say that specifying --failnode should automatically
> set mmp on the filesystem. I've seen it work and not work ...
> It doesn't in this case ...
What is the kernel version you are using? Actually MMP is supported only
for kernel versions >= 2.6.9.
Thanks,
Kalpak
>
>
> mds01:/net/lmd01/space/lustre # mkfs.lustre --reformat --fsname i3_lfs4 --mdt --mgs --failnode mds02 /dev/mapper/mdt_lustre03-04_00_dm_8_mds01
>
> Permanent disk data:
> Target: i3_lfs4-MDTffff
> Index: unassigned
> Lustre FS: i3_lfs4
> Mount type: ldiskfs
> Flags: 0x75
> (MDT MGS needs_index first_time update )
> Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
> Parameters: failover.node=10.200.20.58 at tcp mgsnode=10.200.20.58 at tcp mdt.group_upcall=/usr/sbin/l_getgroups
>
> device size = 5722881MB
> formatting backing filesystem ldiskfs on /dev/mapper/mdt_lustre03-04_00_dm_8_mds01
> target name i3_lfs4-MDTffff
> 4k blocks 0
> options -J size=400 -i 4096 -I 512 -q -O dir_index -F
> mkfs_cmd = mkfs.ext2 -j -b 4096 -L i3_lfs4-MDTffff -J size=400 -i 4096 -I 512 -q -O dir_index -F /dev/mapper/mdt_lustre03-04_00_dm_8_mds01
> Writing CONFIGS/mountdata
>
> mds01:/net/lmd01/space/lustre # mount -t lustre /dev/mapper/mdt_lustre03-04_00_dm_8_mds01 /mnt/lustre/mdt
>
> mds01:/net/lmd01/space/lustre # lctl dl
> 0 UP mgs MGS MGS 5
> 1 UP mgc MGC10.200.20.58 at tcp 713e72db-26b3-58d7-5424-ad0c1520c915 5
> 2 UP mdt MDS MDS_uuid 3
> 3 UP lov i3_lfs4-mdtlov i3_lfs4-mdtlov_UUID 4
> 4 UP mds i3_lfs4-MDT0000 i3_lfs4-MDT0000_UUID 3
> mds01:/net/lmd01/space/lustre # umount -t lustre -a
> mds01:/net/lmd01/space/lustre # dumpe2fs -h /dev/mapper/mdt_lustre03-04_00_dm_8_mds01 |grep feat
> dumpe2fs 1.40.4.cfs1 (31-Dec-2007)
> Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file
>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
More information about the lustre-discuss
mailing list