ZFS: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
Line 16: | Line 16: | ||
*[https://docs.joyent.com/private-cloud/troubleshooting/disk-replacement ZFS troubleshooting/disk replacement] | *[https://docs.joyent.com/private-cloud/troubleshooting/disk-replacement ZFS troubleshooting/disk replacement] | ||
| |||
= HOWTO = | |||
== Replace disk == | |||
zpool offline poolname | |||
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 = | = FAQ = | ||
Line 29: | Line 47: | ||
== check raid level == | == check raid level == | ||
zfs list -a | zfs list -a |
Revision as of 21:32, 28 December 2020
Links
- ZFS on Linux
- https://wiki.gentoo.org/wiki/ZFS
- ZFS cheatsheet
- http://open-zfs.org
- http://wiki.freebsd.org/ZFSQuickStartGuide
- http://www.opensolaris.org/os/community/zfs/intro/
- http://en.wikipedia.org/wiki/ZFS
- http://www.edplese.com/samba-with-zfs.html
- ZFS calculator
- ZFS clustering
- {https://jrs-s.net/2015/02/03/will-zfs-and-non-ecc-ram-kill-your-data/ ZFS and ECC]
HOWTO
Replace disk
zpool offline poolname
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