SOLVED Unable to detect device type

Status
Not open for further replies.

Nerdlinger

Dabbler
Joined
Dec 22, 2016
Messages
23
trying to run my first smart test
guess i'm not so smart...
Code:
/dev# ls da*
da0  da0p1  da0p2  da1  da1p1  da1p2
# smartctl -t short /dev/da0p1
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/da0p1: Unable to detect device type
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
[root@freenas] /dev# smartctl -t short /dev/da0p2
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/da0p2: Unable to detect device type
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
[root@freenas] /dev#


so, how do I determine my device type to run a short test? its a (pair of) 8TB WD reds....
Code:
# camcontrol devlist
<ATA WDC WD80EFZX-68U 0A83>  at scbus0 target 19 lun 0 (pass0)
<ATA WDC WD80EFZX-68U 0A83>  at scbus0 target 23 lun 0 (pass1)
<SanDisk Cruzer Dial 1.00>  at scbus6 target 0 lun 0 (pass2,da0)
<SanDisk Cruzer Glide 1.00>  at scbus7 target 0 lun 0 (pass3,da1)
<TEAC DV-28S-W 1.2A>  at scbus8 target 0 lun 0 (pass4,cd0)

Code:
/dev# glabel status
  Name  Status  Components
gptid/9e08e74a-d02d-11e6-8172-0025903cf692  N/A  da0p1
gptid/9e19747b-d02d-11e6-8172-0025903cf692  N/A  da0p2
gptid/9dd9bf3b-d02d-11e6-8172-0025903cf692  N/A  da1p1
gptid/98215eaa-dded-11e6-8f02-0025903cf692  N/A  mfisyspd0p2
gptid/98a61333-dded-11e6-8f02-0025903cf692  N/A  mfisyspd1p2
 
Last edited:

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
da0 is the drive. da0p1 is the first partition on that drive, da1 is another drive, da1p1 is the first partition on da1, and so on.

So use
smartctl -t short /dev/da0
or
smartctl -t short /dev/da1
 

Nerdlinger

Dabbler
Joined
Dec 22, 2016
Messages
23
thanks, but nope, I'm still being dumb. those both return
Code:
 Unknown USB bridge [0x0781:0x5599 (0x100)]

meaning, I think, that I don't have the device right.
I do also have
Code:
[/dev] # ls *d0*
atkbd0  kbd0@  mfisyspd0p1  mfisyspd0p2
cd0  mfisyspd0  mfisyspd0p1.eli  ukbd0

I thought it might be the mfisyspd0s, but those have the same unknown device issue...
 

Nerdlinger

Dabbler
Joined
Dec 22, 2016
Messages
23
Got a little further. The device, it turns out, is /dev/pass0
BUT
when I run
dev smartctl -t short /dev/pass0
then it tells me
Code:
MegaRAID SAT layer is reportedly buggy,

But I am running a new LSI9211.....which is supposedly supported. the drives are hooked up as JBODs. I didn't specifically flash the card into IT mode, since in recognized the drives as JBODs is that my issue?​
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Hardware and FreeNAS version? Flash your card to IT mode to fix your problems.
 
Last edited by a moderator:

Nerdlinger

Dabbler
Joined
Dec 22, 2016
Messages
23
Yup. It mode solved it. Thanks. Now on to my next question. I'll update my sig with freenas version...
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
For future questions, please post your system information in the body of the message. Users on mobile devices can't see signatures.
 
Status
Not open for further replies.
Top