DataSimplePractical GuideLog inOpen DataSimple
DataSimple
Chapter 23More

Volumes: files in the catalog

Back to the index · Previous: Table audit

How it works#

A volume is a named folder of files in the catalog: CSV, JSON, Parquet, PDF, images, anything. Its full name is datasimple.<layer>.<volume>, for example datasimple.bronze.landing, and notebooks read its files by the volume name: /Volumes/landing/<file>.

  • Stored where the administrator chose. An administrator picks once where new volumes keep their files: Amazon S3 or Azure ADLS Gen2 (section 0). Nobody else types a bucket, a container or a key.
  • One short name everywhere. Notebooks, snippets and messages show only /Volumes/..., never the bucket or container. The same notebook works on any installation that has a volume of that name, on S3 or on ADLS.
  • Governed like tables. Listing files needs READ_VOLUME; uploading, creating folders and deleting need WRITE_VOLUME. MANAGE covers both. The volume's creator and administrators always pass. Until a volume, its schema or its catalog has any grant, everyone in the tenant can use it.
  • Your tenant only. You see and use only your own tenant's volumes.
  • No compute to browse or upload. The Volumes page moves files with storage calls only; nothing starts Spark. Reading a file into a DataFrame in a notebook uses your notebook session as usual.
You want to Where Needs
Choose where volumes are stored (S3 or ADLS Gen2) Administration → Governance → Storage → Volume storage an administrator
Create a volume Left rail → Volumes → Create volume an administrator, MANAGE on the schema, or CREATE_VOLUME
See its files Volumes page, or Volumes in the notebook's Lakehouse panel READ_VOLUME
Upload files or folders, new folder, delete Volumes page WRITE_VOLUME
Read a file in a notebook spark.read.csv("/Volumes/landing/orders.csv") READ_VOLUME
Manage files from a cell ds.fs READ_VOLUME to list and read, WRITE_VOLUME to change
Give someone access Administration → Governance → Privileges, or SQL an administrator or MANAGE on the volume

Tables or volumes: when you need a volume#

The lakehouse keeps data as tables (Parquet, Delta Lake, Iceberg) in Bronze, Silver and Gold. Tables hold rows and columns. A volume holds files that are not tables, or not yet:

Data Table Volume
Rows from source systems loaded by DataBridge yes not needed
A vendor CSV or Excel file dropped by hand, before it is loaded after loading yes, the original file
PDFs, images, scanned invoices, contracts cannot be a table yes
JSON or XML from an API, kept as received for audit and reloads after parsing yes
A file to hand to finance or a partner (CSV, Excel, PDF) no yes
Machine learning model files, streaming checkpoints no yes

If all your data comes in through DataBridge and is used as tables, volumes are optional. They matter when people work with actual files: uploads, documents, exports and models.

Why a volume sits in Bronze, Silver or Gold#

A volume is not a second medallion. It lives in a layer the same way a table does (datasimple.bronze.landing), so:

  • Access comes from the layer. A grant on the bronze schema also covers the volumes in it; gold volumes can be opened to the same people as gold tables. No separate permission setup for files.
  • Files sit next to their tables. Raw files beside raw tables, exports beside reporting tables. Storage follows the same split: <folder>/<layer>/_volumes/<tenant>/<volume>.
Layer Use it for Examples Usually read by
Bronze raw files as they arrive, before loading daily vendor CSVs, source extracts, JSON events, PDFs, landing, archive data engineers
Silver cleaned or reference files that support Silver tables code-to-name mapping files, cleaned lookup lists, parsed documents, checkpoints engineers, analytics engineers
Gold finished files for people outside the build exports for finance, report PDFs, files shared with a partner, model outputs analysts, business users

Most volumes are Bronze (files coming in) or Gold (files going out); Silver volumes are rare.

Volumes and Data files#

