1

I have an Ubuntu 24.04 Server with 4x4TB SSD in a Raid5, an additional NVME as ZIL. Now, for unclear reasons, the server became unbootable and I plugged all disks into another Server. I still cannot boot, but with a LIVE-USB-Key, I managed to get a command line.

One disk is definitively faulted.

Tried in different SATA ports and on another controller: one disk is dead.

The NVME ZIL Device is available, but not recognized by ZFS

zfs import says, there are three online devices and one faulted. No LOG-Device is mentioned, although it exists and is working. In the last working state on the old hardware, there was a log device mentioned.

The Pool is corrupted

zfs import says, the faulted (missing) Data-Disk and the Pool itself have corrupted data. As the missing disk is defective anyway, I can safely ignore this. The corrupted pool data results from missing log device, I assume.

On a foreign system

I have to import the pool, because in a live environment the pool isn't considered local. As it must be Imported, I don't have options like "CLEAR" or "ADD DEVICE".

So this is, what I see:

$ zpool list
no pools available
$ zpool import
   pool: zfs
     id: 14609416672453843079
  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:
zfs         FAULTED  corrupted data
  raidz1-0  DEGRADED
    sda3    FAULTED  corrupted data
    sda3    ONLINE
    sdb3    ONLINE
    sdc3    ONLINE

$ zpool import -f zfs -o readonly=on
cannot import 'zfs': I/O error
    Destroy and re-create the pool from
    a backup source.
$ zpool import -fFXm zfs -o readonly=on
cannot import 'zfs': one or more devices is currently unavailable
$ zpool import -F zfs
 cannot import 'zfs': pool was previously in use from another system.
Last accessed by g4-storage (hostid=6676046c) at Tue Apr  1 19:08:50 2025
The pool can be imported, use 'zpool import -f' to import the pool.

What options do I have? The Log-Device cannot be added, as the pool must be imported first. But I cannot import the pool, because the log-device is not configured. 3 out of 4 Disks are working, the redundancy must therefore be intact. What can I do?

Thank you for any suggestions.

t2m
  • 146

0 Answers0