Hi,
I am running proxmox (7.1-10) and a number of VMs. I accidentally forced to import from proxmox a ZFS pool that was being used by a VM (truenas 12.0-U7) with:
The command returned blank, and I thought I was ok.
I then rebooted Proxmox, and the pool was not there. I did then:
At that time, I had not realised the mistake I was doing and tried to import once again:
By then, I realised I was importing the wrong pool. I went back to Truenas, and the pool was offline. I checked whether Truenas could see the pool:
and tried first:
and then:
So, now if I try to force an import from proxmox I get "Invalid exchange" and if I try to force from truenas I get "Integrity check failed".
Does anyone have an idea how to solve this?
Thanks,
RG
I am running proxmox (7.1-10) and a number of VMs. I accidentally forced to import from proxmox a ZFS pool that was being used by a VM (truenas 12.0-U7) with:
zpool import -f Pool-1
The command returned blank, and I thought I was ok.
I then rebooted Proxmox, and the pool was not there. I did then:
Code:
zpool import pool: Pool-1 id: 9292035031829486490 state: FAULTED status: The pool metadata is corrupted. action: The pool cannot be imported due to damaged devices or data. The pool may be active on another system, but can be imported using the '-f' flag. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-72 config: Pool-1 FAULTED corrupted data mirror-0 FAULTED corrupted data sdd2 ONLINE sdb2 ONLINE indirect-1 ONLINE indirect-2 ONLINE indirect-3 ONLINE
At that time, I had not realised the mistake I was doing and tried to import once again:
Code:
zpool import -f Pool-1 internal error: cannot import 'Pool-1': Invalid exchange Aborted
By then, I realised I was importing the wrong pool. I went back to Truenas, and the pool was offline. I checked whether Truenas could see the pool:
Code:
truenas# zpool import pool: Pool-1 id: 9292035031829486490 state: FAULTED status: The pool was last accessed by another system. action: The pool cannot be imported due to damaged devices or data. The pool may be active on another system, but can be imported using the '-f' flag. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY config: Pool-1 FAULTED corrupted data mirror-0 FAULTED corrupted data gptid/f475cf25-9d3a-11eb-a1a4-0cc47a30748c ONLINE gptid/f485d5c5-9d3a-11eb-a1a4-0cc47a30748c ONLINE indirect-1 ONLINE indirect-2 ONLINE indirect-3 ONLINE
and tried first:
Code:
truenas# zpool import Pool-1 cannot import 'Pool-1': pool was previously in use from another system. Last accessed by proxmox (hostid=2e5301d3) at Tue Jan 25 16:21:58 2022 The pool can be imported, use 'zpool import -f' to import the pool.
and then:
Code:
truenas# zpool import -f Pool-1 internal error: cannot import 'Pool-1': Integrity check failed Abort trap (core dumped)
So, now if I try to force an import from proxmox I get "Invalid exchange" and if I try to force from truenas I get "Integrity check failed".
Does anyone have an idea how to solve this?
Thanks,
RG