[lustre-discuss] mgsnode notation in mkfs and tunefs
Hans Henrik Happe
happe at nbi.dk
Mon Mar 5 02:31:31 PST 2018
Hi,
I've recently experienced the same. To be honest, I can't remember how I
used to do it. This way worked (2.10.3):
tunefs.lustre --erase-param --writeconf --param=mgsnode=<nid>:<nid>:...
Cheers,
Hans Henrik
On 02-03-2018 15:19, Thomas Roth wrote:
> Hi all,
>
> (we are now on Lustre 2.10.2.)
> It seems there is still a difference in how to declare --mgsnode between
> mkfs.lustre and tunefs.lustre.
> For an OST, I did:
>
> > mkfs.lustre --ost --backfstype=zfs
> --mgsnode=10.20.3.0 at o2ib5:10.20.3.1 at o2ib5 --... osspool0/ost0
>
> This OST mounts, is usable, all fine.
>
>
> Then I had to writeconf, and out of tradition, added --erase-params to
> the command - so I had to add the mgsnodes as well:
>
> > tunefs.lustre --erase-param --writeconf
> --mgsnode=10.20.3.0 at o2ib5:10.20.3.1 at o2ib5 osspool0/ost0
>
> This did not mount, so I repeated this and other writeconfs, and ended
> up with
>
> > tunefs.lustre --dryrun osspool0/ost0
> checking for existing Lustre data: found
>
> Read previous values:
> Target: hebe-OST0000
> Index: 0
> Lustre FS: hebe
> Mount type: zfs
> Flags: 0x142
> (OST update writeconf )
> Persistent mount opts:
> Parameters:
> mgsnode=10.20.3.0 at o2ib5:10.20.3.1 at o2ib5:10.20.3.0 at o2ib5:10.20.3.1 at o2ib5:10.20.3.0 at o2ib5:10.20.3.1 at o2ib5
>
>
>
> Seems I could have added more and more mgsnodes, and never gotten a good
> OST ;-)
>
> I repaired this by:
>
> > tunefs.lustre --erase-param mgsnode osspool0/ost0
> > tunefs.lustre --writeconf --mgsnode=10.20.3.0 at o2ib5
> --mgsnode=10.20.3.1 at o2ib5 osspool0/ost0
>
>
>
> This cluster is not yet in use - but if this happens with a production
> system, when --writeconf is anyhow your last resort - uncomfortable
> situation.
>
>
> Cheers
> Thomas
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
More information about the lustre-discuss
mailing list