Determine the physical HDD in the pool

numbertwo

Dabbler
Joined
Jul 1, 2018
Messages
32
Hi,
I got a daily run output in my mailbox that indicates a potential problematic HDD, but I don't know how to identify the physical drive correctly from the info gathered :

1. From the email alert ,i can see this line, it does say some problems are found in da0p2 , am i right ?

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
da0p2 ONLINE 0 0 1

2. running a glabel status (from Google!) :

[root@freenas ~]# glabel status
Name Status Components
gptid/595823f5-7d40-11e8-8907-6466b3042a22 N/A da0p1
gptid/d9813e80-7d30-11e8-9d21-6466b3042a22 N/A ada0p2
gptid/dc237607-7d30-11e8-9d21-6466b3042a22 N/A ada1p2
gptid/dce63909-80ce-11e8-aa7b-6466b3042a22 N/A ada2p2
gptid/d9676542-7d30-11e8-9d21-6466b3042a22 N/A ada0p1

3. Now i login as Root to GUI , this is the info from 'View Disk' :
ada0 WD-WCC4E1610094
ada1 WD-WCC4E1614243
ada2 Z1D6RCX1
da0 A2100000000000001484


So, does da0p2 = ada0 WD-WCC4E1610094 ?

Your help is much appreciated.
Thanks
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
da0 is not adao this is a different disc. this will give you the serial number run in command line

sudo smartctl -a /dev/da0 | grep "Serial Number"
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
As that your boot drive, and are you booting from USB? da0 sounds like a USB stick.

Those notoriously go bad, by the way. First things: Take a backup of your configuration while FreeNAS is still up and running.

Then replace that boot drive. SSD or SATADOM will last you far longer than USB, and cost about the same now.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Your help is much appreciated.
Thanks
Do you understand the answers that have been provided?

The storage pool drives have a partition with a gptid and the storage pool is created using the gptid instead of the dev/ada#

The da# drive (probably a USB drive) and the ada# drives (probably SATA) are completely different.
 

numbertwo

Dabbler
Joined
Jul 1, 2018
Messages
32
Thank you to all of you, Chris,Yorick, ethereal ..
After reading all your replies, I am now sure that it is the USB boot drive that is giving error. I'm doing a Mirror now to the USB-Boot drive, will followed by replacing a new USB boot drive soon. Fortunately, a 16GB Boot is still much cheaper here compare to a small SSD, so I will stock it up.
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
81 RM, a little under 20 bucks - that’s what they cost here, too.

It’s your money and your build - the question is at what point you’ve burned through so many USB that an SSD would have been the same price or less.

https://www.lazada.com.my/shop-solid-state-drives/
 

numbertwo

Dabbler
Joined
Jul 1, 2018
Messages
32
Does 'Mirror' doing bit-to-bit copy ? Notice that even the new thumbdrive (da1p2) has Checksum error now ... What is the best way to have a new boot thumbdrive with no checksum on it?


81 RM, a little under 20 bucks - that’s what they cost here, too.

It’s your money and your build - the question is at what point you’ve burned through so many USB that an SSD would have been the same price or less.

https://www.lazada.com.my/shop-solid-state-drives/

Thanks Yorick, i will certainly consider this option. At the moment i have utilized most of my SATA slots in my old N40L hence the need to run the Freenas out from the USB ports available.
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
At the moment i have utilized most of my SATA slots

do you have one ?

i used to have a usb drive but it kept getting errors like you - so i mirrored it so the boot would be save - it just doubled my problems now i was getting even more problems because i had one more usb.

i'd definitely look it getting a ssd - as you said you have used most of the sata but not all

you can also get a card to add devices - i'd do this. and never go back to usb
 

numbertwo

Dabbler
Joined
Jul 1, 2018
Messages
32
do you have one ?

i used to have a usb drive but it kept getting errors like you - so i mirrored it so the boot would be save - it just doubled my problems now i was getting even more problems because i had one more usb.

i'd definitely look it getting a ssd - as you said you have used most of the sata but not all

you can also get a card to add devices - i'd do this. and never go back to usb

have got one but that's planned for something else.. but your suggestion on "you can also get a card to add devices " is good! Will look into this too. The other option i can think of is to get an enclosure for the SSD and plug it into the USB port - don't u think it will work better than thumbdrives?
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
a usb connection is not reliable and could cause problems - especially with a boot drive. sata is the way to go in my opinion
 
Top