<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>RE: [Lustre-discuss] More failover issues</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Moreover, tunefs returns:<BR>
<BR>
head2-2:~# tunefs.lustre --mgsnode=192.168.1.253@o2ib --mgsnode=192.168.1.252@o2ib --writeconf /dev/mapper/ldiskd-part1<BR>
checking for existing Lustre data: found CONFIGS/mountdata<BR>
Reading CONFIGS/mountdata<BR>
<BR>
   Read previous values:<BR>
Target:     home-MDT0000<BR>
Index:      0<BR>
Lustre FS:  home<BR>
Mount type: ldiskfs<BR>
Flags:      0x101<BR>
              (MDT writeconf )<BR>
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr<BR>
Parameters:  failover.node=192.168.1.252@o2ib mdt.group_upcall=/usr/sbin/l_getgroups mgsnode=192.168.1.253@o2ib<BR>
<BR>
<BR>
   Permanent disk data:<BR>
Target:     home-MDT0000<BR>
Index:      0<BR>
Lustre FS:  home<BR>
Mount type: ldiskfs<BR>
Flags:      0x101<BR>
              (MDT writeconf )<BR>
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr<BR>
Parameters:  failover.node=192.168.1.252@o2ib mdt.group_upcall=/usr/sbin/l_getgroups   mgsnode=192.168.1.252@o2ib<BR>
<BR>
Writing CONFIGS/mountdata<BR>
<BR>
<BR>
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.<BR>
<BR>
Robert<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: lustre-discuss-bounces@clusterfs.com on behalf of Robert LeBlanc<BR>
Sent: Mon 11/12/2007 2:18 PM<BR>
To: Nathan Rutman<BR>
Cc: lustre<BR>
Subject: Re: [Lustre-discuss] More failover issues<BR>
<BR>
This is what I'm getting:<BR>
<BR>
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<BR>
<BR>
   Permanent disk data:<BR>
Target:     home-MDTffff<BR>
Index:      unassigned<BR>
Lustre FS:  home<BR>
Mount type: ldiskfs<BR>
Flags:      0x71<BR>
              (MDT needs_index first_time update )<BR>
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr<BR>
Parameters:  mgsnode=192.168.1.253@o2ib failover.node=192.168.1.252@o2ib mdt.group_upcall=/usr/sbin/l_getgroups<BR>
<BR>
device size = 972MB<BR>
formatting backing filesystem ldiskfs on /dev/mapper/ldiskd-part1<BR>
        target name  home-MDTffff<BR>
        4k blocks     0<BR>
        options       -O dir_index -i 4096 -I 512 -q -F<BR>
mkfs_cmd = mkfs.ext2 -j -b 4096 -L home-MDTffff -O dir_index -i 4096 -I 512 -q -F /dev/mapper/ldiskd-part1<BR>
Writing CONFIGS/mountdata<BR>
<BR>
<BR>
For some reason, only the last --mgsnode option is being kept.<BR>
<BR>
Robert<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Nathan Rutman [<A HREF="mailto:Nathan.Rutman@Sun.COM">mailto:Nathan.Rutman@Sun.COM</A>]<BR>
Sent: Mon 11/12/2007 1:51 PM<BR>
To: Robert LeBlanc<BR>
Cc: lustre<BR>
Subject: Re: [Lustre-discuss] More failover issues<BR>
<BR>
Robert LeBlanc wrote:<BR>
> In 1.6.0, when creating a MDT, you could specify multiple --mgsnode options<BR>
> and it would failover between them. 1.6.3 only seems to take the last one<BR>
> and --mgsnode=192.168.1.252@o2ib:192.168.1.253@o2ib doesn't seem to failover<BR>
> to the other node. Any ideas how to get around this?<BR>
> <BR>
Multiple --mgsnode parameters should work:<BR>
mkfs.lustre --mkfsoptions="-O dir_index" --reformat --mdt<BR>
--mgsnode=192.168.1.253@o2ib --mgsnode=1@elan --device-size=10000 /tmp/foo<BR>
<BR>
   Permanent disk data:<BR>
Target:     lustre-MDTffff<BR>
Index:      unassigned<BR>
Lustre FS:  lustre<BR>
Mount type: ldiskfs<BR>
Flags:      0x71<BR>
              (MDT needs_index first_time update )<BR>
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr<BR>
Parameters: mgsnode=192.168.1.253@o2ib mgsnode=1@elan<BR>
<BR>
> Robert<BR>
><BR>
> Robert LeBlanc<BR>
> College of Life Sciences Computer Support<BR>
> Brigham Young University<BR>
> leblanc@byu.edu<BR>
> (801)422-1882<BR>
><BR>
><BR>
> _______________________________________________<BR>
> Lustre-discuss mailing list<BR>
> Lustre-discuss@clusterfs.com<BR>
> <A HREF="https://mail.clusterfs.com/mailman/listinfo/lustre-discuss">https://mail.clusterfs.com/mailman/listinfo/lustre-discuss</A><BR>
> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>