[SOLVED] Change boot pool (rpool) from /dev/sdx to by id

damian418

New Member
Jun 9, 2023
5
0
1
Greetings - i swapped out my boot pool disks to larger disks, and replaced them by using /dev/sdx instead of using by-id. How do I replace them with by id?

I tried zpool import storage -d /dev/disk/by-id but I get:

root@pve:~# zpool import -d /dev/disk/by-id rpool
cannot import 'rpool': a pool with that name already exists
use the form 'zpool import <pool | id> <newpool>' to give it a new name

Thanks!
 
Hi,
you will have to export the pool first, which is not possible if it is the root pool. You will have to perform these actions from a recovery system with zfs modules loaded and userspace tools available.
 

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!