AI storage commands compared: WEKA, VAST Data, NetApp ONTAP, IBM Spectrum Scale (GPFS), Lustre and Hammerspace

How the same 16 day-to-day operating tasks are done on six parallel and scale-out file systems that sit behind GPU clusters: WEKA, VAST Data, NetApp ONTAP 9, IBM Spectrum Scale 5.1.1 (GPFS, now sold as IBM Storage Scale), Lustre 2.x and Hammerspace 5.3. Each vendor documents only its own command line; this page lines the command lines up task by task, from a health check to an upgrade. All commands are quoted from the products' own documentation. A product missing from a task had no command for it in the documents read here, which says nothing about whether it has the feature.

122 commands for 16 tasks on 6 platforms. Checked row by row against 30 vendor documents on . Edited by Jay.

Check the overall health of the cluster 8

CommandPlatform and what it does
weka statusWEKA · weka CLIPrints a status summary of the whole cluster.
weka status rebuildWEKA · weka CLIProgress of capacity being phased in or out, and the protection state per failure level.
system health status showNetApp ONTAP 9 · ONTAP CLIOne overall state: ok, ok-with-suppressed, degraded or unreachable.
system health subsystem showNetApp ONTAP 9 · ONTAP CLIHealth state of each subsystem that has a health monitor.
mmhealth cluster showIBM Spectrum Scale 5.1.1 (out of support) · mmhealthHealth of the cluster as a whole; a component name narrows it.
mmhealth node showIBM Spectrum Scale 5.1.1 (out of support) · mmhealthHealth status of the node the command runs on.
lfs check serversLustre 2.x · lfsStatus check of every metadata and object storage target of the file system.
system-viewHammerspace 5.3 · Admin CLISummary view of the whole system.

List the nodes, storage targets and drives 9

CommandPlatform and what it does
cnode listVAST Data · VAST CLILists the CNodes; the upgrade guide reads each node's OS version from it.
dnode listVAST Data · VAST CLIThe same list for the DNodes.
storage disk showNetApp ONTAP 9 · ONTAP CLIDrives and array LUNs with usable space, shelf, bay and owning node.
mmlsclusterIBM Spectrum Scale 5.1.1 (out of support) · mmlsclusterCluster configuration with the table of member nodes and their designations.
mmgetstate -a -LIBM Spectrum Scale 5.1.1 (out of support) · mmgetstateState of the GPFS daemon on every node, with quorum counts.
lctl dlLustre 2.x · lctlLists the Lustre devices on this node with number, name and UUID.
lfs ostsLustre 2.x · lfsEvery OST that belongs to the file system.
node-listHammerspace 5.3 · Admin CLIEvery node known to the system; --full prints more detail.
volume-listHammerspace 5.3 · Admin CLIStorage volumes of the system, as a summary or in detail.

Show capacity and free space 5

CommandPlatform 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 autoIBM Spectrum Scale 5.1.1 (out of support) · mmdfSpace on every disk of file system fs1, in units scaled for reading.
lfs df -hLustre 2.x · lfsSpace used and available per MDT and OST, in human-readable units.
lfs df -ihLustre 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.

CommandPlatform 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 roceNetApp 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 3NetApp ONTAP 9 · ONTAP CLISets the flow control of a port to PFC with priority queue 3.
vserver nfs modify -vserver <SVM_name> -rdma enabledNetApp ONTAP 9 · ONTAP CLITurns RDMA access on for the NFS server of a storage VM.
mmlsconfig | grep verbsRdmaIBM Spectrum Scale 5.1.1 (out of support) · mmlsconfigShows whether verbs RDMA is enabled in the cluster configuration.
mmfsadm test verbs statusIBM Spectrum Scale 5.1.1 (out of support) · mmfsadmShows whether verbs RDMA has started on this node.
mmfsadm test verbs connIBM 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,ib1Lustre 2.x · lnetctlAdds LNet network o2ib0, the InfiniBand driver, on interfaces ib0 and ib1.
lnetctl net show --verboseLustre 2.x · lnetctlShows the configured LNet networks in detail.
lctl list_nidsLustre 2.x · lctlLists the network identifiers (NIDs) of this node.

