Hello, running tunefs.lustre during the upgrade, do i have to add the "--param" option when it has been used during the creation fo the fs ? i.e. lustre fs during creation: mkfs.lustre --param="failover.mode=failout" --fsname lustre --ost --mkfsoptions=''-i 2097152 -E stride=16 -b 4096'' --mgsnode=mds1 at tcp0 /dev/sdb now upgrading: tunefs.lustre --param="failover.mode=failout" --fsname lustre --ost --mgsnode=mds1 at tcp0 /dev/sdb A "-writeconf" is not intended during the upgrade. How long will it take (approx) to "tunefs" an 8TB OST partition ? Thanks and Regards Heiko
On Jul 27, 2010, at 5:02 AM, Heiko Schr?ter wrote:> Hello, > > > running tunefs.lustre during the upgrade, do i have to add the "--param" option when it has been used during the creation fo the fs ? > > i.e. lustre fs during creation: > mkfs.lustre --param="failover.mode=failout" --fsname lustre --ost --mkfsoptions=''-i 2097152 -E stride=16 -b 4096'' --mgsnode=mds1 at tcp0 /dev/sdb > now upgrading: > tunefs.lustre --param="failover.mode=failout" --fsname lustre --ost --mgsnode=mds1 at tcp0 /dev/sdbYou actually don''t need to run tunefs unless you are changing something. Additionally, all parameters should be "sticky" across tunefs; you can see the current settings with ''tunefs --print'', add new parameters with ''tunefs --param'', and erase all old params with ''tunefs --erase''.> A "-writeconf" is not intended during the upgrade.In that case, most tunefs changes won''t impact anything anyhow :)> How long will it take (approx) to "tunefs" an 8TB OST partition ?No time. There''s nothing that is done to the disk format during tunefs, just the modification of a single config file.> > Thanks and Regards > Heiko > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss
Am Dienstag 27 Juli 2010, um 18:41:24 schrieben Sie:> > running tunefs.lustre during the upgrade, do i have to add the "--param" option when it has been used during the creation fo the fs ? > > > > i.e. lustre fs during creation: > > mkfs.lustre --param="failover.mode=failout" --fsname lustre --ost --mkfsoptions=''-i 2097152 -E stride=16 -b 4096'' --mgsnode=mds1 at tcp0 /dev/sdb > > now upgrading: > > tunefs.lustre --param="failover.mode=failout" --fsname lustre --ost --mgsnode=mds1 at tcp0 /dev/sdb > > You actually don''t need to run tunefs unless you are changing something. Additionally, all parameters should be "sticky" across tunefs; you can see the current settings with ''tunefs --print'', add new parameters with ''tunefs --param'', and erase all old params with ''tunefs --erase''.Could this "option" make into the docs ? Chapter 13.2.4.2 of lustre 1.8 OP Manual reads a bit different, well, to me at least. An info that tunefs.lustre is only required when changing params would be nice. Thanks and Regards Heiko