Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2022 09:54:53 +1000
From:      Andy Farkas <andyf@andyit.com.au>
To:        freebsd-questions@freebsd.org
Subject:   /dev/diskid/
Message-ID:  <e1278337-d243-09bd-8113-9f0fe6ae1438@andyit.com.au>

next in thread | raw e-mail | index | archive | help

Why do some physical disks not show up in /dev/diskid/ ?

My home server has 6 physical spinning rust disks in it:

# camcontrol devlist
<ATA ST4000DM000-1F21 CC52>        at scbus0 target 7 lun 0 (pass0,da0)
<ATA ST4000DM000-1F21 CC52>        at scbus0 target 8 lun 0 (pass1,da1)
<ATA ST4000DM004-2CV1 0001>        at scbus0 target 9 lun 0 (pass2,da2)
<ATA ST4000DM004-2CV1 0001>        at scbus0 target 10 lun 0 (pass3,da3)
<WDC WD5002ABYS-18B1B0 02.03B04>   at scbus1 target 0 lun 0 (ada0,pass4)
<WDC WD5002ABYS-18B1B0 02.03B04>   at scbus3 target 0 lun 0 (ada1,pass5)
<AHCI SGPIO Enclosure 2.00 0001>   at scbus7 target 0 lun 0 (ses0,pass6)
#

Their serial numbers are:

# grep Serial /var/run/dmesg.boot
ada0: Serial Number WD-WCASYD150975
ada1: Serial Number WD-WCASYD147962
da2: Serial Number WFN035TQ
da1: Serial Number Z300CYLN
da3: Serial Number WFN02KHJ
da0: Serial Number Z300CGFH
#

If I look in /dev/diskid/ I only see:

# ls -laF /dev/diskid/
total 1
dr-xr-xr-x   2 root  wheel      512 Feb 20 09:06 ./
dr-xr-xr-x  13 root  wheel      512 Feb 20 09:06 ../
crw-r-----   1 root  operator  0x93 Feb 20 09:06 DISK-WFN02KHJ
crw-r-----   1 root  operator  0x91 Feb 20 09:06 DISK-Z300CYLN
#

(huh? total 1??  anyways...)

I'm on FreeBSD 12.3-STABLE #0 r371270.


Follow up question - what happened to freebsd-zfs@ ?  Because I am having
extensive problems with my zraid1 pool:

         NAME                        STATE     READ WRITE CKSUM
         z                           DEGRADED     0     0     0
           raidz1-0                  DEGRADED     0     0     0
             diskid/DISK-WFN02KHJ    ONLINE       0     0     0 block 
size: 512B configured, 4096B native
             da2                     ONLINE       0     0     0 block 
size: 512B configured, 4096B native
             diskid/DISK-Z300CYLN    ONLINE       0     0     0 block 
size: 512B configured, 4096B native
             replacing-3             OFFLINE      0     0     0
               15831259317918491414  OFFLINE      0     0     0 was 
/dev/diskid/DISK-Z300C2CK
               17843536951104768459  OFFLINE      0     0     0 was 
/dev/diskid/DISK-Z300CGFH

What would be the best list to ask for ZFS help?

-andyf




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e1278337-d243-09bd-8113-9f0fe6ae1438>