Robert
Robert LeBlanc
College of Life Sciences Computer Support
Brigham Young University
leb...@byu.edu
(801)422-1882
_______________________________________________
Lustre-discuss mailing list
Lustre-...@clusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
Permanent disk data:
Target: lustre-MDTffff
Index: unassigned
Lustre FS: lustre
Mount type: ldiskfs
Flags: 0x71
(MDT needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mgsnode=192.168.1.253@o2ib mgsnode=1@elan
This is what I'm getting:
head2-2:~# mkfs.lustre --mkfsoptions="-O dir_index" --reformat --mdt --fsname=home --mgsnode=192.168.1.252@o2ib --mgsnode=192.168.1.253@o2ib --failnode=192.168.1.252@o2ib /dev/mapper/ldiskd-part1
Permanent disk data:
Target: home-MDTffff
Index: unassigned
Lustre FS: home
Mount type: ldiskfs
Flags: 0x71
(MDT needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mgsnode=192.168.1.253@o2ib failover.node=192.168.1.252@o2ib mdt.group_upcall=/usr/sbin/l_getgroups
device size = 972MB
formatting backing filesystem ldiskfs on /dev/mapper/ldiskd-part1
target name home-MDTffff
4k blocks 0
options -O dir_index -i 4096 -I 512 -q -F
mkfs_cmd = mkfs.ext2 -j -b 4096 -L home-MDTffff -O dir_index -i 4096 -I 512 -q -F /dev/mapper/ldiskd-part1
Writing CONFIGS/mountdata
For some reason, only the last --mgsnode option is being kept.
Robert
Moreover, tunefs returns:
head2-2:~# tunefs.lustre --mgsnode=192.168.1.253@o2ib --mgsnode=192.168.1.252@o2ib --writeconf /dev/mapper/ldiskd-part1
checking for existing Lustre data: found CONFIGS/mountdata
Reading CONFIGS/mountdata
Read previous values:
Target: home-MDT0000
Index: 0
Lustre FS: home
Mount type: ldiskfs
Flags: 0x101
(MDT writeconf )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: failover.node=192.168.1.252@o2ib mdt.group_upcall=/usr/sbin/l_getgroups mgsnode=192.168.1.253@o2ib
Permanent disk data:
Target: home-MDT0000
Index: 0
Lustre FS: home
Mount type: ldiskfs
Flags: 0x101
(MDT writeconf )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: failover.node=192.168.1.252@o2ib mdt.group_upcall=/usr/sbin/l_getgroups mgsnode=192.168.1.252@o2ib
Writing CONFIGS/mountdata
Notice how there are two spaces between the mdt.group_upcall and the mgsnode parameters. If you only specify one mgsnode, then there is only one space. I wonder if there is something buggy with the parser.
Robert
cfs21:~/cfs/b_release_1_6_3/lustre/utils# ./mkfs.lustre
mkfs.lustre v1.6.3
cfs21:~/cfs/b_release_1_6_3/lustre/utils# ./mkfs.lustre
--mkfsoptions="-O dir_index" --reformat --mdt --fsname=home
--mgsnode=192.168.1.252@o2ib --mgsnode=192.168.1.253@o2ib
--failnode=192.168.1.252@o2ib --device-size=10000 /tmp/foo
Permanent disk data:
Target: home-MDTffff
Index: unassigned
Lustre FS: home
Mount type: ldiskfs
Flags: 0x71
(MDT needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mgsnode=192.168.1.252@o2ib mgsnode=192.168.1.253@o2ib
failover.node=192.168.1.252@o2ib