shtnarg Posted March 28 Share Posted March 28 Hi, I've been helping a friend get an unraid box going over the last year. This week, we were doing some maintenance, updates and what-not. There were 2 Flash drives needed to keep the server happy? 1 seemed to have the key, the other the config? Not sure what happened there but, while consolidating the correct key to the correct drive, the incorrect config was loaded and the array started by accident. Its a 2x 4tb drive ZFS array with no parity. a 1tb NVME cache drive formatted ZFS. Disk 1 had about 1tb of data on it (nothing critical) The incorrect config set disk 1 as a parity drive. It started, was immediately noticed and shutdown. Correct config was reloaded and disk 1 now reads 'unsupported, missing or invalid file system'. With no dockers or VM's (although they appear to be on the cache drive). The Data on the drive is very replaceable, but if there is a possibility to recover the now blank unraid to where we were it would be desirable. Diagnostics attached. Thank you, tower-diagnostics-20240328-1805.zip.crdownload Quote Link to comment
shtnarg Posted March 29 Author Share Posted March 29 root@Tower:~# zpool import pool: disk2 id: 3778156303258639302 state: UNAVAIL status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E config: disk2 UNAVAIL insufficient replicas md1p1 UNAVAIL pool: nvme-cache id: 9499952707851697450 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: nvme-cache ONLINE nvme0n1p1 ONLINE Quote Link to comment
JorgeB Posted March 29 Share Posted March 29 3 minutes ago, shtnarg said: status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E AFAIK this is fatal, no way to recover the pool, you will need to destroy and recreate from a backup, or use a file recovery tool like UFS explorer to see if it can recover the data. Quote Link to comment
shtnarg Posted March 29 Author Share Posted March 29 In the case of UFS explorer, are both drives (the entire pool) required or just the 1 with the corrupt filesystem? Quote Link to comment
JorgeB Posted March 29 Share Posted March 29 Just now, shtnarg said: are both drives (the entire pool) If I understood correctly both devices were assigned to the array, in the array, each device is a separate filesystem, you only need that one. P.S. based on the pool name that disk was initially disk2, not disk1. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.