ZFS

From DWIKI
Revision as of 22:19, 31 December 2020 by Tony (talk | contribs)

Links

 

 

HOWTO

Replace disk

Some links

 

zpool offline poolname diskname

Get list of disk by id:

ls -al /dev/disk/by-id

Find uid of disk to replace

zdb

Save the id, shutdown, replace disk, boot: Find the new disk:

ls -al /dev/disk/by-id

The id is the ID of the old disk, name is of the new disk

zpool replace tank 13450850036953119346 /dev/disk/by-id/ata-ST4000VN000-1H4168_Z302FQVZ

FAQ

show status

zspool status

show drives/pools

zfs list
      

check raid level

zfs list -a