Create a file system or volume 6

CommandPlatform and what it does
weka fs addWEKA · 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 /homeNetApp 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 /gpfs1IBM 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/sdbLustre 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/sdcLustre 2.x · mkfs.lustreFormats the first object storage target and names the management node.
mount -t lustre /dev/sdb /mnt/mdtLustre 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.

CommandPlatform and what it does
mount -t wekafsWEKA · 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/vastVAST 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/vastVAST 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 -aIBM Spectrum Scale 5.1.1 (out of support) · mmmountMounts every GPFS file system on every node.
mmlsmount all -LIBM 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 /lustreLustre 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

CommandPlatform and what it does
weka fs quota setWEKA · weka CLISets a directory, user or group quota; --soft and --hard give the limits.
weka fs quota listWEKA · weka CLILists quotas; without options only the ones that are exceeded.
mmsetquota fs1 --user user234 --block 25G:30G --files 10K:11KIBM Spectrum Scale 5.1.1 (out of support) · mmsetquotaSets soft and hard limits for blocks and for files for one user.
mmrepquota -u -v fs2IBM 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/testfsLustre 2.x · lfsSets soft and hard block and inode limits for user bob.
lfs quota -u bob /mnt/testfsLustre 2.x · lfsShows the disk usage and limits of user bob.

Take a snapshot and list snapshots 6

CommandPlatform and what it does
weka fs snapshot addWEKA · weka CLICreates a snapshot; the file system and the snapshot name are required.
weka fs snapshotWEKA · weka CLILists snapshots; --filesystem limits the list to one file system.
mmcrsnapshot fs1 snap1IBM Spectrum Scale 5.1.1 (out of support) · mmcrsnapshotSnapshot snap1 of the whole file system fs1, which the guide calls a global snapshot.
mmlssnapshot fs1IBM Spectrum Scale 5.1.1 (out of support) · mmlssnapshotLists the snapshots that exist in fs1.
lctl snapshot_createLustre 2.x · lctlCreates a snapshot; run on the MGS with -F for the file system and -n for the name.
lctl snapshot_listLustre 2.x · lctlLists the snapshots of a file system, also on the MGS.

Show performance statistics 7

CommandPlatform and what it does
weka statsWEKA · weka CLIPrints the statistics that match the given filters, one row per statistic and sample.
weka stats realtimeWEKA · weka CLIPerformance figures that are refreshed every second.
mmperfmon query compareNodes cpu_userIBM Spectrum Scale 5.1.1 (out of support) · mmperfmonCompares the cpu_user metric across the nodes.
lctl get_param llite.*.statsLustre 2.x · lctlClient-side statistics of all mounted Lustre file systems.
lctl get_param mdt.*.job_statsLustre 2.x · lctlMetadata operation statistics per job, read on a metadata server.
lnetctl stats showLustre 2.x · lnetctlLNet traffic statistics.
metric-listHammerspace 5.3 · Admin CLILists metric samples; --field names the table and column, for example network.bytesSent.

Read events and alerts 8

CommandPlatform and what it does
weka eventsWEKA · 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 listVAST Data · VAST CLILists all events.
alarm listVAST Data · VAST CLILists the alarms and accepts filters.
event log showNetApp ONTAP 9 · ONTAP CLIEvent log, newest first; without options only emergency, alert and error events.
system health alert showNetApp ONTAP 9 · ONTAP CLIGenerated health alerts with resource, node, severity and probable cause.
mmhealth node eventlog --hourIBM Spectrum Scale 5.1.1 (out of support) · mmhealthHealth events of this node from the last hour.
event-listHammerspace 5.3 · Admin CLILists system events; --severity and --from-date filter them.

Acknowledge, mute or clear an alert 6

