Skip to main content
Version: current

subvolume


disk/btrfs/subvolume​

Conditions: !smips
Syscap: storage
Type: Directory

FlagNameDescription
*defaultThe entry is the root subvolume of the file system, shown as <FS_ROOT>; it is created automatically with the file system.
SsnapshotThe subvolume is a snapshot, created with the parent argument.
rread-onlyThe subvolume is read-only.
DdeadThe subvolume is dead, for example it is being removed.
MmountedThe subvolume is mounted (mount=yes) under its mountpoint.
ArgumentTypeDescription
fs ( mandatory )enumLabel of the Btrfs file system the subvolume belongs to, as shown in filesystem.
parentenumSubvolume the new subvolume is created from. With parent, the new subvolume becomes a snapshot of the parent and shares its content at the time of creation. See Btrfs subvolumes and snapshots.
namestringName of the subvolume. A path-like name, for example Snapshots/backup-10, places the subvolume inside another subvolume; top-level then shows the containing subvolume.
read-onlyboolWhether the subvolume is read-only (r - READ-ONLY flag). Default: no.
mountboolWhether the subvolume is mounted under its mountpoint (M - MOUNTED flag). Default: no.
mountpointstringMount point the subvolume is mounted under, relative to the file system mount point. Defaults to the name of the subvolume.
Read-only ArgumentTypeDescription
top-levelenumTop-level subvolume the subvolume is located in, for example Snapshots; <FS_ROOT> when the subvolume sits directly under the file system root.
fullnamestringFull path of the subvolume within the file system, for example Snapshots/backup-10.
uuidstringUUID of the subvolume.
received-uuidstringUUID of the subvolume on the sender when the subvolume was received with a Btrfs transfer; empty for locally created subvolumes.
creation-timedateDate and time the subvolume was created.
subvolume-idnumBtrfs ID number of the subvolume.
generationnumBtrfs transaction generation of the subvolume.
deadboolWhether the subvolume is dead (D - DEAD flag).
snapshotboolWhether the subvolume is a snapshot (S - SNAPSHOT flag).
send-trans-idnumBtrfs transaction ID of the last send the subvolume was part of.
send-timedateTime the subvolume was last sent with a Btrfs transfer.
recv-trans-idnumBtrfs transaction ID of the receive that created the subvolume.
recv-timedateTime the subvolume was received with a Btrfs transfer.
snapshotsmulti { array-id, snapshot: enum }Snapshots that were created from this subvolume.
pathstringPath the subvolume was received into by a Btrfs transfer (file= on the receiver); empty for locally created subvolumes.