9.1.1 drive serial number no longer displayed

Status
Not open for further replies.

Steve Simpson

Dabbler
Joined
Oct 20, 2013
Messages
19
I upgraded a server from 8.0.4 to 9.1.1 and now the drive serial number is only being displayed for the first drive. The serial numbers on the other four drives are displayed as blank. Is there a command I can run to get it to detect and display the drive serial numbers?

missing drive serial numbers.JPG
 

warri

Guru
Joined
Jun 6, 2011
Messages
1,193

Steve Simpson

Dabbler
Joined
Oct 20, 2013
Messages
19
Looks like this bug: https://bugs.freenas.org/issues/3101

Any more information about your hardware? Are you using a special expander card/RAID controller?

Nope. Not using raid on the motherboard or an extender card. I'm just using a 6 drive AMD E-350 Mini-Itx motherboard with five identical SATA drives. The interesting thing is that it was having a problem with drive zero - it didn't look like it was seeing it. After upgrading to 9.1.1 I opened it up and checked the drive. It may have had a loose cable because after booting it up again it saw the drive and started resilvering/repairing etc. That is now the only drive that it reports the serial number on and the rest are blank. That can't be a coincidence.

Thanks for your link. Glad it was already reported and not just me.
 

warri

Guru
Joined
Jun 6, 2011
Messages
1,193
I think the GUI uses smartctl to determine the disks serial. Can you try and see if it is reported correctly in the CLI? The command would be smartctl -i /dev/adaX (replace X with an actual drive number).

Anyway, you should probably also add a comment to the bug report stating your exact hardware.
 

TheSmoker

Patron
Joined
Sep 19, 2012
Messages
225
I have raised that ticket. In my case 8 disks are on motherboard (GA-F2A85XM-D3H) with A85X chipset and the ninth disk on an addon AHCI SATA card (noname brand).
smartctl -i /dev/ada2

screen-shot-2013-10-21-at-12-10-43-pm-png.2946


Code:
[root@jukebox ~]# smartctl -i /dev/ada2                               
smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) 
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===                                   
Model Family:    Western Digital Caviar Green (AF, SATA 6Gb/s)       
Device Model:    WDC WD20EARX-00PASB0                                 
Serial Number:    WD-WCAZAA825237                                     
LU WWN Device Id: 5 0014ee 25bac4698                                   
Firmware Version: 51.0AB51                                             
User Capacity:    2,000,398,934,016 bytes [2.00 TB]                   
Sector Sizes:    512 bytes logical, 4096 bytes physical               
Device is:        In smartctl database [for details use: -P show]     
ATA Version is:  ATA8-ACS (minor revision not indicated)             
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)               
Local Time is:    Mon Oct 21 12:07:29 2013 EEST                       
SMART support is: Available - device has SMART capability.             
SMART support is: Enabled              
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Thanks, can you please also post output of:
camcontrol devlist -v
 

TheSmoker

