Skip to main content

NFS Commands

Manage NFS storage volumes with the tp nfs command group.

Commands

  • tp nfs create - Create a new NFS volume
  • tp nfs list - List NFS volumes
  • tp nfs attach - Attach volume to clusters
  • tp nfs detach - Detach volume from clusters
  • tp nfs destroy - Delete an NFS volume

tp nfs create

Create a new NFS volume.
tp nfs create -s SIZE [--name NAME]
Arguments:
  • -s, --size SIZE - Size of the volume in GB (required)
  • --name NAME - Custom volume name (optional)
Examples:
# Create a 500GB volume with a custom name
tp nfs create -s 500 --name training-data

# Create a 1TB volume with auto-generated name
tp nfs create -s 1000

tp nfs list

List your NFS volumes.
tp nfs list [--org]
Arguments:
  • --org, --organization - List all volumes in your organization (optional)
Examples:
# List your volumes
tp nfs list

# List all organization volumes
tp nfs list --org

tp nfs attach

Attach an NFS volume to a cluster.
tp nfs attach STORAGE_ID CLUSTER_ID
Arguments:
  • STORAGE_ID - ID of the storage volume to attach
  • CLUSTER_ID - Cluster ID to attach the volume to
Example:
tp nfs attach s_abc123 c_xyz789
NFS volumes can only be attached to multi-node clusters (2+ nodes).

tp nfs detach

Detach an NFS volume from a cluster.
tp nfs detach STORAGE_ID CLUSTER_ID
Arguments:
  • STORAGE_ID - ID of the storage volume to detach
  • CLUSTER_ID - Cluster ID to detach the volume from
Example:
tp nfs detach s_abc123 c_xyz789

tp nfs destroy

Delete an NFS volume permanently.
tp nfs destroy STORAGE_ID
Arguments:
  • STORAGE_ID - ID of the storage volume to destroy
Example:
tp nfs destroy s_abc123
This action is irreversible. Back up important data before destroying a volume.

Workflow Example

# 1. Create a 1TB volume
tp nfs create -s 1000 --name shared-datasets

# 2. Attach to a cluster
tp nfs attach s_abc123 c_xyz789

# 3. Detach from the cluster
tp nfs detach s_abc123 c_xyz789

# 4. Destroy when done
tp nfs destroy s_abc123

Next Steps

I