tunefs.lustre.8
来自「lustre 1.6.5 source code」· 8 代码 · 共 103 行
8
103 行
.\" -*- nroff -*-.\" Copyright 2006 by Cluster File Systems, Inc. All Rights Reserved..\" Copyright 2008 by Sun Microsystems, Inc. All Rights Reserved..\" This file may be copied under the terms of the GNU Public License, v2..\".TH tunefs.lustre 8 "2008 Mar 15" Lustre "configuration utilities".SH NAMEtunefs.lustre \- modify the Lustre configuration information on a disk.SH SYNOPSIS.br.B tunefs.lustre[options] .I device.br.SH DESCRIPTION.B tunefs.lustreis used to modify the configuration information on a Lustre targetdisk. This includes upgrading old (pre-Lustre 1.6) disks. This does notreformat the disk or erase the target information, but modifying theconfiguration information can result in an unusable filesystem. You havebeen warned..brChanges made here will affect a filesystem only when the target is nextmounted..SH OPTIONS.TP.BI \--comment= commentSet user comment about this disk, ignored by Lustre..TP.BI \--dryrunOnly print what would be done; does not affect the disk.TP.BI \--erase-paramsRemove all previous parameter info.TP.BI \--failnode= nid,... Set the NID(s) of a failover partner. This option can be repeated as desired..TP.BI \--fsname= filesystem_name The Lustre filesystem this service will be part of. Default is 'lustre'.TP.BI \--index= indexForce a particular OST or MDT index .TP.BI \--mountfsoptions= optsSet permanent mount options, equivalent to setting in /etc/fstab.TP.BI \--mgsAdd a configuration management service to this target.TP.BI \--mgsnode= nid,... Set the NID(s) of the MGS node, required for all targets other than the MGS..TP.BI \--nomgsRemove a configuration management service to this target.TP.BI \--quietPrint less information..TP.BI \--verbosePrint more information..TP.BI \--writeconfErase all config logs for the filesystem that this MDT is part of, andregenerate them. This is very dangerous. All clients and servers shouldbe stopped.All targets must then be restarted to regenerate the logs. No clients should be started until all targets have restarted.In general this should be executed on the MDT only, not the OSTs..SH EXAMPLES.TP.B tunefs.lustre --erase-param --mgsnode=<new_nid> --writeconf /dev/sdaChange the MGS NID address. (This should be done on every target disk,since they should all be contacting the same MGS.).TP.B tunefs.lustre --param="failover.node=192.168.0.13@tcp0" /dev/sdaAdd a failover NID location for this target.TP.B tunefs.lustre --mgs --mdt --fsname=testfs /dev/sdaUpgrade an old 1.4.X Lustre MDT to 1.6. The new filesystem name is "testfs". .TP.B tunefs.lustre --writeconf --mgs --mdt --fsname=testfs /dev/sda1Upgrade an old 1.4.X Lustre MDT to 1.6, and start with brand-new 1.6configuration logs. All old servers and clients must be stopped..SH BUGSPlease report all bugs to Sun Microsystems using http://bugzilla.lustre.org/.SH AVAILABILITY.B tunefs.lustreis part of the .BR Lustre (7) filesystem package and is available from Sun Microsystems, Inc via.brhttp://downloads.lustre.org.SH SEE ALSO.BR lustre (7),.BR mkfs.lustre (8),.BR mount.lustre (8),.BR lctl (8),.BR lfs (1)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?