cannot open datauvault1, no such pool

Currypaul

Dabbler
Joined
Aug 19, 2019
Messages
10
Hello, everybody,

i have had a freenas system for some time now, which has worked quite well so far.
Unfortunately 14 days ago the power went out at short notice and since then I can't access my NAS anymore.
Apparently the datapool was destroyed and I have no idea what exactly the reason is.
my guess is that a hard disk has an error, but the pool should not disappear completely, but only get a degraded status, right?

I get the message "cannot open datauvault1, no such pool" when booting and that's all. the NAS continues to start, only the pool is gone.
Unfortunately I have no right idea how to find out exactly what is broken and how to fix it.

I would be extremely grateful for some help and I would be happy to give you all the information you need to find the bug.

The NAS is a ProLiant Microserver with 4GB Ram, 4 HDD's á 3TB

Thanks in advance

Translated with www.DeepL.com/Translator
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,456
Only having half the minimum required RAM isn't going to help things. But to see what's going on, what's the output of zpool import?
 

Currypaul

Dabbler
Joined
Aug 19, 2019
Messages
10
Only having half the minimum required RAM isn't going to help things.
I expected that after reading a bit in this forum :(


pool: datavault1
id: 17617112076112615879
state: DEGRADED
status: One or more devices are missing from the system.
action: The pool can be imported despite missing or damaged devices. The fault tolerance of the pool may be compromised if imported. see: http://illumos.org/msg/ZFS-8000-2Q

config:
datavault1 DEGRADED
raidz1-0 DEGRADED
gptid/2b5cfca1-1e57-11e9-b0a9-98f2b3e7cc38 ONLINE​
gptid/2c792f12-1e57-11e9-b0a9-98f2b3e7cc38 ONLINE​
gptid/c55f082f-20c6-11e9-8320-98f2b3e7cc38 ONLINE​
15078536387602885662 UNAVAIL cannot open​

That does not look good to me, but seeing some bits of my pool is more than I hoped for.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,456
To put it bluntly, I don't have a backup of my config, of course. :rolleyes:
That really isn't relevant here--even a clean installation should allow you to import your pool. Which version of FreeNAS are you running?
 

Currypaul

Dabbler
Joined
Aug 19, 2019
Messages
10
Woops, there is something missing here...
That is what happens when I try to import:

zpool import datavault1
cannot import 'datavault1': I/O error
Destroy and re-create the pool from a backup source.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,456
cannot import 'datavault1': I/O error
OK, that's a problem. It looks as though you have one failed disk, and there's corrupted data on one (or more) of the remaining ones with no way to correct it. What about zpool import -Fn datavault1?
 

Currypaul

Dabbler
Joined
Aug 19, 2019
Messages
10
Thanks already now for your help.
So to me it seems I have to find out which disk is the UNAVAIL status and replace it, right?
From what exactly do you conclude that I still have corrupt data on another hard drive? I want to learn a little bit on this mistake
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,456
It runs the command but I don't get any feedback.
Not at all? It just returns you to the shell prompt?
From what exactly do you conclude that I still have corrupt data on another hard drive?
It's the I/O error that's making me suspect this.
So to me it seems I have to find out which disk is the UNAVAIL status and replace it, right?
Replacing the disk at this point wouldn't help you--though if a disk is failing and you can otherwise get the pool back, this should be a high priority. Getting that disk back online would be a good thing though.
 

Currypaul

Dabbler
Joined
Aug 19, 2019
Messages
10
Not at all? It just returns you to the shell prompt?
Yes :(

Replacing the disk at this point wouldn't help you--though if a disk is failing and you can otherwise get the pool back, this should be a high priority. Getting that disk back online would be a good thing though.

Okay, I'm not sure I understand this right now.
I certainly can't just restore the pool without a new disc, or should I try anyway?

If that works, I can insert a new hard drive and start a resilvering, right?

So how can I restore the pool?
 

Currypaul

Dabbler
Joined
Aug 19, 2019
Messages
10
So I just found out, that I use 8 GB of RAM, so this won't be the problem. Maybe the data is still okay.
I remember that the NAS made some louder noise the last days, maybe there is just the one defekctive hard drive.

When checking the drives with "glabel status" I get these results:

Code:
root@nassi:~ # glabel status
                                      Name  Status  Components
gptid/2b5cfca1-1e57-11e9-b0a9-98f2b3e7cc38     N/A  ada0p2
gptid/2c792f12-1e57-11e9-b0a9-98f2b3e7cc38     N/A  ada1p2
gptid/c55f082f-20c6-11e9-8320-98f2b3e7cc38     N/A  ada2p2
                              label/efibsd     N/A  ada3p1
gptid/c24f8f4f-1e90-11e9-ac8c-98f2b3e7cc38     N/A  ada3p1
gptid/2b4eca1e-1e57-11e9-b0a9-98f2b3e7cc38     N/A  ada0p1


With "camcontrol devlist" I get this:

Code:
root@nassi:~ # camcontrol devlist
<WDC WD30EZRS-11J99B1 80.00A80>    at scbus0 target 0 lun 0 (pass0,ada0)
<WDC WD30EZRS-11J99B1 80.00A80>    at scbus1 target 0 lun 0 (pass1,ada1)
<WDC WD30EZRX-00SPEB0 80.00A80>    at scbus2 target 0 lun 0 (pass2,ada2)
<Marvell Console 1.01>             at scbus7 target 0 lun 0 (pass3)
<CT120BX500SSD1 M6CR013>           at scbus8 target 0 lun 0 (pass4,ada3)


It seems easy if I follow the exclusion procedure to find out which device is failing and replace it.
After this it might be an good idea to use dedicated 24/7 drives :rolleyes:

What is your opinion on this approach?
 
Top