CommandPlatform and what it does
weka alerts muteWEKA · weka CLIMutes an alert type for a stated duration, after which it unmutes by itself.
alarm clearVAST Data · VAST CLIClears every alarm at once.
system health alert modify -acknowledgeNetApp ONTAP 9 · ONTAP CLIMarks an alert as acknowledged.
system health alert modify -suppressNetApp ONTAP 9 · ONTAP CLIStops a following alert from counting against the health state of its subsystem.
mmhealth event resolve out_of_memoryIBM Spectrum Scale 5.1.1 (out of support) · mmhealthMarks a manually solvable event as resolved, here out_of_memory.
event-updateHammerspace 5.3 · Admin CLIClears events: --clear with --all, --id, --type or a date range.

Add a node, drive or storage target 6

CommandPlatform and what it does
weka cluster drive add --pool autoWEKA · weka CLIAdds drives and lets the cluster choose the pool for each one.
mmaddnode -N k164n06:quorum-manager,k164n07:quorumIBM 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/sdaLustre 2.x · mkfs.lustreFormats a new OST with an unused index for file system testfs.
mount -t lustre /dev/sda /mnt/testfs/ost12Lustre 2.x · mountMounts the new OST on its object storage server.
node-addHammerspace 5.3 · Admin CLIAdds a node to the system.
volume-addHammerspace 5.3 · Admin CLIAdds a storage volume.

Remove a node, drive or storage target 7

CommandPlatform and what it does
weka cluster drive deactivate <disk-id> -fWEKA · weka CLIDeactivates a drive that was replaced or permanently removed; from the action listed for an alert.
mmdelnode -N k145n12,k145n13,k145n14IBM 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=0Lustre 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 -yLustre 2.x · lfsMoves the files that have objects on that OST to other OSTs.
lctl conf_param ost_name.osc.active=0Lustre 2.x · lctlPermanently deactivates the OST on the MDS and on all clients.
node-removeHammerspace 5.3 · Admin CLIRemoves a node; a node that holds system services cannot be removed.
volume-removeHammerspace 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.

CommandPlatform and what it does
weka diags collectWEKA · weka CLIGathers diagnostics of the whole cluster into one directory on the local container, without uploading.
weka diags uploadWEKA · weka CLICollects from all containers and sends the result to the WEKA support cloud.
weka local diagsWEKA · weka CLIDiagnostics of one server, for when it cannot reach the cluster leader.
supportbundle createVAST Data · VAST CLICreates a support bundle.
supportbundle uploadVAST 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.snapIBM 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_outdirIBM Spectrum Scale 5.1.1 (out of support) · gpfs.snapLimits the collection to the named nodes and sets the output directory.
lctl dk filenameLustre 2.x · lctlWrites the Lustre kernel debug log of one node to a file.
support-bundleHammerspace 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.

CommandPlatform and what it does
weka upgrade backendsWEKA · weka CLIRuns the upgrade with the CLI of the target version; --can-run only checks readiness.
cluster run-upgrade-validationsVAST 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.gzVAST Data · VAST CLIUpgrades the cluster software from a package file placed in /vast/bundles on the management CNode.
cluster image package get -url locationNetApp 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=LATESTIBM 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 fullIBM 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 lustreLustre 2.x · mountMounts the Lustre targets again, which restarts Lustre on the upgraded server.
software-uploadHammerspace 5.3 · Admin CLIUploads a software package; --package-location gives its path.
software-applyHammerspace 5.3 · Admin CLIApplies a software version to all nodes or to one named node.

Watch, pause or cancel an upgrade 7

CommandPlatform and what it does
weka upgrade pauseWEKA · weka CLIPauses the cluster upgrade.
weka upgrade resumeWEKA · weka CLIResumes a paused upgrade.
cluster image show-update-progressNetApp ONTAP 9 · ONTAP CLIShows how far the update has come, and the error when it stops.
cluster image resume-updateNetApp ONTAP 9 · ONTAP CLIResumes an automated upgrade after the error is resolved.
cluster image cancel-updateNetApp ONTAP 9 · ONTAP CLICancels the automated upgrade so that it can be finished by hand.
software-update-statusHammerspace 5.3 · Admin CLIShows the status of software updates; --last limits it to the most recent ones.
software-update-cancelHammerspace 5.3 · Admin CLICancels the update task named with --task-id.

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.

Sources and checks

Documents retrieved on .

Rows checked on .

Report a wrong or missing command · How we verify