Patron
Joined
Sep 19, 2012
Messages
225
Code:
scbus1 on ahcich1 bus 0:                                                                                                           
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus1 target 0 lun 0 (ada1,pass1)                                                           
<>                                at scbus1 target -1 lun -1 ()                                                                   
scbus2 on ahcich2 bus 0:                                                                                                           
<>                                at scbus2 target -1 lun -1 ()                                                                   
scbus3 on ahcich3 bus 0:                                                                                                           
<>                                at scbus3 target -1 lun -1 ()                                                                   
scbus4 on ahcich4 bus 0:                                                                                                           
<>                                at scbus4 target -1 lun -1 ()                                                                   
scbus5 on ahcich5 bus 0:                                                                                                           
<>                                at scbus5 target -1 lun -1 ()                                                                   
scbus6 on ahcich6 bus 0:                                                                                                           
<>                                at scbus6 target -1 lun -1 ()                                                                   
scbus7 on ahcich7 bus 0:                                                                                                           
<>                                at scbus7 target -1 lun -1 ()                                                                   
scbus8 on ahcich8 bus 0:                                                                                                           
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus8 target 0 lun 0 (ada2,pass2)                                                           
<>                                at scbus8 target -1 lun -1 ()                                                                   
scbus9 on ahcich9 bus 0:                                                                                                           
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus9 target 0 lun 0 (ada3,pass3)                                                           
<>                                at scbus9 target -1 lun -1 ()                                                                   
scbus10 on ahcich10 bus 0:                                                                                                         
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus10 target 0 lun 0 (ada4,pass4)                                                         
<>                                at scbus10 target -1 lun -1 ()                                                                 
scbus11 on ahcich11 bus 0:                                                                                                         
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus11 target 0 lun 0 (ada5,pass5)                                                         
<>                                at scbus11 target -1 lun -1 ()                                                                 
scbus12 on ahcich12 bus 0:                                                                                                         
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus12 target 0 lun 0 (ada6,pass6)                                                         
<>                                at scbus12 target -1 lun -1 ()                                                                 
scbus13 on ahcich13 bus 0:                                                                                                         
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus13 target 0 lun 0 (ada7,pass7)                                                         
<>                                at scbus13 target -1 lun -1 ()                                                                 
scbus14 on ahcich14 bus 0:                                                                                                         
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus14 target 0 lun 0 (ada8,pass8)                                                         
<>                                at scbus14 target -1 lun -1 ()                                                                 
scbus15 on ahcich15 bus 0:                                                                                                         
<WDC WD20EARX-00PASB0 51.0AB51>    at scbus15 target 0 lun 0 (ada9,pass9)                                                         
<>                                at scbus15 target -1 lun -1 ()                                                                 
scbus16 on umass-sim0 bus 0:                                                                                                       
<Seagate Expansion Desk 0711>      at scbus16 target 0 lun 0 (da0,pass10)                                                         
scbus17 on umass-sim1 bus 1:                                                                                                       
<Seagate Expansion Desk 0711>      at scbus17 target 0 lun 0 (da1,pass11)                                                         
scbus18 on umass-sim2 bus 2:                                                                                                       
<ADATA USB Flash Drive 1.00>      at scbus18 target 0 lun 0 (da2,pass12)                                                         
scbus19 on umass-sim3 bus 3:                                                                                                       
<ADATA USB Flash Drive 1.00>      at scbus19 target 0 lun 0 (da3,pass13)                                                         
scbus-1 on xpt0 bus 0:                                                                                                             
<>                                at scbus-1 target -1 lun -1 (xpt0)        
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Thanks. Getting there. I guess you only see serial for ada1. Can you please also post output of:
python /usr/local/www/freenasUI/middleware/notifier.py _camcontrol_list
(It's the function the GUI uses to parse the camcontrol output.)
 

TheSmoker

Patron
Joined
Sep 19, 2012
Messages
225
Code:
[root@jukebox ~]# python /usr/local/www/freenasUI/middleware/notifier.py _camcontrol_list                                         
{'ada8': {'controller': 14, 'lun': 0, 'channel': 0, 'drv': 'ahcich'}, 'ada9': {'controller': 15, 'lun': 0, 'channel': 0, 'drv': 'ahc
ich'}, 'ada0': {'controller': 0, 'lun': 0, 'channel': 0, 'drv': 'ahcich'}, 'ada1': {'controller': 1, 'lun': 0, 'channel': 0, 'drv':
'ahcich'}, 'ada2': {'controller': 8, 'lun': 0, 'channel': 0, 'drv': 'ahcich'}, 'ada3': {'controller': 9, 'lun': 0, 'channel': 0, 'dr
v': 'ahcich'}, 'ada4': {'controller': 10, 'lun': 0, 'channel': 0, 'drv': 'ahcich'}, 'ada5': {'controller': 11, 'lun': 0, 'channel':
0, 'drv': 'ahcich'}, 'ada6': {'controller': 12, 'lun': 0, 'channel': 0, 'drv': 'ahcich'}, 'ada7': {'controller': 13, 'lun': 0, 'chan
nel': 0, 'drv': 'ahcich'}, 'da0': {'controller': 0, 'lun': 0, 'channel': 0, 'drv': 'umass-sim'}, 'da1': {'controller': 1, 'lun': 0,
'channel': 0, 'drv': 'umass-sim'}, 'da2': {'controller': 2, 'lun': 0, 'channel': 0, 'drv': 'umass-sim'}, 'da3': {'controller': 3, 'l
un': 0, 'channel': 0, 'drv': 'umass-sim'}}  
 

nvader

Explorer
Joined
Dec 20, 2012
Messages
53
I have this same issue. except NONE of my drives show serial number (they did in 8x) also i have my drives set to sleep/spin down after 30 minutes. this no longer works either.
would you like me to post the output to the requests above or do you already have what you need?
thanks
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
I have this same issue. except NONE of my drives show serial number (they did in 8x) also i have my drives set to sleep/spin down after 30 minutes. this no longer works either.
would you like me to post the output to the requests above or do you already have what you need?
I notice that one of my six drives shows no serial no. in the GUI, and there is no way to edit the entry to add the serial no.: I can highlight that field, but no cursor is visible and I cannot enter anything.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
No. The serial number field is autogenerated for the GUI on the fly.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
would you like me to post the output to the requests above or do you already have what you need?
Thanks, I have all I need so far. I'm currently quite busy, so I'll probably continue debugging this next week.
 

mka

Contributor
Joined
Sep 26, 2013
Messages
107
I can provide the output as well. I use the internal controller of an Intel S1200V2RPS ServerBoard and only see the serial numbers from drive ada4 and ada5. ada0-3 won't show the serial number ... although I believe it did work at the beginning. But I don't know what changed except from I destroyed and created a lot of pools.
 

raidflex

Guru
Joined
Mar 14, 2012
Messages
531
Any update on this issue? I have 2 drives not showing the serial number and the rest are fine. I am able to view them from the CLI using smartctl -i /dev/daX. I am currently using Freenas 9.2RC
 

raidflex

Guru
Joined
Mar 14, 2012
Messages
531
none of my 6 drives still show the SN running 9.2. RC

I would suspect that mine would exhibit the same problem, but the 2 drives that are not showing the SN's are even on different controllers.
 

Erich

Dabbler
Joined
Jan 10, 2014
Messages
14
My NAS is on 9.2 with a batch of 5 drives of HGST HTS541010A9E680 which all happen to have no serial no. displayed in GUI.
This is the smartctl output of one of them, which are all identical except the serial and World wide numbers:

=== START OF INFORMATION SECTION ===
Device Model: HGST HTS541010A9E680
Serial Number: JA100*********
LU WWN Device Id: 5 000cca *********
Firmware Version: JA0OA560
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sat Jan 11 01:56:20 2014 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

The above mentioned camcontrol would not tell any serial numbers:

scbus0 on ahcich0 bus 0:
<> at scbus0 target -1 lun -1 ()
scbus1 on ahcich1 bus 0:
<HGST HTS541010A9E680 JA0OA560> at scbus1 target 0 lun 0 (ada0,pass0)
<> at scbus1 target -1 lun -1 ()
scbus2 on ahcich2 bus 0:
<HGST HTS541010A9E680 JA0OA560> at scbus2 target 0 lun 0 (ada1,pass1)
<> at scbus2 target -1 lun -1 ()
scbus3 on ahcich3 bus 0:
<HGST HTS541010A9E680 JA0OA560> at scbus3 target 0 lun 0 (ada2,pass2)
<> at scbus3 target -1 lun -1 ()
scbus4 on ahcich4 bus 0:
<HGST HTS541010A9E680 JA0OA560> at scbus4 target 0 lun 0 (ada3,pass3)
<> at scbus4 target -1 lun -1 ()
scbus5 on ahcich5 bus 0:
<HGST HTS541010A9E680 JA0OA560> at scbus5 target 0 lun 0 (ada4,pass4)
<> at scbus5 target -1 lun -1 ()
scbus6 on ctl2cam0 bus 0:
<> at scbus6 target -1 lun -1 ()
scbus7 on umass-sim0 bus 0:
<ST 4GB 0000> at scbus7 target 0 lun 0 (pass5,da0)
scbus-1 on xpt0 bus 0:
<> at scbus-1 target -1 lun -1 (xpt0)
 
Status
Not open for further replies.
Top