Replace Zpool Drives:

oguruma

Member
Mar 26, 2020
34
2
13
35
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!