My proxmox disk crashed. All the storage was on ZFS, but the proxmox itself was on a single disk, and that crashed.
Now I have reinstalled Proxmox on a new disk, but I can't import the ZFS pool into that installation... Any ideas?
Now I have reinstalled Proxmox on a new disk, but I can't import the ZFS pool into that installation... Any ideas?
Code:
root@proxmox1:~# zpool import -d /dev/disk/by-id
pool: SamsungSSDRAIDZ
id: 8278***100
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:
SamsungSSDRAIDZ ONLINE
raidz1-0 ONLINE
ata-Samsung_SSD_850_EVO_500GB_S3***083L ONLINE
ata-Samsung_SSD_850_EVO_500GB_S2***281D ONLINE
ata-Samsung_SSD_860_EVO_500GB_S4***1795W ONLINE
root@proxmox1:~# zpool import -f SamsungSSDRAIDZ
cannot import 'SamsungSSDRAIDZ': no such pool available
root@proxmox1:~# zpool import -d /dev/disk/by-id SamsungSSDRAIDZ
cannot import 'SamsungSSDRAIDZ': pool was previously in use from another system.
Last accessed by proxmox1 (hostid=cce847) at Sun May 1 09:52:52 2022
The pool can be imported, use 'zpool import -f' to import the pool.
root@proxmox1:~# zpool import -d -f /dev/disk/by-id SamsungSSDRAIDZ
cannot import '/dev/disk/by-id': no such pool available
root@proxmox1:~# zpool import -f /dev/disk/by-id SamsungSSDRAIDZ
cannot import '/dev/disk/by-id': no such pool available