Difference between revisions of "Zettabyte File System"
Jump to navigation
Jump to search
(→zfs) |
|||
| Line 5: | Line 5: | ||
<code>for i in /sys/class/scsi_device/*/device/rescan; do echo "- - -" > $i; done</code> Scan current SCSI devices for changes</br> | <code>for i in /sys/class/scsi_device/*/device/rescan; do echo "- - -" > $i; done</code> Scan current SCSI devices for changes</br> | ||
<code>parted /dev/sdb rm 9</code> 8MB partition at the end of the disk may be deleted (perhaps an artefact from the Solaris days?)</br> | <code>parted /dev/sdb rm 9</code> 8MB partition at the end of the disk may be deleted (perhaps an artefact from the Solaris days?)</br> | ||
<code>growpart /dev/sdb 1</code> Increase | <code>growpart /dev/sdb 1</code> Increase ZFS partition to maximum size</br> | ||
<code>zpool online -e ZPOOLNAME /dev/sdb</code> | <code>zpool online -e ZPOOLNAME /dev/sdb</code> Expand the pool</br> | ||
Latest revision as of 11:24, 19 November 2024
zfs
is best.
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