Hi!
Just got a message from sensorsd that one of my drives failed
(softraid0.drive1: pfail, WARN -- I guess pfail means 'p'hysical fail?).
Do you know any way of figuring out which actual HDD could be this?
There are 4 identical ones in the PC. Is there a utility in eg. ports
that could read eg. HW serial number from the HDD (like Linux's
hdparm(1))?
# bioctl softraid0
Volume Status Size Device
softraid0 0 Online 240054493696 sd7 RAID1
0 Online 240054493696 0:0.0 noencl <sd1a>
1 Online 240054493696 0:1.0 noencl <sd0a>
softraid0 1 Degraded 9001777889280 sd8 RAID5
0 Online 3000592678912 1:0.0 noencl <sd2a>
1 Online 3000592678912 1:1.0 noencl <sd3a>
2 Online 3000592678912 1:2.0 noencl <sd4a>
3 Offline 3000592678912 1:3.0 noencl <sd5a>
softraid0 2 Online 163444252672 sd9 CRYPTO
0 Online 163444252672 2:0.0 noencl <sd7l>
softraid0 3 Online 9001777487872 sd10 CRYPTO
0 Online 9001777487872 3:0.0 noencl <sd8a>
softraid0 4 Online 512105629696 sd11 CRYPTO
0 Online 512105629696 4:0.0 noencl <sd6a>
# disklabel sd5
# /dev/rsd5c:
type: SCSI
disk: SCSI disk
label: WDC WD30EFRX-68E
duid: b1340ed27eb30f55
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 364801
total sectors: 5860533168
boundstart: 64
boundend: 5860533168
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 5860533104 64 RAID
c: 5860533168 0 unused
# fdisk sd5
Disk: sd5 geometry: 267349/255/63 [4294961685 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 267348 254 63 [ 64: 4294961621 ] OpenBSD
# dmesg |F sd5
sd5 at scsibus1 targ 5 lun 0: <ATA, WDC WD30EFRX-68E, 82.0> SCSI3 0/direct
fixed naa.50014ee262ccb1f1
sd5: 2861588MB, 512 bytes/sector, 5860533168 sectors
sd5 at scsibus1 targ 5 lun 0: <ATA, WDC WD30EFRX-68E, 82.0> SCSI3 0/direct
fixed naa.50014ee262ccb1f1
sd5: 2861588MB, 512 bytes/sector, 5860533168 sectors
sd5 at scsibus1 targ 5 lun 0: <ATA, WDC WD30EFRX-68E, 82.0> SCSI3 0/direct
fixed naa.50014ee262ccb1f1
sd5: 2861588MB, 512 bytes/sector, 5860533168 sectors
sd5 at scsibus1 targ 5 lun 0: <ATA, WDC WD30EFRX-68E, 82.0> SCSI3 0/direct
fixed naa.50014ee262ccb1f1
sd5: 2861588MB, 512 bytes/sector, 5860533168 sectors
# sysctl hw |F sd5
hw.disknames=sd0:5594e3efd983ae85,sd1:d7b424577286863e,sd2:bc78dffe215ae5d9,sd3:d4945527f3b6f5b6,sd4:2e2a1c57ee8b6dc3,
02a11b61f9,sd11:493bc0dd8d86c23f
Thanks,
Daniel
--
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F