[lustre-discuss] [EXTERNAL] tunefs.lustre safe way to get config

Mohr, Rick mohrrf at ornl.gov
Fri Feb 24 07:28:27 PST 2023


Sid,

As far as I know, it is safe to run tunefe.lustre on a live file system as long as you aren’t making changes.  The man page doesn't show a --print option for tunefs.lustre, but I usually just run "tunefs.lustre --dryrun <device>" to print the info.  (Note: I have only done this with ldiskfs backends before, but I don't think zfs should be any different)

--Rick


On 2/23/23, 8:07 PM, "lustre-discuss on behalf of Sid Young via lustre-discuss" <lustre-discuss-bounces at lists.lustre.org <mailto:lustre-discuss-bounces at lists.lustre.org> on behalf of lustre-discuss at lists.lustre.org <mailto:lustre-discuss at lists.lustre.org>> wrote:


G'Day all,


I need to review the IP's assigned during the initial mkfs.lustre on ten ZFS based OST's and two ZFS backed MDT's.




The ZFS disks are:
osthome0/ost0, osthome1/ost1, osthome2/ost2, osthome3/ost3,
ostlustre0/ost0, ostlustre1/ost1, ostlustre2/ost2, ostlustre3/ost3, ostlustre4/ost4, ostlustre5/ost5And 


mdsthome/home
mdtlustre/lustre).




A few questions....




Is it safe to use tunefs.lustre on the running system to read back the parameters only? or do I have to shut everything down and read from the unmounted filesystems?




Is this the correct commands to use for the DMTs?




tunefs.lustre --print mdthome/home


tunefs.lustre --print mdtlustre/lustre










Sid Young































More information about the lustre-discuss mailing list