add zfs rename
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 26m30s

This commit is contained in:
2025-03-24 15:39:01 -04:00
parent 85de8a54d9
commit 237a906b68

View File

@@ -33,6 +33,7 @@
- [Mounting ZVOLS](#mounting-zvols)
- [UPS Monitoring](#ups-monitoring)
- [ZFS Size Data](#zfs-size-data)
- [ZFS Rename](#zfs-rename)
## Bios settings
@@ -525,3 +526,12 @@ zfs list -j enc0/vms -p -o available,used | \
jq -r --arg TIMESTAMP `date +%s` '"driveripper.vms.data.used " + .datasets[].properties.used.value + " " + $TIMESTAMP' | \
nc -N -4 yellow.reeselink.com 2003
```
## ZFS Rename
Make sure you unshare any connected shares, otherwise you'll get
"cannot unmount '/mnt/enc0/smb/reese_and_alica': pool or dataset is busy"
```bash
zfs rename enc0/something enc0/something_else
```