Volume Data files
What it is a named, governed folder in the catalog: datasimple.<layer>.<volume> the older file browser: notebook uploads and raw lake folders
Name in a notebook /Volumes/<volume>/<file> a storage path
Access READ_VOLUME / WRITE_VOLUME per user, role or group the Data files screen permission; own uploads only; table folders need SELECT (section 5)
Storage S3 or ADLS Gen2, as the administrator chose the notebook server and the lake
Use it for anything shared, kept or access-controlled a quick personal upload, or an engineer checking what landed on the lake

0. Administrator: choose where volumes are stored#

Do this once per tenant, before people create volumes. Without it, volumes are stored on the lake.

  1. Left rail → Administration → Governance → Storage.

  2. In the Volume storage card, pick Amazon S3 or Azure ADLS Gen2.

  3. Fill in the fields:

    Amazon S3 Azure ADLS Gen2
    Bucket, for example my-company-lake Storage account, for example mycompanylake (the account must have the hierarchical namespace turned on)
    Folder (optional), for example volumes Container, for example lake
    The app uses its own cloud access, the same as the lake; no key is entered Folder (optional), for example volumes
    Sign in with: Account key (paste the storage account key), or Service principal (directory ID, application ID and client secret; give it Storage Blob Data Contributor on the container)
  4. Click Save.

  5. Click Test connection. The app writes a small check file, lists it and deletes it. Write, list and delete worked means it is ready; otherwise the message says what failed (wrong name, key or permission).

What it changes:

  • New volumes store their files under <folder>/<layer>/_volumes/<tenant>/<volume> in that bucket or container.
  • Existing volumes keep their files where they are. Changing the setting never moves files.
  • Keys and secrets are stored encrypted and never shown again. To change a key, type the new one; leave the field blank to keep the saved one.
  • Only administrators see this card and where each volume is stored. Everyone else sees /Volumes/... names only.

1. Create a volume#

  1. Left rail → Volumes (in the ingestion group, under Bronze loads).
  2. Click New volume (the + at the top of the list).
  3. Pick the layer: source, bronze, silver or gold.
  4. Type the Volume name, for example landing. Optional: a Comment.
  5. Click Create volume.

The volume shows in the list under its layer, as datasimple.bronze.landing. Its files go to the storage the administrator chose in section 0; you never type that location.

2. Upload files and folders#

  1. On the Volumes page, click the volume in the list. Its files show on the right (empty at first).
  2. Do one of these:
    • Drag and drop files, or a whole folder, onto the file area.
    • Click Upload files and choose one or more files.
    • Click Upload folder and choose a folder. Its sub-folders are kept.
  3. Each file uploads on its own and shows its progress. A file that fails is marked with its reason; the others carry on.
  4. Click Refresh to read the list again at any time.

Limits: up to 100 MB per file. Your tenant's storage quota applies; when it is full the upload says so and nothing is written.

3. Folders, paths and deleting#

  • Open a folder: click it. The path at the top shows where you are; click a part of the path to go back up.
  • New folder: click New folder, type the name, press OK. It is created inside the folder you are in.
  • Copy the notebook path: click the copy icon on a file's row (Copy path for notebooks). You get /Volumes/landing/orders/2026-11.csv, ready to paste into a cell.
  • Delete: click the bin icon on a file or folder row and confirm. A folder is deleted with everything in it. This cannot be undone.

Names may not contain .. or control characters, a name is at most 255 characters, and folders nest at most 32 levels.

4. Give someone access#

Once you add any grant to a volume (or to its schema or catalog), only people with a grant can use it. Two ways to let analyst read and loader write:

  1. Administration → Governance → Privileges
    1. Securable type: volume.
    2. Name: datasimple.bronze.landing.
    3. Principal: analyst.
    4. Tick READ_VOLUME, click Grant.
    5. Repeat for loader with READ_VOLUME and WRITE_VOLUME.
  2. A SQL cell:
    SQL
    GRANT READ_VOLUME ON VOLUME datasimple.bronze.landing TO analyst;
    GRANT READ_VOLUME, WRITE_VOLUME ON VOLUME datasimple.bronze.landing TO loader;
    REVOKE WRITE_VOLUME ON VOLUME datasimple.bronze.landing FROM loader;
    

