Volume 1 state is Degraded. One or more devices has been removed

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
Thx a LOT for help!
Here we are...

[root@freenas ~]# zpool status

pool: Volume1
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://illumos.org/msg/ZFS-8000-2Q
scan: scrub repaired 159G in 0 days 03:54:21 with 0 errors on Sat Mar 5 13:48
:27 2022
config:

NAME STATE READ WRITE CKS
UM
Volume1 DEGRADED 0 0
0
mirror-0 DEGRADED 0 0
0
gptid/eb0192da-0536-11e4-bcda-f46d045fb8XX ONLINE 0 0
0
17712574894611099577 UNAVAIL 0 0
0 was /dev/gptid/eb986d1e-0536-11e4-bcda-f46d045fb8XX

errors: No known data errors

pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:08:37 with 0 errors on Tue Mar 29 03:53:38
2022
config:

NAME STATE READ WRITE CKS
UM
freenas-boot ONLINE 0 0
0
mirror-0 ONLINE 0 0
0
gptid/e3aae27d-9309-11e7-b6c3-54a0508006XX ONLINE 0 0
0
da0p2 ONLINE 0 0
0

errors: No known data errors
[root@freenas ~]#


http://illumos.org/msg/ZFS-8000-2Q tells me:

a.)
Should i perform:
action: Attach the missing device and online it using 'zpool online'.

b.)
Determine which device failed to open by looking for a FAULTED device with an additional 'cannot open' message
->> There is none marked with Faulted or Message "cannot open"

c.)
Or should i perform this command:
If the device has been replaced by another disk in the same physical slot, then the device can be replaced using a single argument to the 'zpool replace' command:
# zpool replace test ada0 ? -- ((S2H7JXOD10032..))

d.)
What exactly does this mean:

"gptid/eb0192da-0536-11e4-bcda-f46d045fb8XX"
"gptid/e3aae27d-9309-11e7-b6c3-54a0508006XX "

" was /dev/gptid/eb986d1e-0536-11e4-bcda-f46d045fb8XX"
?

e.) OK, that makes it a bit clearer, not the Ethernet Cable.. will try and replace all SATA cables, but i had no broken SATA cable so far in
Pc's...? Problem could be that i have only 2 SATA Ports on my Mainboard?
Oh seems i am lucky:

SATA II Anschlüsse 4
so i could maybe move both Hard Disk Serial ATA cables to another Port.

f.)
1.)I tried first to boot only with one of the old Hard Disks previous inside NAS only, was able to perform that and get the Web Access
2.)I then tried the same with the other old Hard Disk previous inside NAS, NO! Access to Web Access!
3.)Afterwards tried with one Old Hard Disk and one replaced used Hard Disk - was able to get Web Access.
ok, maybe i waited to little Time on 2.) - Or is no Web Access the same as "Disk damaged"?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
The problem with SATA cables is that they are not designed for lots of usage. Thus they after being plugged in a few times may distort and make bad connections. This CAN (but not always) cause the chksum errors you saw. Thus I suggested use a new cable to attach to the disk and if possible try a different port
 

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
So i should reenter the old meant to be defected assumed disk and change cables and if possible ports?
or only change cables and if possible ports now?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
No, now as you are halfway through replacing the drive - you should complete that
Then test the old drive on a different system through SMART and perhaps badblocks or equivalent so you can decide if the drive is broken or OK
 

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
Hello Forum,
How could i perform a SMART check then, maybe using my little Test PC with MX Linux?
I assume i have to take an usb Adapter and mount the disk using mount -t Name /...... ???
Which command exactly to give there as mount command and as Smart command ?
smartctl -a /dev/ ??
 
Last edited:

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
Hello Forum,

My Pool Name is Volume1.
I have replaced faulty ada0 device.
therefore i had assumed i have to online the new disk using:

[root@freenas ~]# zpool online Volume1 ada0

but i get:

cannot online ada0: no such device in pool ??


For Info:
root@freenas ~]# glabel status
Name Status Components
gptid/ee3bb4c5-9966-11e7-8b3f-f46d045fb858 N/A da0p1
gptid/e3a239df-9309-11e7-b6c3-54a050800643 N/A da1p1
gptid/e3aae27d-9309-11e7-b6c3-54a050800643 N/A da1p2
gpt/Microsoft%20reserved%20partition N/A ada0p1
gptid/f7e7d714-cc4d-4564-81de-06dc4ac9920a N/A ada0p1
gpt/Basic%20data%20partition N/A ada0p2
gptid/76604610-73a6-4bc3-999f-558ce68d09a3 N/A ada0p2
gptid/eb0192da-0536-11e4-bcda-f46d045fb858 N/A ada1p2

root@freenas ~]# zpool status -x
pool: Volume1
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://illumos.org/msg/ZFS-8000-2Q
scan: scrub repaired 159G in 0 days 03:54:21 with 0 errors on Sat Mar 5 13:48
:27 2022
config:

NAME STATE READ WRITE CKS
UM
Volume1 DEGRADED 0 0
0
mirror-0 DEGRADED 0 0
0
gptid/eb0192da-0536-11e4-bcda-f46d045fb858 ONLINE 0 0
0
17712574894611099577 UNAVAIL 0 0
0 was /dev/gptid/eb986d1e-0536-11e4-bcda-f46d045fb858

