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