8. Command Reference
Unless noted otherwise, all list/get commands are read-only and safe to run at any time.
8.1 realm
Alias: rlm. The realm is the VDURA cluster as a whole; there is only one, so this group has a single, argument-free verb.
| Command | Purpose |
|---|---|
realm get |
Show realm-wide state and configuration |
panctl realm get
panctl realm get -o 'jsonpath={.realm.state}'Requires the platform-admin role. Fields include state, locked, clientmode_current, heartbeat_period_seconds, volume_max_vols_realm, and more.
8.2 nodes
Aliases: node, no, n. Physical/virtual Storage Nodes in the realm, identified by their dataserial (not a name).
| Command | Purpose |
|---|---|
nodes list |
List all nodes |
nodes get <dataserial> |
Show one node’s details |
nodes reboot <dataserial> |
Reboot a node (asks for confirmation) |
nodes drain <dataserial> |
Start draining a node, which migrates every object off it (asks for confirmation) |
nodes get-drain <dataserial> |
Show a node’s drain progress |
nodes stop-drain <dataserial> |
Stop a drain that is already running |
$ panctl nodes list
NAME DATASERIAL SHELF ID IP ADDRESS STATUS ROLE STORAGESET ID CAPACITY BYTES
ASD-1,1 485f0d3e72327a 3e7f0001402001001 10.97.26.200 online qnode 0 0
VCH-1,2 c9f82187c13675 3e7e0004404001001 10.97.26.246 online vosd 1 61891149824
panctl nodes get 109a58fc3162ef
panctl nodes reboot 109a58fc3162ef
panctl nodes drain 109a58fc3162ef
panctl nodes get-drain 109a58fc3162ef -o jsonpath='{.state}'Notes:
NAMEis the first column and is the identifier that alerts carry in theirnode_namelabel, so it takes you from a firing alert to a node. Rows are sorted by name, with digit runs compared numerically, soASD-1,2comes beforeASD-1,10. This is the one list that sorts its rows;--format jsonkeeps the API’s order.- A node is addressed by its
dataserialonly because the name is not accepted as an argument. - A
STORAGESET IDof0means the node isn’t assigned to a StorageSet yet. rebootanddrainask for confirmation, and--yesskips it.stop-draindoes not ask.- The
drainprompt readsEvery object on the node is migrated elsewhere, which can take hours.followed byDrain node <dataserial>? [y/N]:. get-drainreports astateofdraining,not_draining,suspended, orunknown. Wait on it with--wait-for=not_draining(see 5.9). Do not write.state==/draining/as a filter becausenot_drainingalso contains that word; see 5.8.drainis the most disruptive operation PanCTL exposes. It can take hours, and re-running it does not undo it; usestop-drainto cancel andget-drainto follow progress.get-drainreports the state, the bytes and objects moved, the rate, the percent complete, and an estimated time of arrival. A node that is not draining has no progress to report, and the API answers409instead of an empty result.
8.3 storagesets
Aliases: storageset, ss, s. Pools of nodes that back tenant capacity and volumes.
| Command | Purpose |
|---|---|
storagesets list |
List all StorageSets |
storagesets get <id> |
Show one StorageSet |
storagesets create --name <name> [--spares-requested <n>] |
Create a StorageSet |
storagesets update <id> -f <file> |
Update a StorageSet |
storagesets delete <id> |
Delete a StorageSet (asks for confirmation) |
storagesets add-storage --storageset-id <id> --dataserials <a,b,c> [--mode add_spare\|migration] [--spares-requested <n>] |
Add nodes to a StorageSet (--spares-requested is required in the default add_spare mode and not allowed with --mode migration) |
panctl storagesets create --name "Demo Set" --spares-requested 4
panctl storagesets get 4
panctl storagesets add-storage --storageset-id 4 \
--dataserials 109a58fc3162ef,3f8889d66162f5 --spares-requested 2
panctl storagesets delete 4Notes:
A StorageSet is addressed by its name or its integer ID. In
list, theSTATUScolumn is the worst active condition of the set.storagesets getalso reads the set’s space and shows it with the other fields, so capacity is available in JSON as{.storageset.space.usable.free}. If the space read fails, the set is still shown without those fields and the reason goes to standard error.--modedefaults toadd_spare, and in that mode--spares-requestedis required; use0to keep the current spare count. With--mode migration,--spares-requestedis not allowed, and PanCTL refuses it before sending anything.--dataserialscannot be left empty onadd-storage; PanCTL refuses an empty list. Always name the nodes. Add only unassigned nodes whose role isvhost,vosd, orsnode; other roles, such asqnode, are refused. On a realm that runs on virtual hosts, list thevhostnodes, and their VPODs join with them.add-storagereturns immediately, but absorbing new nodes into the set happens asynchronously in the background and takes about 15 minutes. A vhost adds its capacity later because each of its VPODs joins after it installs and boots. Wait on the node count to confirm completion (see 5.9):panctl storagesets get 4 -o 'jsonpath={.storageset.nodes_total}' --wait-for='it >= 6' --wait-timeout=60m
8.4 tenants
Aliases: tenant, tn, tx, t. Tenants are the isolation boundary for users, capacity, and volumes.
| Command | Purpose |
|---|---|
tenants list |
List all tenants |
tenants get <tenant_id> |
Show one tenant |
tenants create --name <name> --display-name <label> --email <addr> [--auth-mode local\|pam] [--pam-service <service>] [--description <text>] |
Create a tenant |
tenants update <tenant_id> -f <file> |
Update a tenant |
tenants delete <tenant_id> |
Delete a tenant (asks for confirmation; does not cascade, see the note below) |
tenants assign-storagesets --tenant <ref> --storageset-id <id> --quota <size> |
Grant/resize a tenant’s capacity in a StorageSet |
tenants unassign-storagesets --tenant <ref> --storageset-id <id> |
Remove a tenant’s access to a StorageSet |
tenants list-storagesets --tenant <ref> |
List StorageSets assigned to a tenant |
tenants get-storageset --tenant <ref> --storageset-id <id> |
Show one tenant/storage-set assignment |
panctl tenants create --name fintech --display-name FinTech --email admin@fintech.example.com
panctl tenants assign-storagesets --tenant fintech --storageset-id 4 --quota 10GB
panctl tenants list-storagesets --tenant fintech
panctl tenants delete <tenant_id>Notes:
- Multi-tenancy is not supported on InfiniBand.
tenants createis refused with a409 Conflicton a realm whose clients connect over InfiniBand because tenant isolation needs VLAN or VXLAN encapsulation. Ethernet realms are not affected, and a realm that already runs without tenants is unchanged. --tenantaccepts either the tenant’s UUID or its name; PanCTL resolves names for you. The argument ofget,update, anddeletetakes the same reference, but the display name never matches.--short-namewas removed when the API renamed the field. Using it exits2with a message saying to use--namefor the short identifier and--display-namefor the human label.--pam-service(defaultlogin) applies only with--auth-mode pam, and giving it with--auth-mode localis an error.--nameis 3–10 alphanumeric characters and cannot be changed after creation.--display-nameis the human-readable label.assign-storagesetsacts as an “upsert”: if the tenant already has capacity in that StorageSet, this call resizes the quota instead of failing.tenants deletedoes not cascade. The API refuses with409(for example, “Cannot delete tenant while it still owns subnets”) until the tenant’s S3 instances, volumes, and subnets are removed, in that order:s3 instances delete-all, thenvolumes deletefor each volume, thensubnets deletefor each subnet. A StorageSet assignment does not block the delete. Deleting a volume needs a session for the tenant, as creating one does. The command asks for confirmation first, and--yesskips the prompt. The confirmation text describes the deletion as cascading, but the refusal above is what the API does.
8.5 volumes
Aliases: volume, vol, v. File-system volumes within your own tenant.
| Command | Purpose |
|---|---|
volumes list [--tenant <ref> \| --all-tenants] |
List volumes |
volumes get <volume_id> [--tenant <ref>] |
Show one volume |
volumes create --name <path> --storageset-id <id> --hard-quota <size> [options] |
Create a volume |
volumes update <volume_id> -f <file> |
Update quotas, recovery priority, and other settings |
volumes rename <volume_id> -f <file> |
Rename (change the path of) a volume |
volumes delete <volume_id> |
Delete a volume (asks for confirmation) |
panctl volumes list --tenant fintech
panctl volumes list --all-tenants
panctl volumes create --name /data --storageset-id 1 --hard-quota 10GiB \
--soft-quota 8GiB --raid-type raid5+ --recovery-priority 1
echo '{"new_pathname":"/archive/volume1"}' | panctl volumes rename 3 -f -
echo '{"hard_quota_bytes":21474836480}' | panctl volumes update 3 -f -
panctl volumes delete 3create options:
| Flag | Notes |
|---|---|
--name <path> |
Required. A leading / is added automatically if missing. |
--storageset-id <id> |
Required. |
--hard-quota <size> |
Required by PanCTL (even though the API treats it as optional) so a limit is always chosen deliberately. A volume in a tenant needs a value greater than 0; the API returns 400 otherwise, so 0 is not a way to create an unlimited tenant volume. |
--soft-quota <size> |
Optional. 0 means unlimited. |
--raid-type <layout> |
Optional, cannot be changed after creation. |
--efsa-mode <mode> |
Optional. |
--recovery-priority <0-100> |
Optional; lower number = higher priority. |
--ignore-limits |
Optional. Platform tenant only. Acts without the limits the StorageSet assignment imposes, so no assignment needs to exist, no quota ceiling applies, and free space is not checked. --storageset-id is still required. volumes update takes the same flag. |
Notes:
- A volume is addressed by its path or its integer ID.
volumes getalso shows used and free space, available in JSON as{.volume.space.used_bytes}. - On
list,--tenantfilters to one tenant and--all-tenantsshows every tenant’s volumes and adds aTENANT IDcolumn. The two cannot be combined (exit2). Both belong to the platform tenant, and the API refuses them for any other caller. With neither, the API scopes the list by your role. volumes createalways creates the volume in your own tenant; there’s no--tenantflag on this command.- When the API refuses a volume request because your tenant has no StorageSet assignment, PanCTL prints a hint after the refusal that names
--ignore-limits.ignore_limitsis a query parameter, not a request field, so putting it in a-fbody is refused before anything is sent. - Before creating a volume, make sure that the target StorageSet has enough online capacity for the chosen RAID layout, your tenant has capacity assigned there (see
tenants assign-storagesets), and your tenant has a subnet with an available address. renameonly changes the volume’s path;updatechanges everything else (quotas, priority) but not the path or RAID type.
8.6 subnets
Aliases: subnet, sub, sn. Per-tenant IP address ranges used by clients to reach volumes, plus their client attachments.
| Command | Purpose |
|---|---|
subnets list [--tenant <ref>] |
List subnets. Without --tenant the list is realm-wide; with it, only that tenant’s subnets. |
subnets get <subnet> --tenant <ref> |
Show one subnet |
subnets create --tenant <ref> --name <name> --cidr <addr/prefix> [options] |
Create a subnet |
subnets update <subnet> --tenant <ref> [options] |
Update a subnet |
subnets delete <subnet> --tenant <ref> |
Delete a subnet (asks for confirmation) |
subnets mount-info <subnet> --tenant <ref> |
Show which Directors a client on this subnet mounts to |
subnets segment-type get |
Show the realm-wide network segment type (vlan, vxlan, or none) |
subnets segment-type set <vlan\|vxlan> |
Set the realm-wide network segment type |
subnets attachments list <subnet> --tenant <ref> |
List client attachments on a subnet |
subnets attachments get <subnet> <attachment_id> --tenant <ref> |
Show one attachment |
subnets attachments create <subnet> --tenant <ref> --underlay-ip <ip> [options] |
Attach a client |
subnets attachments delete <subnet> <attachment_id> --tenant <ref> |
Remove an attachment (asks for confirmation) |
panctl subnets create --tenant fintech --name fintech-net --cidr 10.71.0.0/16 \
--gateway 10.71.255.254 --mtu 9000 --range-start 10.71.0.1 --range-end 10.71.1.255
panctl subnets mount-info fintech-net --tenant fintech
panctl subnets attachments create fintech-net --tenant fintech --underlay-ip 10.128.9.0 --hostname client01
panctl subnets update fintech-net --tenant fintech --mtu 1500
panctl subnets delete fintech-net --tenant fintechNotes:
- Size your CIDR generously; use at least a
/16for a tenant subnet, not a/24. Internal addressing places storage-node addresses 256 addresses into the range, and a/24will silently strand them with no error message. - A subnet is addressed by its name or its UUID.
- Every scoped subnet route names its tenant in the path, so
--tenantis required on every subnet command exceptlist.--all-tenantswas removed fromsubnets listand exits2with a message saying so. --as-tenant-admindoes not help on subnets and actively hurts; no tenant role holds a grant on them, so switching into the tenant loses the access.subnets attachments createneeds--underlay-ipunless-fsupplies it.--hostnameis informational only and is never interpreted. Omit--overlay-ipto let the backend allocate the tenant network address; it applies on first attach only, so repeating a create never moves a host. Flags override the matching fields of an-fdocument. The response is the full attachment, and on a tunnelled segment it carries the tunnel details the host needs (MAC address, UDP port, and VTEP flood list).subnets attachments listtakes--underlay-ip <ip>to show only the attachment with that underlay address; the filter is applied by the API.subnets mount-infoand theattachmentscommands need a platform role. A tenant administrator gets a permissions error, andmount-infoalso fails through--as-tenant-admin. Thermlistin themount-infooutput is ready to use as themount_panfsoption.--cidris the PanCTL spelling of two API fields, the base address and the prefix length, so the pair travels as one value.--segment-id,--tunnel-udp-port, and--addr-externalcan only be set at creation time.subnets updatetakes--name,--gateway,--mtu,--range-start, and--range-end, and the flags only set values. To clear a field, such as removing the gateway, pass-fwithnullfor it, for example{"gateway":null}.--mtu 0selects the platform default. An update with no flags and no-fis refused before anything is sent.- The realm, not any one subnet, owns the segment type, which decides what
--segment-idmeans onsubnets create, which is a VLAN ID undervlanand a VNI undervxlan.segment-type getcan answernone, meaning the realm names no segment type. That is a state, not an error, andsubnets createagainst such a realm is refused with a reason.segment-type settakesvlanorvxlan;nonecan be read but not set, so a realm cannot be put back into that state.
8.7 users
Aliases: user, us, u. Human user accounts.
Tenant users are not fully supported in this release. The API and PanCTL accept
--tenanton these commands, and a tenant user signs in as<tenant-name>/<username>. Vantage, however, manages users only in the Platform area, and a tenant has no sign-in of its own there. To administer a tenant, use a platform administrator with--as-tenant-admin(see 5.1) instead.
| Command | Purpose |
|---|---|
users list [--tenant <ref>] |
List users in a tenant |
users get <user_id> [--tenant <ref>] |
Show one user |
users create --tenant <ref> --username <name> [options] |
Create a user |
users update <user_id> --tenant <ref> [--display-name <label>] [-f <file>] |
Update a user |
users delete <user_id> --tenant <ref> |
Delete a user (asks for confirmation) |
users get-roles --user <id> --tenant <ref> |
Show a user’s roles |
users set-roles --user <id> --tenant <ref> --roles <a,b> |
Replace a user’s roles (asks for confirmation) |
panctl users create --tenant fintech --username jsmith --email jsmith@fintech.example.com
printf '%s' "$PW" | panctl users create --tenant fintech --username alice --password-stdin
panctl users set-roles --user <user_id> --tenant fintech --roles platform-read-only
panctl users get-roles --user <user_id> --tenant fintech
panctl users delete <user_id> --tenant fintechcreate options:
| Flag | Notes |
|---|---|
--username <name> |
Required unless -f supplies it. 1 to 255 characters, no whitespace, unique within the tenant. |
--display-name <label> |
Optional human label. |
--email <addr> |
Optional contact email. |
--auth-mode local\|pam |
Optional; the default is local. |
--pam-service <service> |
Optional; the default is login, and it applies only with --auth-mode pam. |
--password <value> |
The password on the command line. It is visible in the process listing and your shell history. |
--password-stdin |
Read the password from standard input. Cannot be combined with --password. |
Notes:
- Never pass a password as a flag. Pipe it with
--password-stdin, or letcreateprompt for it. The password sources are tried in the order--password,--password-stdin, apasswordalready in the-fdocument, and then an interactive prompt. A-f-only invocation never prompts. --useronget-rolesandset-rolesis a required flag that takes the user’s UUID, not the username, even thoughusers get <username>accepts the name.- If
--tenantis omitted, PanCTL infers it from the tenant-name prefix of your own logged-in username. It’s safer to always pass--tenantexplicitly in scripts. set-rolesreplaces the entire role set, it does not add to it. Pass--roles ''to revoke all roles from a user.platform-admin,platform-read-only, andstorage-adminare the platform roles; see 8.9 for what each allows. A tenant defines its own roles, such as theadminrole of a tenant user, and tenant roles are not fully supported in this release.
8.8 service-accounts
Alias: sa. Non-human accounts intended for automation, scoped to the platform rather than a tenant.
| Command | Purpose |
|---|---|
service-accounts list |
List service accounts |
service-accounts get <id> |
Show one service account |
service-accounts create --name <name> [--display-name <name>] [--description <text>] |
Create a service account |
service-accounts update <id> [options] |
Update display name/description |
service-accounts delete <id> |
Delete a service account (asks for confirmation) |
service-accounts get-roles --service-account <id> |
Show a service account’s roles |
service-accounts set-roles --service-account <id> --roles <a,b> |
Replace a service account’s roles (asks for confirmation) |
service-accounts tokens create --service-account <id> --name <label> --expires-in-days <n> [--description <text>] |
Mint an API token for the service account |
service-accounts tokens list --service-account <id> [--active-only] |
List a service account’s tokens |
service-accounts tokens revoke <token_id> --service-account <id> [--reason <text>] |
Revoke a token (asks for confirmation) |
panctl service-accounts create --name ci-runner --display-name "CI Runner"
panctl service-accounts set-roles --service-account ci-runner --roles storage-admin
TOKEN=$(panctl service-accounts tokens create --service-account ci-runner --name ci --expires-in-days 90 -o jsonpath='{.token}')
PANCTL_API_SERVER=<server> panctl auth whoami --token "$TOKEN"Notes:
- A service account is addressed by its name or its UUID, both as the argument of
get,update, anddeleteand in the--service-accountflag. The display name never matches. - Deleting a service account stops every token issued to it immediately.
- A service account’s
--nameis immutable after creation; only display name and description can be updated. - Available roles:
platform-admin,platform-read-only, andstorage-admin. See 8.9 for what each one allows. - This is the recommended pattern for giving an automation pipeline its own credentials, separate from any individual administrator’s login.
8.9 roles
Aliases: role, ro, r. A read-only catalogue of what each role is permitted to do.
A user or service account holds one or more of these three platform roles. Tenant roles, defined per tenant, are not fully supported in this release (see the note in 8.7):
| Role | What it allows |
|---|---|
platform-admin |
Full control. Create, update, and delete every resource (tenants, users, service accounts, StorageSets, volumes, S3 configuration, and more), change role assignments, and switch into a tenant. |
platform-read-only |
List and view every resource, and create or delete API tokens. |
storage-admin |
Everything platform-read-only allows, plus create, update, delete, and run actions on StorageSets and volumes. |
| Command | Purpose |
|---|---|
roles list |
Show all roles and their permitted actions |
$ panctl roles list
ROLE RESOURCE ACTIONS
platform-admin volumes list, view, create, update, delete, action
...
platform-read-only volumes list, view
...
storage-admin volumes list, view, create, update, delete, action
...
The sample output is abbreviated; the command lists every resource for every role, one row per role and resource pair.
Useful for confirming exactly what a role grants before assigning it to a user or service account.
8.10 s3
The S3-compatible object gateway. Some commands are realm-wide (platform administrators only) and some are per-tenant (--tenant <ref>).
For a walkthrough that sets up S3 from a new tenant to a working client, see Chapter 11.
Realm-wide configuration:
| Command | Purpose |
|---|---|
s3 enabled get/s3 enabled set <true\|false> |
Enable or disable the S3 gateway realm-wide |
s3 prefix get/s3 prefix set <path> |
View or set the realm-wide path prefix |
Per-tenant configuration:
panctl s3 create-config --tenant fintech --prefix /vol1/fintech
panctl s3 get-config --tenant fintech
panctl s3 set-config --tenant fintech --enabled true --prefix /vol1/fintech \
--owner uid:1000 --group gid:1000 --dir-mode 0755 --obj-mode 0644
panctl s3 aggregator on --tenant fintech
panctl s3 dns external --tenant fintech
panctl s3 tls renew --tenant fintech
panctl s3 delete-config --tenant fintechcreate-config and set-config take the same field flags, or a JSON body with -f <file|->:
| Flag | Sets |
|---|---|
--enabled <true\|false> |
Whether S3 is enabled for the tenant |
--prefix <path> |
The path S3 serves. It must name an existing volume of the tenant, or a directory inside one. |
--owner <uid> and --group <gid> |
The default POSIX owner and group for objects: a number, optionally written uid:<n> or gid:<n> |
--dir-mode <mode> and --obj-mode <mode> |
The default permission modes for directories and objects: three or four octal digits, such as 0755 and 0644 |
--access-log <true\|false> |
Whether the S3 access log is enabled |
--debug-log <true\|false> |
Whether the S3 debug request log is enabled |
--metrics-enabled <true\|false> |
Whether S3 metrics are collected |
aggregator ongives the tenant one stable address, served by the Directors, in front of every started instance.aggregator off(the default for a new configuration) leaves clients with the per-instance endpoints only. Neither is needed for reachability.dnsisoff(the default, nothing published),panfs(the realm publishes the records; platform tenant only, and the API refuses it for any other tenant), orexternal(you run your own DNS and supply the certificate).tls renewworks only when the tenant’s TLS mode isrealm-generated. For atenant-providedcertificate it returns409; write a newtlsblock withset-config -finstead. Renewing does not restart running instances.
Instances (gateway processes running on specific nodes, identified by an instance ID iid):
panctl s3 instances list --tenant fintech
panctl s3 instances get abc12 --tenant fintech
panctl s3 instances create abc12 <dataserial> --tenant fintech
panctl s3 instances start abc12 --tenant fintech
panctl s3 instances start-all --tenant fintech
panctl s3 instances stop abc12 --tenant fintech
panctl s3 instances stop-all --tenant fintech
panctl s3 instances delete abc12 --tenant fintech
panctl s3 instances delete-all --tenant fintech --yes- A
startdoes not restart an instance that is already started. To restart one, stop it, wait forstopped, and then start it. start,stop,start-all,stop-all, anddeleterecord the new desired state and return without waiting. Read theobservedstate withinstances getuntil it matches, or add--wait-for-observed <state>(for examplerunningorstopped) toinstances getto wait for it.- When an instance ID runs on more than one node,
get,start,stop, anddeleteact on every node.--dataserial <serial>narrows the command to one node. An empty--dataserialis an error. deleteon an instance ID that runs on more than one node is refused (409, with a preview of the matches) unless you add--confirm-fanout.delete-allremoves every instance of the tenant.- Every instance listens on port 3000.
instances getshows each instance’sendpoint, for examplehttps://192.168.79.51:3000.
Buckets:
panctl s3 buckets create archive-2026 --owner alice --tenant fintech
panctl s3 buckets list --tenant fintech
panctl s3 buckets delete archive-2026 --tenant fintech
panctl s3 buckets delete-policy archive-2026 --tenant fintechdelete-policyis the recovery for a bucket whose owner is locked out by its own policy. Once a bucket has a policy it is the only authority on the S3 API, so an owner whose policy omitss3:DeleteBucketPolicycannot remove it there. The policy is removed, not replaced; the bucket returns to the profile baseline, under which its owner has full control again and can apply a new policy over the S3 API. It asks for confirmation because the policy document cannot be recovered. A bucket with no policy is a success, so after a504or a timeout you can simply repeat the request.A bucket belongs to a PanFS user, named by that user’s S3 access key (see 8.11). Bucket commands are answered by a running gateway instance, so without one they return
503, and the list is never shown as empty.A
504oncreateordeletemeans the bucket may exist or may have been deleted, so check withbuckets listbefore you retry.buckets deleteis refused with409while the bucket still holds objects. Empty it over the S3 API first.
Notes:
- Destructive commands (
s3 instances delete,s3 instances delete-all,s3 buckets delete, ands3 delete-config) ask for confirmation. Pass--yes(or-y) to proceed without prompting. - S3 secrets are read and rotated with
fs-users s3-secretandfs-users rotate-s3-secret(see 8.11). Thes3 credentialscommands are no longer part of PanCTL. Both fs-users commands print the secret in plain text, so handle the output carefully. - The gateway’s port range no longer exists, and
s3 port-rangeis no longer a command.
8.11 fs-users
Aliases: fs-user, fsu. A tenant’s PanFS (data-plane) users. A PanFS user never signs in and holds no roles. It exists so the tenant’s S3 gateway has a record to resolve a signed request onto, and it carries the POSIX identity (uid and gid) that S3 requests act under. This group is also where a tenant’s S3 credentials are read and rotated, and where a bucket’s owner comes from.
| Command | Purpose |
|---|---|
fs-users list |
List the tenant’s PanFS users, with the ID and S3 access key of each |
fs-users get <fs_user_id> |
Show one PanFS user |
fs-users create --name <name> [--uid <n>] [--gid <n>] [--s3-profile <profile>] [--access-key <key>] |
Create a PanFS user |
fs-users update <fs_user_id> [--uid <n>] [--gid <n>] [--s3-profile <profile>] [--access-key <key>] |
Change a PanFS user |
fs-users delete <fs_user_id> |
Delete a PanFS user (asks for confirmation; --yes skips it) |
fs-users s3-secret <fs_user_id> |
Show the user’s S3 access key and secret |
fs-users rotate-s3-secret <fs_user_id> |
Mint a new S3 secret |
Every command takes --tenant <ref>.
panctl fs-users create --tenant fintech --name alice --uid 2001 --gid 2001 --s3-profile privileged
panctl fs-users list --tenant fintech
panctl fs-users s3-secret <fs_user_id> --tenant fintech
panctl fs-users rotate-s3-secret <fs_user_id> --tenant fintechNotes:
--s3-profileisuser(the default; works with the buckets it owns),privileged(also creates its own buckets over S3), ordisabled(the credential is kept, but the gateways reject it).- The access key defaults to the user’s name, and
fs-users listshows it.--access-keysets a different one oncreateorupdate. It is the values3 buckets create --ownertakes. - The secret is not printed when the user is created; read it with
s3-secret.rotate-s3-secretkeeps the access key, prints the new secret once, and stops the old secret from working (a gateway can keep accepting the old one for a short time). - Deleting a PanFS user does not delete its buckets.
8.12 events
Aliases: ev, e. Recent system events (read-only).
panctl events list
panctl events list --limit 25
panctl events list --tenant fintech
panctl events list --all-tenantsShows up to 200 of the most recent events (--limit accepts 1–200); this is the exact same feed shown in the web UI. The default columns are TIME, SEVERITY, CATEGORY, EVENT_CODE, and MESSAGE; with --all-tenants, a TENANT_ID column comes first. The rest of each event appears in --format json.
--tenant narrows to one tenant and --all-tenants widens to every tenant; the two cannot be combined. Both belong to the platform tenant, and the API refuses any other caller that passes either, even one naming its own tenant. With neither flag you read your own tenant’s events. For the platform tenant, that is the realm’s own telemetry, so --all-tenants is what reaches the events that tenants own. The profile’s stored tenant is deliberately not consulted.
8.13 alerts
Alias: al. Currently active alerts (read-only).
panctl alerts list
panctl alerts list --tenant fintech
panctl alerts list --all-tenantsThis shows a live snapshot of active alerts (not a historical log), the same set that drives the alert badge in the web UI. There is nothing to page or limit because the set is whatever is active.
--tenant and --all-tenants scope the read the same way they do on events and audit; both belong to the platform tenant, and with neither flag you read your own tenant’s alerts, which for the platform tenant is the realm’s own health.
8.14 audit
Aliases: aud, ad. The administrative audit log (read-only).
panctl audit list
panctl audit list --tenant fintech --since 2h
panctl audit list --user <user_id> --only create,delete
panctl audit list --since 2026-09-04T22:00:00Z --until 2026-09-04T23:59:59Z
panctl audit get <request_id>| Flag | Purpose |
|---|---|
--tenant <ref> |
Filter to one tenant |
--all-tenants |
Include every tenant’s records. Cannot be combined with --tenant. |
--user <user> |
Filter to one user, by username or UUID. A username needs a single tenant in scope, so pass a UUID together with --all-tenants. |
--only <a,b>/--skip <a,b> |
Include or exclude specific action types. They can be combined, and --skip wins where they overlap. An action name that does not exist matches nothing. |
--since/--until |
Time bounds, both inclusive. Relative means that long ago, built from the units d, h, m (minutes), and s, for example 2h, 2d, or 2h30m. Absolute is RFC-3339, with a Z or a numeric offset, or a bare date such as 2026-09-05, which is read as UTC. |
--limit <n> |
Maximum records to return (no upper cap, unlike events) |
As on events and alerts, --tenant and --all-tenants belong to the platform tenant, and with neither flag you read your own tenant’s records. --only, --skip, --since, and --until narrow the records on the appliance, before the window of recent records is applied. audit list returns a window of recent records with no pagination, and --limit resizes that window.
The default audit list columns are TIME, REQUEST_ID, PRINCIPAL_TYPE, PRINCIPAL_NAME, CLIENT_IP, ACTION, RESOURCE, TARGET_ID, and RESULT. PRINCIPAL_NAME is written as <tenant>/<name>. The other fields of each record, such as the status code, durations, and request body, appear in --format json. A result of failed (an operation that broke) or denied (authorization refused it) is colored on a terminal.
audit get <request_id> drills into a single request; for a failed request, it also prints diagnostic details and relevant backend log lines. It takes --tenant alone.
8.15 log-collections
Aliases: log-collection, lc. Diagnostic bundles that collect_logs gathers from the realm’s nodes. The short alias exists because this is typed while something is already wrong.
Access follows the existing roles. platform-admin can start, download, and delete a collection, while platform-read-only and storage-admin can read (list and get). The API enforces this and PanCTL does not check it, so a caller without the role receives the API’s refusal.
A collection carries configuration and state from every node, so handle the archives as sensitive and keep them inside support channels. Archives stay on the Director that produced them, and they do not follow the API if it moves to another Director.
Old archives are cleaned when a new run starts or when a collection is deleted, not on a timer. By default, the newest 3 runs and 24 hours are kept.
| Command | Purpose |
|---|---|
log-collections create [-f <file\|->] [options] |
Start a collection |
log-collections list |
List collections, newest first |
log-collections get <collection_id> |
Show one collection in full, including per-node detail |
log-collections download <collection_id> [--output <file>] |
Fetch the archive |
log-collections delete <collection_id> |
Stop a run if it is still going, clean the nodes, and remove the archive (asks for confirmation) |
Start a collection
panctl lc create # everything, every node (collect_logs all)
panctl lc create --scope=directors --include-cores --node-timeout-seconds=1800
panctl lc create -f collect.json # hosts, storage sets, ageWith no body and no flags, the API collects everything from every node; PanCTL does not invent a default. One collection runs at a time, and a second create is refused by the API with 409. create answers with the collection it started, so --format 'jsonpath={.id}' captures the ID.
create flag |
Meaning |
|---|---|
--scope |
The class of nodes to collect from: all, repset, directors, or storage |
--include-cores |
Include corefiles |
--include-databases |
Include system databases |
--include-sed |
Include self-encrypting-drive data |
--run-diagnostics |
Run diagnostics as part of the collection |
--wait-for-savecore |
Wait for savecore to finish first |
--node-timeout-seconds |
The per-node timeout, 0 to 86400 |
-f <file\|-> |
The JSON body. It carries hosts, storagesets, and age, which have no flags. Flags override its fields. |
--include-cores=false is sent as an instruction, while a flag you did not give is left out of the request.
Follow it to the end
panctl lc list
panctl lc get <id> -o jsonpath='{.status}' --wait-for='it != running' --wait-timeout=2hlist shows ID, STATUS, STARTED AT, FINISHED AT, HOST COUNT, and ARCHIVE SIZE. The size is in binary units, so 304138240 bytes shows as 290.0 MiB, and the status is one of running, succeeded, or failed. On a terminal a failed row is red and a running row is amber. get adds the options the collection was started with, the error behind a failure, who requested it, the archive’s SHA-256, the duration, and the result for each node.
Download the archive
panctl lc download <id> # a name from the server, with progress
panctl lc download <id> --output case-4711.tar
panctl lc download <id> --output - | tar -tv # to standard outputThe archive is a tar file holding one .tgz per node, and it is routinely hundreds of megabytes. The download is streamed to disk and not held in memory, and its progress shows on standard error when that is a terminal. The file is named from the server’s Content-Disposition header, for example realm-logs_<realm>_<time>.tar, so it says which realm and when. If the server gives no name, one is derived from the collection ID.
- Interrupted downloads resume. The file is written to a temporary file beside its destination and renamed once the whole archive has arrived, so an interrupted download never leaves a partial file that looks complete. Run the same command again and it continues from the kept partial.
- The result is verified. The archive is checked against its published length and SHA-256, and the bytes already on disk are included in that check. A partial that belongs to something else is caught and fetched again from the start. If the collection publishes no digest, the check is by length alone, and PanCTL says so.
--request-timeoutbounds only getting a response. A slow transfer is not cut off, but a transfer that stops delivering bytes fails.
Use log-collections download for archives, not panctl api (see 8.16), which reads a whole response into memory and would truncate one.
8.16 api
A raw request to any PanAPI path, for an operation that has no dedicated command. It carries the same credentials, session renewal, --as-tenant-admin delegation, and request deadline as every other command, and it validates the body whenever the cached specification describes the operation. Otherwise the request is simply sent.
panctl api GET /api/v1/subnets/segment-type
panctl api GET /api/v1/volumes --query tenant_id=<uuid>
panctl api PUT /api/v1/subnets/segment-type -f - <<< '{"segment_type":"vxlan"}'| Command | Purpose |
|---|---|
api <METHOD> <path> [--query k=v] [-f <file\|->] |
One authenticated request. The method is not case sensitive, and --query can be repeated. |
api list [--filter <expr>] |
The operations the cached specification declares: method, path, and summary. No network call. |
api explain <path> [--recurse] |
How to call a path: its methods, parameters and whether each is required, the body fields, and the response codes. It takes the template that api list prints or a concrete path copied from a log, and --recurse covers everything beneath it. |
api version |
Which cached specification validation and --help are reading, from which server, and when it was retrieved. For the live answer, use panctl api GET /api/v1/about. |
api list, api explain, and api version read the document cached at login. With nothing cached they say so and point to auth login.
The response is written as the API returned it because PanCTL cannot know the shape of something it was not told about. Add --format json to pretty-print it, or -o jsonpath= to extract a value. Prefer a real command wherever one exists; panctl api resolves no names, supplies no tenant, renders no table, and completes nothing, so you give it a concrete path with IDs already in it.