Granting on the schema (datasimple.bronze) covers every volume in it. Grants take effect within about 10 seconds in open notebooks.

5. Read volume files in a notebook#

Find the file in the Lakehouse panel#

  1. Open a notebook (left rail → Notebooks).
  2. On the left, click Lakehouse. Under the catalog there is a Volumes section with every volume you can see; the small word beside each name is its layer.
  3. Click a volume to open it, then its folders.
  4. Click a file: a read cell for it is added to the notebook. You can also drag the file onto a cell.
  5. Run the cell.

Name a file in a cell#

Use the volume name and the file. The catalog and layer are found for you:

Form Example When
/Volumes/<volume>/<file> /Volumes/landing/orders.csv the usual form
/Volumes/<layer>/<volume>/<file> /Volumes/bronze/landing/orders.csv the same volume name is in two layers
/Volumes/<catalog>/<layer>/<volume>/<file> /Volumes/datasimple/bronze/landing/orders.csv the full name; always works
ds.volume("<volume>", "<file>") ds.volume("landing", "orders.csv") builds the path for you; ds.volume("bronze.landing", ...) adds the layer

If a name is in more than one layer, the cell says so and shows the form to use. The bucket, container and keys never appear in a cell.

Python
# One CSV file
df = spark.read.csv("/Volumes/landing/orders.csv", header=True, inferSchema=True)
display(df)

# The same, with the helper
df = spark.read.csv(ds.volume("landing", "orders.csv"), header=True, inferSchema=True)

# Every CSV in a folder
df = spark.read.option("header", True).csv("/Volumes/landing/orders/")

# JSON and Parquet
events = spark.read.json("/Volumes/landing/events/")
prices = spark.read.parquet("/Volumes/landing/prices.parquet")

# Files as bytes (PDFs, images): one row per file with path, length and content
raw = spark.read.format("binaryFile").load("/Volumes/docs/")

Write a result into a volume the same way, with WRITE_VOLUME:

Python
df.write.mode("overwrite").csv("/Volumes/exports/orders_by_day/", header=True)

Streaming sources, sinks and checkpoints take volume paths too:

Python
stream = (spark.readStream.format("json").schema(events.schema)
          .load("/Volumes/landing/events/"))
(stream.writeStream
   .option("checkpointLocation", "/Volumes/landing/_checkpoints/events")
   .toTable("bronze.events"))

Volumes on Azure ADLS Gen2. Each cell gets a short-lived access token for just the volume it names: read-only with READ_VOLUME, read and write with WRITE_VOLUME. ds.fs works on ADLS volumes as is. spark.read on an ADLS volume needs the Azure storage connector on the notebook cluster; if a read says the storage cannot be reached, ask your platform team to turn it on.

Data files: the older file browser#

Below Volumes, the Lakehouse panel may also show Data files. It is the file browser from before volumes: uploads holds files uploaded from a notebook, and s3 opens raw lake folders. It has no catalog name and no volume grants. For files people share and govern, use a volume; move old uploads into one with Upload files on the Volumes page.

Who sees Data files, and what:

Who Sees
A role without the Data files screen no Data files section at all
A role with it (administrators; roles with Ingest at Edit or Manage, such as Data Engineer; any role an administrator switches it on for) the section
In uploads, an ordinary user only the files they uploaded themselves
In uploads, an administrator every upload of the workspace
In s3, anyone with the screen only the folders of tables they may read (SELECT on the table, its schema or its catalog); other folders say not in your catalog, or you do not have SELECT on it

Nobody sees another workspace's uploads.

