Skip to main content

Mount storage in Workbench sessions

Attach PVCs, NFS shares, and CephFS volumes to Workbench sessions

Mount storage in Workbench sessions

Workbench sessions can mount external storage volumes so your notebooks and scripts can read and write data on shared file systems. This guide covers attaching PVCs, NFS shares, and CephFS volumes to a session.

Prerequisites

Mount storage during session creation

  1. Navigate to Workbench and click Sessions, then click + New session.
  2. Configure the preset, image, and compute settings as usual.
  3. In the Storage section of the creation dialog:
    • Home volume -- choose Create new (default ~5 GiB) or Mount existing to attach a PVC you already created.
    • Data volumes -- click + Add volume to mount additional PVCs, NFS shares, or CephFS volumes. Each volume requires a mount path (for example, /data/shared). You can set volumes as read-only.
  4. Click Launch session.

The mounted volumes appear at the paths you specified inside your notebook environment.

Mount storage on an existing session

  1. Open the session detail page and click Edit (the session must be paused first).
  2. In the Storage section, add or remove data volume mounts.
  3. Click Save, then Resume the session.

Storage type considerations

TypeBest forAccess
PVCSingle-namespace workloadsMount path in one session at a time (ReadWriteOnce) or multiple (ReadWriteMany, if supported)
NFSCross-namespace sharingMultiple sessions can mount the same share simultaneously
CephFSHigh-throughput parallel accessMultiple sessions across many nodes
Ask AI
Ask a question about Vantage Compute...