[Lustre-discuss] More failover issues

Nathan Rutman Nathan.Rutman at Sun.COM
Tue Nov 13 12:09:05 PST 2007


Strangely, this works with my version of the 163 release branch, but 
doesn't work on my 164 prerelease (same prob as you).
Anyhow, try grabbing and older version of mkfs.lustre, from 1.6.0.1, 
1.6.1, or 1.6.2.  There's been no major changes.

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 at o2ib --mgsnode=192.168.1.253 at o2ib 
--failnode=192.168.1.252 at 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 at o2ib mgsnode=192.168.1.253 at o2ib 
failover.node=192.168.1.252 at o2ib


Robert LeBlanc wrote:
>
> This is what I'm getting:
>
> head2-2:~# mkfs.lustre --mkfsoptions="-O dir_index" --reformat --mdt 
> --fsname=home --mgsnode=192.168.1.252 at o2ib 
> --mgsnode=192.168.1.253 at o2ib --failnode=192.168.1.252 at 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 at o2ib 
> failover.node=192.168.1.252 at 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
>
>
> -----Original Message-----
> From: Nathan Rutman [mailto:Nathan.Rutman at Sun.COM]
> Sent: Mon 11/12/2007 1:51 PM
> To: Robert LeBlanc
> Cc: lustre
> Subject: Re: [Lustre-discuss] More failover issues
>
> Robert LeBlanc wrote:
> > In 1.6.0, when creating a MDT, you could specify multiple --mgsnode 
> options
> > and it would failover between them. 1.6.3 only seems to take the 
> last one
> > and --mgsnode=192.168.1.252 at o2ib:192.168.1.253 at o2ib doesn't seem to 
> failover
> > to the other node. Any ideas how to get around this?
> >  
> Multiple --mgsnode parameters should work:
> mkfs.lustre --mkfsoptions="-O dir_index" --reformat --mdt
> --mgsnode=192.168.1.253 at o2ib --mgsnode=1 at elan --device-size=10000 /tmp/foo
>
>    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 at o2ib mgsnode=1 at elan
>
> > Robert
> > 
> > Robert LeBlanc
> > College of Life Sciences Computer Support
> > Brigham Young University
> > leblanc at byu.edu
> > (801)422-1882
> >
> >
> > _______________________________________________
> > Lustre-discuss mailing list
> > Lustre-discuss at clusterfs.com
> > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
> >  
>
>




More information about the lustre-discuss mailing list