To give a role Data files:

  1. Left rail → Administration → Roles.
  2. Open the role → Screens.
  3. Under Lakehouse & Storage, switch on Data files, then Save.

The change applies at once on this server, and within 30 seconds everywhere.

6. Manage files from a cell: ds.fs#

ds.fs lists, reads, writes, copies, moves and deletes files on /Volumes/... paths from a Python cell, on S3 and on ADLS Gen2 volumes alike. Listings show /Volumes names, never the storage location.

Command What it does Needs
ds.fs.ls(path) list a folder: each entry has .path, .name, .size, .isDir(), .isFile() READ_VOLUME
ds.fs.head(path, maxBytes=65536) the first bytes of a file, as text READ_VOLUME
ds.fs.mkdirs(path) create a folder and any missing parents WRITE_VOLUME
ds.fs.put(path, contents, overwrite=False) write a small text file; refuses to replace one unless overwrite=True WRITE_VOLUME
ds.fs.cp(src, dst, recurse=False) copy a file, or a folder with recurse=True READ_VOLUME on src, WRITE_VOLUME on dst
ds.fs.mv(src, dst, recurse=False) move: copy, then delete the source WRITE_VOLUME on both
ds.fs.rm(path, recurse=False) delete a file, or a folder with recurse=True WRITE_VOLUME
ds.fs.help() print this list —

Step by step, a landing area for daily files:

Python
base = "/Volumes/landing"

# 1. Make the folders
ds.fs.mkdirs(f"{base}/orders/2026/11/19")

# 2. Write a small file (a note, a control file)
ds.fs.put(f"{base}/orders/README.txt", "Daily order files, one folder per day.", overwrite=True)

# 3. See what is there
for f in ds.fs.ls(f"{base}/orders"):
    print(f.name, f.size, "folder" if f.isDir() else "file")

# 4. Look at the start of a file
print(ds.fs.head(f"{base}/orders/README.txt"))

# 5. Copy a day to an archive volume, then remove it from landing
ds.fs.cp(f"{base}/orders/2026/11/19", "/Volumes/archive/orders/2026/11/19", recurse=True)
ds.fs.rm(f"{base}/orders/2026/11/19", recurse=True)

When something is refused#

Message Why What to do
Reading files in volume … needs READ_VOLUME … / Changing files in volume … needs WRITE_VOLUME … (Volumes page), or Reading volume … needs READ_VOLUME / Writing to volume … needs WRITE_VOLUME (notebook) the volume has grants and you lack this one ask the volume's owner or an administrator for the grant (section 4)
Volume datasimple.<layer>.<name> was not found. or Volume … is not in your catalog. the name is misspelt, or the volume belongs to another tenant check the name on the Volumes page
Volume … is in more than one layer (…); name the layer: /Volumes/<layer>/<volume>/... the short name fits two volumes add the layer, as the message shows
The app has no permission to read this volume's storage. … the app's cloud access may not read where this volume is stored an administrator checks Volume storage → Test connection and the bucket's permissions
This volume's storage location does not exist any more. … the bucket or container the volume points to is gone an administrator moves or drops the volume
Storage check failed: … (Volume storage card) wrong bucket, account, container, key or permission correct the field the message names, Save, Test connection again
… already exists; pass overwrite=True to replace it. ds.fs.put onto an existing file add overwrite=True if you mean to replace it
… is a folder that is not empty; pass recurse=True. ds.fs.rm on a folder with files add recurse=True to delete it with everything in it
Path may not contain "..". a path tried to leave the volume use a path inside the volume
Upload refused with a quota message your tenant's storage is full delete files you no longer need, or ask an administrator
A file over 100 MB fails upload limit per file split the file, or load it with DataBridge (chapter 4)

What it costs#

Browsing, uploading, creating folders and deleting on the Volumes page are storage requests only: no Spark, no compute. Reading volume files in a notebook runs in your notebook session like any other read. Stored files are billed by your cloud as S3 or ADLS storage.