ZFS: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 17: Line 17:


 
 


= HOWTO =
= HOWTO =


== Replace disk ==
== Replace disk ==


  zpool offline poolname 
===Some links ===
*https://itectec.com/ubuntu/ubuntu-replacing-a-dead-disk-in-a-zpool/
 
 
  zpool offline poolname diskname


Get list of disk by id:
Get list of disk by id:
  ls -al /dev/disk/by-id
  ls -al /dev/disk/by-id


 
 


Find uid of disk to replace
Find uid of disk to replace

Revision as of 23:08, 28 December 2020

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
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