This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
zfs [2023/05/16 18:21] nightfly created |
zfs [2025/06/27 18:35] (current) nightfly |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Using ZFS as storage ====== | + | ====== Using ZFS as storage |
| 1. Check your **/ | 1. Check your **/ | ||
| Line 14: | Line 14: | ||
| - | 3. Create | + | 3. Create |
| <code bash> | <code bash> | ||
| Line 26: | Line 26: | ||
| # chmod 777 / | # chmod 777 / | ||
| </ | </ | ||
| + | |||
| + | |||
| + | 5. Add this directory as WolfRecorder storage | ||
| + | |||
| + | {{:: | ||
| + | |||
| + | |||
| + | 6. Now just use it | ||
| + | |||
| + | {{: | ||
| + | |||
| + | 7. Also you always can check your ZFS pools status with following command | ||
| + | |||
| + | <code bash> | ||
| + | # zpool status | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== Using ZFS as storage in Debian Linux ====== | ||
| + | |||
| + | Install zfsutils | ||
| + | |||
| + | <code bash> | ||
| + | $ su - | ||
| + | # sed -i ' | ||
| + | # apt update | ||
| + | # apt install zfsutils-linux | ||
| + | # modprobe zfs | ||
| + | </ | ||
| + | |||
| + | Create your pool and mount drive | ||
| + | <code bash> | ||
| + | # zpool create disk2 /dev/sdb | ||
| + | # zfs set mountpoint=/ | ||
| + | </ | ||
| + | |||
| + | Create storage directory | ||
| + | <code bash> | ||
| + | # mkdir / | ||
| + | # chmod 777 / | ||
| + | </ | ||
| + | |||
| + | Then add this directory as WolfRecorder storage | ||