About Distributed File Storage
Storage access across Regions or Availability Zones is not supported. A Distributed File Storage volume can only be accessed from within the cluster where it is deployed.
Distributed File Storage delivers high write speeds, high IOPS for datapath-related operations, as well as higher read speeds in cases where block size and queue depth are low. Distributed File Storage is ideal for operations that require a lot of synchronization between Pods, and performance bottlenecks caused by contention are minimized.
Features
.snapshot
folder
Every Distributed File Storage volume features a folder called .snapshots
, which contains a snapshot in time of the volume. This folder is accessible in any directory on the volume.
Snapshots of Distributed File Storage volumes are taken every 6 hours, and persist for 72 hours.
Trash directory
The trash directory allows asynchronous, efficient deletion of files and folders in bulk. Performing serial deletion by running rm -rf
commands across a large directory tree often takes time and can be a blocking operation - moving files marked for removal to the trash folder (.vast_trash
) is much faster. The trash directory is located at /mnt/vast/.vast_trash
on every Distributed File Storage host.
Once access to the folder is enabled for the host machine, the root
user can delete files and folders simply by moving them into Trash
.
$sudo mv /path/to/remove /mnt/vast/.vast_trash