Failed ZFS drive on non-boot storage holding up boot

pgcudahy

New Member
Jan 14, 2023
9
0
1
I had proxmox set up with an SSD as the boot drive and later added two HDDs as additional storage as a mirrored zfs pool. After an electrical storm and a hard reboot, one of the zfs drives has started clicking badly and on booting the machine gets stuck very early in the process at
Code:
/dev/mapper/pve-root: clean, 116132/6291456 files, 2831205/25165824 blocks

I booted the server from a usb key with a live recovery environment and an fsck shows pve-root to be clean, but the zfs pool is borked

Code:
zpool status -x

  pool: zfs_mirror_0
 state: DEGRADED
status: One or more devices could not be used because the label is missing or
    invalid.  Sufficient replicas exist for the pool to continue
    functioning in a degraded state.
action: Replace the device using 'zpool replace'.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J
  scan: scrub repaired 0B in 03:04:09 with 0 errors on Sun May 14 01:28:10 2023
config:

    NAME                              STATE     READ WRITE CKSUM
    zfs_mirror_0                      DEGRADED     0     0     0
      mirror-0                        DEGRADED     0     0     0
        ata-HUH721010ALE601_7JGH6YYC  ONLINE       0     0     0
        17036352222114924081          UNAVAIL      0     0     0  was /dev/disk/by-id/ata-HUH721010ALE601_7JH2D71K-part1

errors: No known data errors

I guess my question is, why is a non-boot drive pool halting machine startup, and if I replace the failed drive using the recovery live usb environment should that get booting up again?
 
Same issue for me. The OS never boots and the keyboard is disabled. My machine is unusable. Were you able to find a fix?

Edit: Ended up re-installing the OS and re-importing the ZFS pool. Thank goodness I changed all VMs/LXC to the ZFS pool or I would have been screwed. I then had to recreate all VMs/LXC and change .conf to point to ZFS pool data.
 
Last edited:

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 yours easily in our online shop.

Buy now!