-
Notifications
You must be signed in to change notification settings - Fork 9
Shine command list
Once installed, Shine provides the shine
command (as of v1.5).
Usage: shine [options] COMMAND [options]
Commands:
config Display filesystem component information
execute Execute a custom command
format Format file system targets.
fsck Fsck on targets backend file system.
install Install a new file system.
list List installed filename names.
mount Mount file system clients.
remove Remove a previously installed file system
show Show configuration parameters.
start Start file system servers.
status Check for file system target status.
stop Stop file system servers.
tune Tune file system servers.
tunefs Tune file system targets.
umount Unmount file system clients.
update Update an installed filesystem with a new model
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-L Run only for local components
--fanout=FANOUT fanout for parallel commands
--dry-run perform a trial run with no changes made
-o OPTIONS additional options for final command
-f NAME apply command to this file system
-m MODEL path of the Lustre Model File
-y assume a "yes" response to all prompts
--mountdata=WHEN analyze target mountdata (never, always or auto)
Display options:
-v be verbose (could be used multiple times)
-q quiet output
-d enable debugging
-V VIEW change displayed filesystem information
-O FORMAT custom format for component summary table
-H do not display table header
--color=WHEN whether to use ANSI colors (never, always or auto)
Component selection:
-i INDEXES specify target index ranges, eg. 0-6/2
-l LABELS specify component by label (ie: foo-OST0000)
-t TARGETS specify components (mgt, mdt, ost, router)
Node restriction:
-n NODES, -w NODES only use this nodes or nodeset, eg. red[2-10/2]
-x NODES exclude nodes or nodeset, eg. red[2-10/2]
-F NODES Nodes to use to fail over
Install a filesystem from a model file. The model file may describes the entire Lustre filesystem or only target patterns that will match Shine's backend entries.
Typical usage is:
# shine install -m /etc/shine/models/testfs.lmf
By installing, we mean that shine will generate a filesystem configuration and will spread it to the concerned nodes (MGS, MDS, OSS and clients).
Update an installed file system. This command applies the changes you made to an installed filesystem model and copy the filesystem and tuning configuration files. This is useful to change default striping, ost options, add/remove clients and more, or simply update the configuration files.
Typical usage is:
# shine update -m /etc/shine/models/testfs.lmf
Delete shine filesystem configuration. Also remove configuration in backend if defined. Lustre devices are not touched and so data is preserved. This only remove the Shine part.
# shine remove -f testfs
Query and display fileystem configuration in an efficient way. Shine can query and display a filesystem configuration using locally stored configuration. This does not execute any remote command. Display could be highly tuned through command line option to achieve specific output.
# shine config -f testfs
Format an installed filesystem.
Typical usage is:
# shine format -f testfs
Start filesystem servers.
Typical usage is:
# shine start -f testfs
Stop filesystem servers.
Typical usage is:
# shine stop -f testfs
Perform a "check and repair" fsck on specified targets backend file system in parallel.
Typical usage is:
# shine fsck -f testfs
Run tunefs.lustre
in parallel on filesystem targets. This could be used to regenerate MGS configuration and repair it.
Typical usage is:
# shine tunefs -f testfs
Mount filesystem clients.
Typical usage is:
# shine mount -f testfs
Un-mount filesystem clients.
Typical usage is:
# shine umount -f testfs
Get filesystem current status.
Typical usages are:
# shine status -f testfs
# shine status -f testfs -V targets
# shine status -f testfs -V fs