Recover zpool ( insufficient replicas / corrupted data )

ishan

New Member
Nov 12, 2018
13
1
3
34
Hello,
We have a root ZFS pool running ZFS RAID10. It was limping due to a failed disk removal - so only 1 disk was available in the 2nd mirror. Today the server went down and after rebooting into rescue, we are no longer able to see the pool. Trying to import shows this -

Bash:
root@pve214:# zpool import -f
   pool: rpool
     id: 11022258939023149266
  state: UNAVAIL
 status: The pool was last accessed by another system.
 action: The pool cannot be imported due to damaged devices or data.
   see: http://zfsonlinux.org/msg/ZFS-8000-EY
 config:


        rpool                                             UNAVAIL  insufficient replicas
          mirror-0                                        ONLINE
            ata-TOSHIBA_THNSN81Q92CSE_966S101FTB4V-part3  ONLINE
            ata-TOSHIBA_THNSN81Q92CSE_966S101ATB4V-part3  ONLINE
          sdd                                             FAULTED  corrupted data
          sdc                                             ONLINE


It was working with mirror-0 and single sdd earlier. sdc is the one which was being replaced when this happened.

sdd contains the required data.

Is there any way we can mark it is Good / non-corrupted and import the rpool ?

Thank you in advance!
 
Jan 16, 2018
230
50
53
This sounds like sdd and sdc were not added as a mirror device, instead as single devices - really a bad setup

So there is no chance, the data is dead meat at is spread over all vdev's
 

ishan

New Member
Nov 12, 2018
13
1
3
34
This sounds like sdd and sdc were not added as a mirror device, instead as single devices - really a bad setup

So there is no chance, the data is dead meat at is spread over all vdev's

They were added as a mirror, but sdc got removed from pool ( detach ) and pool was running with first mirror + sdd ( for a few weeks ) without any issues. Original setup was -

Code:
        rpool                                             ONLINE
          mirror-0                                        ONLINE
            ata-TOSHIBA_THNSN81Q92CSE_966S101FTB4V-part3  ONLINE
            ata-TOSHIBA_THNSN81Q92CSE_966S101ATB4V-part3  ONLINE
          mirror-1
          sdd                                             ONLINE
          sdc                                             ONLINE
 

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 your own in 60 seconds.

Buy now!