[SOLVED] cannot import 'rpool' pool was previously in use from another system

kamzata

Renowned Member
Jan 21, 2011
235
9
83
Italy
I rebooted in rescue mode, executed zpool import -R /mnt rpool, rebooted in "normal" mode and that's result:


proxmox-issue.jpg

I'm running Proxmox latest version on ZFS filesystem (RaidZ).

Any hint?
 
ZFS mountpoints were automatically set wrong after run zpool import -R /mnt rpool.

I solved setting it like this from busybox:

Bash:
zfs set mountpoint=none rpool
zfs set mountpoint=none rpool/ROOT
zfs set mountpoint=/ rpool/ROOT/pve-1
zfs set mountpoint=/rpool/data rpool/data

reboot -f

You can check the mountpoints by running;

Bash:
zfs list -r -o name,mountpoint,mounted

You should see something like this:

Bash:
NAME                          MOUNTPOINT                     MOUNTED
rpool                         none                                no
rpool/ROOT                    none                                no
rpool/ROOT/pve-1              /                                  yes
rpool/data                    /rpool/data                        yes
rpool/data/subvol-100-disk-0  /rpool/data/subvol-100-disk-0      yes
rpool/data/subvol-200-disk-0  /rpool/data/subvol-200-disk-0      yes
rpool/data/subvol-210-disk-0  /rpool/data/subvol-210-disk-0      yes

Then it booted up normally.
 
Last edited:
  • Like
Reactions: tuxillo