2019-10-08 23:53:34 +01:00
|
|
|
# btrfs
|
|
|
|
|
|
|
|
> A filesystem based on the copy-on-write (COW) principle for Linux.
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs>.
|
2019-10-08 23:53:34 +01:00
|
|
|
|
|
|
|
- Create subvolume:
|
|
|
|
|
|
|
|
`sudo btrfs subvolume create {{path/to/subvolume}}`
|
|
|
|
|
|
|
|
- List subvolumes:
|
|
|
|
|
|
|
|
`sudo btrfs subvolume list {{path/to/mount_point}}`
|
|
|
|
|
|
|
|
- Show space usage information:
|
|
|
|
|
|
|
|
`sudo btrfs filesystem df {{path/to/mount_point}}`
|
|
|
|
|
|
|
|
- Enable quota:
|
|
|
|
|
|
|
|
`sudo btrfs quota enable {{path/to/subvolume}}`
|
|
|
|
|
|
|
|
- Show quota:
|
|
|
|
|
|
|
|
`sudo btrfs qgroup show {{path/to/subvolume}}`
|