Zettabyte File System: Difference between revisions
Appearance
No edit summary |
|||
| Line 1: | Line 1: | ||
= zfs = | = zfs = | ||
is best. | is best. | ||
== Destroy dataset == | |||
Check:<br> | |||
Mounted?<br> | |||
<code>zfs get mounted mainframe/iocage<br></code> | |||
Snapshots?<br> | |||
<code>zfs list -t snapshot mainframe/iocage<br></code> | |||
Destroy:<br> | |||
<code>zfs destroy -r mainframe/iocage</code><br> | |||
== Expand ZPOOL == | == Expand ZPOOL == | ||
Revision as of 00:43, 29 August 2026
zfs
is best.
Destroy dataset
Check:
Mounted?
zfs get mounted mainframe/iocage
Snapshots?
zfs list -t snapshot mainframe/iocage
Destroy:
zfs destroy -r mainframe/iocage
Expand ZPOOL
for i in /sys/class/scsi_device/*/device/rescan; do echo "- - -" > $i; done Scan current SCSI devices for changes
parted /dev/sdb rm 9 8MB partition at the end of the disk may be deleted (perhaps an artefact from the Solaris days?)
growpart /dev/sdb 1 Increase ZFS partition to maximum size
zpool online -e ZPOOLNAME /dev/sdb Expand the pool