Hi Narjit, Note that '[]' notation is a shell construct ... depending on the shell, it might get expanded different ways, or not at all, and subsequently mangled by the time it gets to mkfs.lustre.
The help output for mkfs.lustre on my 1.6.x system also uses '--mgs' and '--mgsnode', but there is no mention of a '--mgsnid' option. I find for clarity I use statements like this when working with my Lustre FS on the client side: -- cut -- mount -t lustre [EMAIL PROTECTED]:[EMAIL PROTECTED]:/lustre /mnt/lustre -- cut -- And on the OSS server side: -- cut -- mount -t lustre /dev/sdi /mnt/lustreost -- cut -- Check your command lines, I think they're slightly incorrect. hth, Klaus On 3/6/08 12:39 PM, "Chadha, Narjit" <[EMAIL PROTECTED]>did etch on stone tablets: > Would you know the correct MDS mount syntax (for OSTs and Clients) for > an MDS failover? > > For the OSSs , it does not appear to take the form: > > mkfs.lustre --ost --fsname=lustrefs --mgsnid=mds[1-2] /dev/sdb1 ** > mount -t lustre /dev/sdb1 /mnt/lustre > > ,where mds1,mds2 are the mgsnids of the primary and failover MDSs. There > is parsing error for mds[1-2] **, but knows of both mds1 and mds2 > independently. > > For the clients, it does not appear to take the form: > > mount -t lustre mds[1-2]:/lustrefs /mnt/lustre ** > > Lustre cannot parse mds[1-2] ** , but knows of both mds1 and mds2 > independently. > > As mentioned, I have tried comma separated names and colon separated > names as well with no effect. The problem is with the mgsnid name > structure. The ** only show where the errors occur. The MDS on its own > fails over seamlessly and was not mentioned above (it also has the same > fsname). > > Thanks > > N. > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Andreas Dilger > Sent: Friday, February 22, 2008 7:08 PM > To: Chadha, Narjit > Cc: [email protected]; [EMAIL PROTECTED] > Subject: Re: [Lustre-discuss] MDT Failover not functioning properly with > Lustre FS > > On Feb 21, 2008 13:14 -0800, Chadha, Narjit wrote: >> The only thing left is to be able to mount >> the failover mds configuration on the OSS. The sytax: >> >> >> >> mkfs.lustre --ost -fsname=mylustre -mgsnid=lustre0[1-2] /dev/sdb1 > > I think this is a defect in the manual. It should be "--fsname" and > "--mgsnid" I believe. Please confirm that is the issue and the manual > can be updated. > > > > Cheers, Andreas > -- > Andreas Dilger > Sr. Staff Engineer, Lustre Group > Sun Microsystems of Canada, Inc. > > _______________________________________________ > Lustre-discuss mailing list > [email protected] > http://lists.lustre.org/mailman/listinfo/lustre-discuss _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
