ZPool Suddenly Offline

dumbdumb

Cadet
Joined
Jan 29, 2024
Messages
3
Hi - I had one of my pools go offline overnight, not sure why. I really cannot afford to lose the data on my drive. How can I get this pool back online so I can get everything backed up? When I ran the command zpool import, I get the following:

root@truenas[~]# zpool import
pool: BizStorage
id: 3923001542207335810
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

BizStorage ONLINE
37c1f1db-cbc4-4fae-a224-42c9ca1e8318 ONLINE
root@truenas[~]#

Is my data intact?

Thank you for any help!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I really cannot afford to lose the data on my drive.
Then using a stripe pool type wasn't a good option (and having no backup is even worse if you can't afford to lose it).

Is my data intact?
Not clear from the provided information.

Import the pool and see:

zpool import BizStorage
 

dumbdumb

Cadet
Joined
Jan 29, 2024
Messages
3
Yeah, I'm learning now this was probably not a great idea...

This is the result I received when I ran that command.

cannot import 'BizStorage': I/O error
Recovery is possible, but will result in some data loss.
Returning the pool to its state as of Sun Jan 28 21:37:14 2024
should correct the problem. Approximately 21 seconds of data
must be discarded, irreversibly. Recovery can be attempted
by executing 'zpool import -F BizStorage'. A scrub of the pool
is strongly recommended after recovery.
 

dumbdumb

Cadet
Joined
Jan 29, 2024
Messages
3
I was able to get the pool back online by importing using the command zpool import -F

Backing everything up now and then will get this setup correctly in a RAID configuration.

Thank you very much for your help, you can close this thread.
 
Top