Check the overall health of the cluster 8
| Command | Platform and what it does |
weka status | WEKA · weka CLIPrints a status summary of the whole cluster. |
weka status rebuild | WEKA · weka CLIProgress of capacity being phased in or out, and the protection state per failure level. |
system health status show | NetApp ONTAP 9 · ONTAP CLIOne overall state: ok, ok-with-suppressed, degraded or unreachable. |
system health subsystem show | NetApp ONTAP 9 · ONTAP CLIHealth state of each subsystem that has a health monitor. |
mmhealth cluster show | IBM Spectrum Scale 5.1.1 (out of support) · mmhealthHealth of the cluster as a whole; a component name narrows it. |
mmhealth node show | IBM Spectrum Scale 5.1.1 (out of support) · mmhealthHealth status of the node the command runs on. |
lfs check servers | Lustre 2.x · lfsStatus check of every metadata and object storage target of the file system. |
system-view | Hammerspace 5.3 · Admin CLISummary view of the whole system. |
List the nodes, storage targets and drives 9
| Command | Platform and what it does |
cnode list | VAST Data · VAST CLILists the CNodes; the upgrade guide reads each node's OS version from it. |
dnode list | VAST Data · VAST CLIThe same list for the DNodes. |
storage disk show | NetApp ONTAP 9 · ONTAP CLIDrives and array LUNs with usable space, shelf, bay and owning node. |
mmlscluster | IBM Spectrum Scale 5.1.1 (out of support) · mmlsclusterCluster configuration with the table of member nodes and their designations. |
mmgetstate -a -L | IBM Spectrum Scale 5.1.1 (out of support) · mmgetstateState of the GPFS daemon on every node, with quorum counts. |
lctl dl | Lustre 2.x · lctlLists the Lustre devices on this node with number, name and UUID. |
lfs osts | Lustre 2.x · lfsEvery OST that belongs to the file system. |
node-list | Hammerspace 5.3 · Admin CLIEvery node known to the system; --full prints more detail. |
volume-list | Hammerspace 5.3 · Admin CLIStorage volumes of the system, as a summary or in detail. |
Show capacity and free space 5
| Command | Platform and what it does |
weka status [--detailed-capacity] | WEKA · weka CLIWith the option, the status adds capacity details, including data reduction. |
weka fs [--force-fresh] [--local] [--name <string>] | WEKA · weka CLILists the file systems with used, free and available capacity columns. |
mmdf fs1 --block-size auto | IBM Spectrum Scale 5.1.1 (out of support) · mmdfSpace on every disk of file system fs1, in units scaled for reading. |
lfs df -h | Lustre 2.x · lfsSpace used and available per MDT and OST, in human-readable units. |
lfs df -ih | Lustre 2.x · lfsInode use per MDT and OST. |
Set up or check RDMA networking 10
VAST Data and ONTAP set priority flow control for RoCE on the storage side. Lustre adds an InfiniBand network to LNet. The IBM rows only verify that verbs RDMA is running.
| Command | Platform and what it does |
clush -g cnodes "sudo configure_network.py --qos-only --qos-external-pfc-enable --qos-external-rdma-dscp2prio 40,3 --qos-external-cnp-dscp2prio 48,6 --vxlan" | VAST Data · configure_network.pyOn every CNode of a live cluster: enables PFC on external interfaces and sets RDMA and CNP priorities. |
network port show -rdma-protocols roce | NetApp ONTAP 9 · ONTAP CLIShows the RDMA offload protocols of the network ports, filtered to RoCE (ONTAP 9.10.1 and later). |
network port modify -node <nodename> -port <portname> -flowcontrol-admin pfc -pfc-queues-admin 3 | NetApp ONTAP 9 · ONTAP CLISets the flow control of a port to PFC with priority queue 3. |
vserver nfs modify -vserver <SVM_name> -rdma enabled | NetApp ONTAP 9 · ONTAP CLITurns RDMA access on for the NFS server of a storage VM. |
mmlsconfig | grep verbsRdma | IBM Spectrum Scale 5.1.1 (out of support) · mmlsconfigShows whether verbs RDMA is enabled in the cluster configuration. |
mmfsadm test verbs status | IBM Spectrum Scale 5.1.1 (out of support) · mmfsadmShows whether verbs RDMA has started on this node. |
mmfsadm test verbs conn | IBM Spectrum Scale 5.1.1 (out of support) · mmfsadmLists the RDMA connections of an NSD client to the NSD servers. |
lnetctl net add --net o2ib0 --if ib0,ib1 | Lustre 2.x · lnetctlAdds LNet network o2ib0, the InfiniBand driver, on interfaces ib0 and ib1. |
lnetctl net show --verbose | Lustre 2.x · lnetctlShows the configured LNet networks in detail. |
lctl list_nids | Lustre 2.x · lctlLists the network identifiers (NIDs) of this node. |
Create a file system or volume 6
| Command | Platform and what it does |
weka fs add | WEKA · weka CLICreates a file system; a name and a total capacity are required. |
vol create -vserver spod_mgmt -volume home -size 10T -auto-provision-as flexgroup -junction-path /home | NetApp ONTAP 9 · ONTAP CLICreates a FlexGroup volume of size 10T at junction path /home, with the guide's example names. |
mmcrfs gpfs1 -F /tmp/freedisks -B 512K -m 2 -r 2 -Q yes -T /gpfs1 | IBM Spectrum Scale 5.1.1 (out of support) · mmcrfsCreates file system gpfs1 from a disk stanza file, with replication 2, quotas on and mount point /gpfs1. |
mkfs.lustre --fsname=temp --mgs --mdt --index=0 /dev/sdb | Lustre 2.x · mkfs.lustreFormats a combined management and metadata target for a file system named temp. |
mkfs.lustre --fsname=temp --mgsnode=10.2.0.1@tcp0 --ost --index=0 /dev/sdc | Lustre 2.x · mkfs.lustreFormats the first object storage target and names the management node. |
mount -t lustre /dev/sdb /mnt/mdt | Lustre 2.x · mountMounts the formatted target on its server; each target is mounted this way. |
Mount the file system on a client 8
WEKA, IBM Spectrum Scale and Lustre mount through their own client software. VAST Data, ONTAP and Hammerspace are mounted as NFS; the VAST and ONTAP rows switch the transport to RDMA with a mount option.
| Command | Platform and what it does |
mount -t wekafs | WEKA · Linux mountMount type of the WEKA client; the backend server and the file system follow, separated by :/ or /. |
sudo mount -o rdma vast.acme.com:/ /mnt/vast | VAST Data · Linux mountNFS mount over RDMA, with the article's example host name. |
sudo mount -o nconnect=8,remoteports=172.0.0.1-172.0.0.128 vast.acme.com:/ /mnt/vast | VAST Data · Linux mount, VAST NFS clientMultipath mount: eight connections spread over a range of cluster addresses. |
mount -o vers=4,minorversion=0,proto=rdma,port=20049 <Server_IP_address>:/<volume_path> <mount_point> | NetApp ONTAP 9 · Linux mountNFSv4.0 mount over RDMA on port 20049, run on the client. |
mmmount all -a | IBM Spectrum Scale 5.1.1 (out of support) · mmmountMounts every GPFS file system on every node. |
mmlsmount all -L | IBM Spectrum Scale 5.1.1 (out of support) · mmlsmountLists the nodes that have each file system mounted. |
mount -t lustre 10.2.0.1@tcp0:/temp /lustre | Lustre 2.x · mountMounts file system temp on a client through the NID of the management node. |
mount -t nfs -o vers=4.2 <DSX DATA IP>:<EXPORT PATH> <MOUNT POINT> | Hammerspace 5.3 · Linux mountNFSv4.2 mount of an export through the data address of a DSX node. |
Set a quota and report usage against it 6
| Command | Platform and what it does |
weka fs quota set | WEKA · weka CLISets a directory, user or group quota; --soft and --hard give the limits. |
weka fs quota list | WEKA · weka CLILists quotas; without options only the ones that are exceeded. |
mmsetquota fs1 --user user234 --block 25G:30G --files 10K:11K | IBM Spectrum Scale 5.1.1 (out of support) · mmsetquotaSets soft and hard limits for blocks and for files for one user. |
mmrepquota -u -v fs2 | IBM Spectrum Scale 5.1.1 (out of support) · mmrepquotaReports the user quotas of file system fs2 with a header line. |
lfs setquota -u bob -b 307200 -B 309200 -i 10000 -I 11000 /mnt/testfs | Lustre 2.x · lfsSets soft and hard block and inode limits for user bob. |
lfs quota -u bob /mnt/testfs | Lustre 2.x · lfsShows the disk usage and limits of user bob. |
Take a snapshot and list snapshots 6
| Command | Platform and what it does |
weka fs snapshot add | WEKA · weka CLICreates a snapshot; the file system and the snapshot name are required. |
weka fs snapshot | WEKA · weka CLILists snapshots; --filesystem limits the list to one file system. |
mmcrsnapshot fs1 snap1 | IBM Spectrum Scale 5.1.1 (out of support) · mmcrsnapshotSnapshot snap1 of the whole file system fs1, which the guide calls a global snapshot. |
mmlssnapshot fs1 | IBM Spectrum Scale 5.1.1 (out of support) · mmlssnapshotLists the snapshots that exist in fs1. |
lctl snapshot_create | Lustre 2.x · lctlCreates a snapshot; run on the MGS with -F for the file system and -n for the name. |
lctl snapshot_list | Lustre 2.x · lctlLists the snapshots of a file system, also on the MGS. |
Read events and alerts 8
| Command | Platform and what it does |
weka events | WEKA · weka CLILists the events that match filters such as --severity and --start-time. |
weka alerts [--inactive] [--muted] [--severity <severity>] | WEKA · weka CLILists the alerts of the cluster; the options add inactive or muted ones. |
event list | VAST Data · VAST CLILists all events. |
alarm list | VAST Data · VAST CLILists the alarms and accepts filters. |
event log show | NetApp ONTAP 9 · ONTAP CLIEvent log, newest first; without options only emergency, alert and error events. |
system health alert show | NetApp ONTAP 9 · ONTAP CLIGenerated health alerts with resource, node, severity and probable cause. |
mmhealth node eventlog --hour | IBM Spectrum Scale 5.1.1 (out of support) · mmhealthHealth events of this node from the last hour. |
event-list | Hammerspace 5.3 · Admin CLILists system events; --severity and --from-date filter them. |
Acknowledge, mute or clear an alert 6
| Command | Platform and what it does |
weka alerts mute | WEKA · weka CLIMutes an alert type for a stated duration, after which it unmutes by itself. |
alarm clear | VAST Data · VAST CLIClears every alarm at once. |
system health alert modify -acknowledge | NetApp ONTAP 9 · ONTAP CLIMarks an alert as acknowledged. |
system health alert modify -suppress | NetApp ONTAP 9 · ONTAP CLIStops a following alert from counting against the health state of its subsystem. |
mmhealth event resolve out_of_memory | IBM Spectrum Scale 5.1.1 (out of support) · mmhealthMarks a manually solvable event as resolved, here out_of_memory. |
event-update | Hammerspace 5.3 · Admin CLIClears events: --clear with --all, --id, --type or a date range. |
Add a node, drive or storage target 6
| Command | Platform and what it does |
weka cluster drive add --pool auto | WEKA · weka CLIAdds drives and lets the cluster choose the pool for each one. |
mmaddnode -N k164n06:quorum-manager,k164n07:quorum | IBM Spectrum Scale 5.1.1 (out of support) · mmaddnodeAdds two quorum nodes, one also a manager node, with the guide's example names. |
mkfs.lustre --fsname=testfs --mgsnode=mds16@tcp0 --ost --index=12 /dev/sda | Lustre 2.x · mkfs.lustreFormats a new OST with an unused index for file system testfs. |
mount -t lustre /dev/sda /mnt/testfs/ost12 | Lustre 2.x · mountMounts the new OST on its object storage server. |
node-add | Hammerspace 5.3 · Admin CLIAdds a node to the system. |
volume-add | Hammerspace 5.3 · Admin CLIAdds a storage volume. |
Remove a node, drive or storage target 7
| Command | Platform and what it does |
weka cluster drive deactivate <disk-id> -f | WEKA · weka CLIDeactivates a drive that was replaced or permanently removed; from the action listed for an alert. |
mmdelnode -N k145n12,k145n13,k145n14 | IBM Spectrum Scale 5.1.1 (out of support) · mmdelnodeDeletes three nodes from the cluster, with the guide's example names. |
lctl set_param osp.testfs-OST0000-osc-MDT*.max_create_count=0 | Lustre 2.x · lctlStops new file creation on OST0000 before its files are moved (Lustre 2.9 and later). |
lfs find --ost ost_name /mount/point | lfs_migrate -y | Lustre 2.x · lfsMoves the files that have objects on that OST to other OSTs. |
lctl conf_param ost_name.osc.active=0 | Lustre 2.x · lctlPermanently deactivates the OST on the MDS and on all clients. |
node-remove | Hammerspace 5.3 · Admin CLIRemoves a node; a node that holds system services cannot be removed. |
volume-remove | Hammerspace 5.3 · Admin CLIRemoves a storage volume, decommissioning it first when its state requires that. |
Collect diagnostics for support 11
WEKA, VAST Data, IBM and Hammerspace build a bundle with one command. The ONTAP pages compared here send the data as an AutoSupport message, and the Lustre row only dumps the kernel debug log of one node.
| Command | Platform and what it does |
weka diags collect | WEKA · weka CLIGathers diagnostics of the whole cluster into one directory on the local container, without uploading. |
weka diags upload | WEKA · weka CLICollects from all containers and sends the result to the WEKA support cloud. |
weka local diags | WEKA · weka CLIDiagnostics of one server, for when it cannot reach the cluster leader. |
supportbundle create | VAST Data · VAST CLICreates a support bundle. |
supportbundle upload | VAST Data · VAST CLIUploads a bundle to the support bucket. |
system node autosupport invoke -node node0 -type test -message "Testing ASUP" | NetApp ONTAP 9 · ONTAP CLISends a test AutoSupport message from node0; -type all sends everything collected about the node. |
gpfs.snap | IBM Spectrum Scale 5.1.1 (out of support) · gpfs.snapCollects the default data from all nodes into a tar file for IBM service. |
gpfs.snap -N c34f2n03.gpfs.net,c13c1apv7.gpfs.net -d /tmp/snap_outdir | IBM Spectrum Scale 5.1.1 (out of support) · gpfs.snapLimits the collection to the named nodes and sets the output directory. |
lctl dk filename | Lustre 2.x · lctlWrites the Lustre kernel debug log of one node to a file. |
support-bundle | Hammerspace 5.3 · Admin CLICollects logs and information from the nodes chosen with --all, --current or --node. |
support-bundle --push --message "Case 12345, issue after failover" | Hammerspace 5.3 · Admin CLICollects the bundle and pushes it to the Support Center with a note. |
Upgrade the software 12
WEKA, VAST Data, ONTAP and Hammerspace start the upgrade of the cluster with one command. The Lustre manual installs packages server by server, and the IBM rows are the two steps that finish an upgrade.
| Command | Platform and what it does |
weka upgrade backends | WEKA · weka CLIRuns the upgrade with the CLI of the target version; --can-run only checks readiness. |
cluster run-upgrade-validations | VAST Data · VAST CLIRuns the pre-upgrade validations and reports errors on the command line. |
cluster upgrade --build-package /vast/bundles/release-<release number>-<pipeline number>.vast.tar.gz | VAST Data · VAST CLIUpgrades the cluster software from a package file placed in /vast/bundles on the management CNode. |
cluster image package get -url location | NetApp ONTAP 9 · ONTAP CLIFetches the new ONTAP image from a web address into the cluster's package repository. |
cluster image validate -version <package_version_number> | NetApp ONTAP 9 · ONTAP CLIRuns the automated pre-upgrade checks for that version. |
cluster image update -version <package_version_number> | NetApp ONTAP 9 · ONTAP CLIStarts the automated upgrade; -estimate-only prints an estimate instead. |
mmchconfig release=LATEST | IBM Spectrum Scale 5.1.1 (out of support) · mmchconfigAfter every cluster runs the new code, raises the release level of the cluster. |
mmchfs <fs> -V full | IBM Spectrum Scale 5.1.1 (out of support) · mmchfsThen moves a file system to the new format version; nodes on an older release can no longer mount it. |
yum --nogpgcheck install pkg1.rpm pkg2.rpm ... | Lustre 2.x · yumInstalls the new Lustre packages on a server or client; the package names are placeholders. |
mount -a -t lustre | Lustre 2.x · mountMounts the Lustre targets again, which restarts Lustre on the upgraded server. |
software-upload | Hammerspace 5.3 · Admin CLIUploads a software package; --package-location gives its path. |
software-apply | Hammerspace 5.3 · Admin CLIApplies a software version to all nodes or to one named node. |
Watch, pause or cancel an upgrade 7
| Command | Platform and what it does |
weka upgrade pause | WEKA · weka CLIPauses the cluster upgrade. |
weka upgrade resume | WEKA · weka CLIResumes a paused upgrade. |
cluster image show-update-progress | NetApp ONTAP 9 · ONTAP CLIShows how far the update has come, and the error when it stops. |
cluster image resume-update | NetApp ONTAP 9 · ONTAP CLIResumes an automated upgrade after the error is resolved. |
cluster image cancel-update | NetApp ONTAP 9 · ONTAP CLICancels the automated upgrade so that it can be finished by hand. |
software-update-status | Hammerspace 5.3 · Admin CLIShows the status of software updates; --last limits it to the most recent ones. |
software-update-cancel | Hammerspace 5.3 · Admin CLICancels the update task named with --task-id. |
No row matches that filter.
Notes
- WEKA rows are
weka commands from the CLI reference and the guides on docs.weka.io; the mount row runs on a Linux client. The pages compared here print no version number, and a few rows show the syntax line of the reference with its options in brackets.
- VAST Data rows are typed at the VAST CLI prompt, which the upgrade guide opens with
vcli on the management CNode. The mount rows run on a Linux client and configure_network.py runs on the VAST nodes; the network guide describes release 5.5.
- NetApp ONTAP rows are typed at the cluster prompt (
cluster1::>) of ONTAP 9. They come from the ONTAP 9 documentation and command reference; the volume row is from the NVA-1175 deployment guide for AFF A90 systems, which asks for ONTAP 9.16.1 or later.
- IBM rows are
mm commands and gpfs.snap, run as root on a cluster node. They come from the IBM Spectrum Scale 5.1.1 guides, a release that is out of support; the product is now named IBM Storage Scale, and newer releases may differ.
- Lustre rows come from the Lustre Software Release 2.x Operations Manual. The prompt in the manual tells where a command runs: on a client, on the MGS, on a metadata server (
mds#) or on an object storage server (oss#).
- Hammerspace rows are commands of the Admin CLI in release 5.3. The reference prints each one with its options; a row here shows the command name, and the description names the options that matter. The mount row runs on a Linux client.
- Host names, addresses, file system names and sizes inside a command are the vendor document's example values. Names in angle brackets or capitals are placeholders.