errors: No known data errors
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
I am sorry, but I have completely lost track of what you are doing how and why.
Please post in code blocks:
1. zpool status -v
2. glabel status
 

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
Thank you, NugentS!
Yes, true, its a bit confusing now...
Status is that Pool "Volume1" is still degraded...
and i have replaced ada0 Hard Disk with a used spare Hard Disk with same Size and Manufacturer.

Here are the most recent Outputs:

[root@freenas ~]# glabel status |more
Name Status Components
gptid/ee3bb4c5-9966-11e7-8b3f-f46d045fb858 N/A da0p1
gptid/e3a239df-9309-11e7-b6c3-54a050800643 N/A da1p1
gptid/e3aae27d-9309-11e7-b6c3-54a050800643 N/A da1p2
gpt/Microsoft%20reserved%20partition N/A ada0p1
gptid/f7e7d714-cc4d-4564-81de-06dc4ac9920a N/A ada0p1
gpt/Basic%20data%20partition N/A ada0p2
gptid/76604610-73a6-4bc3-999f-558ce68d09a3 N/A ada0p2
gptid/eb0192da-0536-11e4-bcda-f46d045fb858 N/A ada1p2
[root@freenas ~]#




[root@freenas ~]# zpool status -v |more

pool: Volume1
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://illumos.org/msg/ZFS-8000-2Q
scan: scrub repaired 159G in 0 days 03:54:21 with 0 errors on Sat Mar 5 13:48
:27 2022
config:

NAME STATE READ WRITE CKS
UM
Volume1 DEGRADED 0 0
0
mirror-0 DEGRADED 0 0
0
gptid/eb0192da-0536-11e4-bcda-f46d045fb858 ONLINE 0 0
0
17712574894611099577 UNAVAIL 0 0
0 was /dev/gptid/eb986d1e-0536-11e4-bcda-f46d045fb858

errors: No known data errors


pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:08:37 with 0 errors on Tue Mar 29 03:53:38
2022
config:

NAME STATE READ WRITE CKS
UM
freenas-boot ONLINE 0 0
0
mirror-0 ONLINE 0 0
0
gptid/e3aae27d-9309-11e7-b6c3-54a050800643 ONLINE 0 0
0
da0p2 ONLINE 0 0
0

errors: No known data errors
[root@freenas ~]#

How to proceed to get the Pool online again and Data mirrored again?
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
and then please update to TrueNAS 12, but only when everything else is fixed
 

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
I have Freenas Version 11.1 - U7 - shown under "Systems"
So i have replaced the wrong disk? I assume not..
A thing i wonder about is that i see no pool entry in "Volume Manager" instead i could configure (new) Volumes there..

Before physically removing the failed device, go to Storage ➞ Pools. Select the pool name then click  (Settings). Select Status and locate the failed disk. Then perform these steps: ....

That's what i wrote earlier.. there is no Section Storage -- Pools with a Pool Name!
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
I am not familiar with the GUI for 11.1 however you do have a pool, called Volume1 according to zpool status
Please post a screenshot of your storage screen
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
What you'll need to do is to export the pool at the CLI and then import it in the GUI to have the GUI manage it again.

The problem with that is you often can't import a pool that's unhealthy in the GUI.

So we may be back to CLI (and much more complication) to fix it from there.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Ahhh, that would make sense
 

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
Thx for further Support. How can i add the Screenshots here? Have i to take them on a Webserver first? cause i
can not upload them from local?

What Command should i enter into CLI then as next command(s)?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
If you replaced ada0, it looks like you have done so with a disk previously used by Windows.

Wipe that disk (assuming you're confident it's the right one) in the Disks section of the GUI. https://www.ixsystems.com/documentation/freenas/11.1/storage.html#view-disks

Then use it to replace the failed drive. https://www.ixsystems.com/documentation/freenas/11.1/storage.html#replacing-a-failed-drive

It seems to me your confusion was that you were looking at the documentation for 11.3 (not 11.1, which you're using).
 

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
Hello.
Glabel status tells
.. Fb858.. ada1
.. D09a3.. .ada0
.. Microsoft reserved Partition.... ada0


But before change of disk
gptid/eb986d1e-0536-11e4-bcda-f46d045fb858 DEGRADED 0 0 391 too many errors

gptid/eb986d1e-0536-11e4-bcda-f46d045fb858 N/A ada0p2

So. .
ada0 ist the one with errors to be exchanged
....
ada0 serialnr s2h7j90b83160..

. .. So why fb858 is still listed after exchange and why is it now listed as ada1?
Should wipe ada0 or 1 now?
Habe i to in mount disk before?
Which command should i use?
Wipe Button found. . .
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
. .. So why fb858 is still listed after exchange and why is it now listed as ada1?
Forget thinking of the labels as permanent for a specific disk, they can change at boot and it doesn't matter... the gptid is what's important and that sticks to the disk.

I'm seeing ada0 referring to a disk with a Windows partition, so I would wipe that if you intend to use it with TrueNAS (or FreeNAS as you have now).
 

bernd67

Explorer
Joined
Jan 7, 2017
Messages
88
Wiped disk 0 cause Contained Microsoft Name.. Partition..
Glabel status now ist

Name Status Components
gptid/ee3bb4c5-9966-11e7-8b3f-f46d045fb858 N/A da0p1
gptid/e3a239df-9309-11e7-b6c3-54a050800643 N/A da1p1
gptid/e3aae27d-9309-11e7-b6c3-54a050800643 N/A da1p2
gptid/eb0192da-0536-11e4-bcda-f46d045fb858 N/A ada1p2
[root@freenas ~]#

Still read Warning. What next?
 
Top