Message ID: ZFS-8000-2Q

conpat

Cadet
Joined
Nov 3, 2023
Messages
6
Hello Together

During the new installation, I accidentally deleted a hard drive that I had partitioned for ZIL and cache and assigned to the pool. Now I can no longer import the pool. I have already tried the instructions on this page https://openzfs.github.io/openzfs-d...ml#missing-device-in-replicated-configuration, but without success.

ZFS Pool.PNG


User HoneyBadger

Has support me with
Sorry to hear about the accidental overwrite. You can import your pool from the command-line using the command zpool import -m MediaOne - this will tell ZFS to ignore the missing LOG device, and discard any pending transactions that might have been stored there. Since this partition was overwritten during a new installation, hopefully the previous shutdown/export of the pool was on a "clean shutdown" and no data will be lost.

Once you've imported the pool successfully (check zpool status) then you should be able to remove the LOG and CACHE devices from the UI, export the pool, and reboot - at this point, it should import automatically.

The result is

1699654918468.png
 
Top