Hi,
recently one of our disk from our storage (CyberStore 316S, is supermicro based with Openfiler NSA 2.3 running) crashed. We have an RAID 10 with two spares, the array is already recovered and I want to add a new disk as spare, so I remove the old one and hot swapped it with a new one, using the typical orders:
remove disk from array
echo 1 > /sys/block/device-name/device/delete
swap disks
echo "- - -" > /sys/class/scsi_host/hosth/scan
After that:
- The system can see the new scsi disk but only as a generic sgn device /dev/sg5
- The lights in the bay of this disk are totally off.
- The disks that we had previously are model ST3750528AS and the new one is model ST3750640AS (same expect except from the cache size)
some output / log
lsscsi
[0:0:0:0] disk ATA ST9160412AS 0002 -
[1:0:0:0] disk ATA ST9160412AS 0002 -
[2:0:0:0] cd/dvd TSSTcorp CDDVDW SN-S083C SB01 -
[6:1:8:0] disk ST3750528AS CC38 -
[6:1:9:0] disk ST3750528AS CC38 -
[6:1:10:0] disk ST3750640AS 3.AA - <--- This is the disk
[6:1:11:0] disk ST3750528AS CC38 -
[6:1:12:0] disk ST3750528AS CC38 -
[6:1:13:0] disk ST3750528AS CC38 -
[6:1:14:0] disk ST3750528AS CC38 -
[6:1:15:0] disk ST3750528AS CC38 -
[6:1:16:0] disk ST3750528AS CC38 -
[6:1:17:0] disk ST3750528AS CC38 -
[6:1:18:0] disk ST3750528AS CC38 -
[6:1:19:0] disk ST3750528AS CC38 -
[6:1:20:0] disk ST3750528AS CC38 -
[6:1:21:0] disk ST3750528AS CC38 -
[6:1:22:0] disk ST3750528AS CC38 -
[6:1:23:0] disk ST31000528AS CC38 -
[6:3:0:0] enclosu LSILOGIC SASX28 A.0 9 -
- There is no map between sg5 and a sdN disk
/dev/sg0 /dev/sda
/dev/sg1 /dev/sdb
/dev/sg2 /dev/scd0
/dev/sg3 /dev/sdc
/dev/sg4 /dev/sdd
/dev/sg5
/dev/sg6 /dev/sdf
/dev/sg7 /dev/sdg
/dev/sg8 /dev/sdh
/dev/sg9 /dev/sdi
/dev/sg10 /dev/sdj
/dev/sg11 /dev/sdk
/dev/sg12 /dev/sdl
/dev/sg13 /dev/sdm
/dev/sg14 /dev/sdn
/dev/sg15 /dev/sdo
/dev/sg16 /dev/sdp
/dev/sg17 /dev/sdq
/dev/sg18 /dev/sdr
/dev/sg19
- This is the log of the scsi bus when I add the disk:
[9171308.109443] scsi 6:1:10:0: Direct-Access ST3750640AS 3.AA PQ: 1 ANSI: 5
[9171308.110365] scsi 6:1:10:0: Attached scsi generic sg5 type 0
compared to when the system started with the old disk:
[ 11.207104] scsi 6:1:10:0: Direct-Access ST3750528AS CC38 PQ: 0 ANSI: 5
[ 11.983204] sd 6:1:10:0: [sde] 1463791616 512-byte hardware sectors: (749 GB/697 GiB)
[ 11.984295] sd 6:1:10:0: [sde] Write Protect is off
[ 11.984298] sd 6:1:10:0: [sde] Mode Sense: 5b 00 10 08
[ 11.986456] sd 6:1:10:0: [sde] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 12.001350] sd 6:1:10:0: [sde] 1463791616 512-byte hardware sectors: (749 GB/697 GiB)
[ 12.002451] sd 6:1:10:0: [sde] Write Protect is off
[ 12.002455] sd 6:1:10:0: [sde] Mode Sense: 5b 00 10 08
[ 12.004614] sd 6:1:10:0: [sde] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 12.005012] sd 6:1:10:0: [sde] Attached SCSI removable disk
[ 12.005066] sd 6:1:10:0: Attached scsi generic sg5 type 0
I'm not sure of the issue, maybe this disk model has any problem, the issue that there is no light in the bay annoys me but maybe I'm missing something, the system can see the disk but dont create the sdn device associated, anyway cant see any more log of errors with the drive.
Thanks in Advance