Difference between revisions of "Zettabyte File System"

From 6bit.ch wiki
Jump to navigation Jump to search
(Created page with "= zfs = == 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>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>zpool online -e ZPOOLNAME /dev/sdb</code> Expanding the pool</br>")
 
Line 1: Line 1:
= zfs =
= zfs =


== 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 size to maximum</br>
<code>zpool online -e ZPOOLNAME /dev/sdb</code> Expanding the pool</br>
<code>zpool online -e ZPOOLNAME /dev/sdb</code> Expanding the pool</br>

Revision as of 11:23, 19 November 2024

zfs

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 size to maximum
zpool online -e ZPOOLNAME /dev/sdb Expanding the pool