Update FreeBSD.md
This commit is contained in:
12
FreeBSD.md
12
FreeBSD.md
@ -20,11 +20,19 @@ iocage create -n <jailname> ip4_addr="10.192.0.28/24" defaultrouter="10.192.0.1"
|
||||
|
||||
## zfs
|
||||
|
||||
### Show holds on a specific snapshot
|
||||
|
||||
If snapshots return as dataset is busy upon deletion, they are either dependent or use a tag that prevents them from being deleted. The command below will display any holds on a snapshot.
|
||||
|
||||
```sh
|
||||
zfs holds -r <snapshot_name>
|
||||
```
|
||||
|
||||
### Migrate dataset to new pool
|
||||
|
||||
```sh
|
||||
zfs snapshot -r old_pool/dataset_name@relocate
|
||||
zfs send -Rv old_pool/dataset_name@relocate | zfs receive -d new_pool/new_dataset_name
|
||||
zfs snapshot -r old_pool/<dataset_name>@relocate
|
||||
zfs send -Rv old_pool/<dataset_name>@relocate | zfs receive -d new_pool/<new_dataset_name>
|
||||
```
|
||||
|
||||
## tcsh
|
||||
|
||||
Reference in New Issue
Block a user