mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 18:05:37 +00:00
initial zfs documentation
This commit is contained in:
parent
b7d1921c4d
commit
d3b0f21313
15
docs/zfs.md
Normal file
15
docs/zfs.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# ZFS
|
||||||
|
|
||||||
|
Swan runs its root on ext4. The ZFS drives are managed imperatively (this
|
||||||
|
[disko configuration](../disks/zfs.nix) is an unused work-in-progress).
|
||||||
|
|
||||||
|
The basic ZFS settings are managed [here](../modules/nixos/hardware/zfs.nix).
|
||||||
|
|
||||||
|
## Creating a New Dataset
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo zfs create tank/mydataset
|
||||||
|
sudo zfs set compression=zstd tank/myzstddataset
|
||||||
|
sudo zfs set mountpoint=/data/mydataset tank/mydataset
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user