Difference between revisions of "Zettabyte File System"

From 6bit.ch wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= zfs =
= zfs =
is best.


== Expand ZPOOL ==
== Expand ZPOOL ==
<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 size to maximum</br>
<code>growpart /dev/sdb 1</code> Increase ZFS partition to maximum size</br>
<code>zpool online -e ZPOOLNAME /dev/sdb</code> Expanding the pool</br>
<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