Replace Zpool Drives:

oguruma

Member
Mar 26, 2020
34
2
13
36
I want to replace ZFS drives in a ZFS-Mirror Pool. In this case, there is nothing wrong with the drives, I just want to use bigger ones.


When I do zpool status -v, I get disk names as listed below, instead of logical names like sdf (or what have you).

Is this normal behavior? How do I replace the drives without normal drive names?
 

Attachments

  • zpool.png
    zpool.png
    28.9 KB · Views: 12
This is a normal way. Infact it is the preferred way for zfs.
"Normal" .sdX. Style names can change between reboots. The uui names stay the same regardless.

Use. ls -l /dev/disk/by-id
To get the uui name and normal name of the disk.
Use it in zpool replace old disk new disk. Command

FYI, you can not shrink the zpool. Once you go with larger drives that is it.