mirror of
https://github.com/nmasur/dotfiles
synced 2024-09-20 00:04:45 +00:00
16 lines
404 B
Markdown
16 lines
404 B
Markdown
|
# 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
|
||
|
```
|
||
|
|