sg_map got stuck on Linux media server
[root@adc12osbmed01 by-id]# sg_map -i -x
Strange, could not find device /dev/nst0 mapped to sg device??
Strange, could not find device /dev/nst2 mapped to sg device??
device /dev/nst5 failed on scsi ioctl(idlun), skip: Input/output error
Strange, could not find device /dev/nst7 mapped to sg device??
Strange, could not find device /dev/nst8 mapped to sg device??
Strange, could not find device /dev/nst11 mapped to sg device??
Strange, could not find device /dev/nst12 mapped to sg device??
Strange, could not find device /dev/nst13 mapped to sg device??
Strange, could not find device /dev/nst14 mapped to sg device??
Strange, could not find device /dev/nst15 mapped to sg device??
Strange, could not find device /dev/nst16 mapped to sg device??
/dev/sg0 0 0 0 0 0 /dev/sda HITACHI H103014SCSUN146G A2A8
/dev/sg1 0 0 1 0 0 /dev/sdb HITACHI H103014SCSUN146G A2A8
/dev/sg2 0 0 2 0 0 /dev/sdc ATA SEAGATE ST95000N SF03
/dev/sg3 0 0 3 0 0 /dev/sdd ATA SEAGATE ST95000N SF03
/dev/sg4 0 0 4 0 0 /dev/sde ATA SEAGATE ST95000N SF03
/dev/sg5 0 0 5 0 0 /dev/sdf ATA SEAGATE ST95000N SF03
/dev/sg6 0 0 6 0 0 /dev/sdg ATA SEAGATE ST95000N SF03
/dev/sg7 0 0 7 0 0 /dev/sdh ATA SEAGATE ST95000N SF03
/dev/sg8 -2 -2 -2 -2 -2
/dev/sg9 7 0 1 0 1 /dev/nst1 HP Ultrium 5-SCSI I59S
/dev/sg10 -2 -2 -2 -2 -2
/dev/sg11 7 0 3 0 1 /dev/nst3 HP Ultrium 5-SCSI I3CS
/dev/sg12 7 0 4 0 1 /dev/nst4 HP Ultrium 5-SCSI I3CS
/dev/sg13 -2 -2 -2 -2 -2
/dev/sg14 8 0 1 0 1 /dev/nst6 HP Ultrium 5-SCSI I3CS
/dev/sg15 -2 -2 -2 -2 -2
/dev/sg16 -2 -2 -2 -2 -2
/dev/sg17 8 0 4 0 1 /dev/nst9 HP Ultrium 5-SCSI I3CS
/dev/sg18 8 0 5 0 1 /dev/nst10 HP Ultrium 5-SCSI I3CS
/dev/sg19 -2 -2 -2 -2 -2
/dev/sg20 -2 -2 -2 -2 -2
/dev/sg21 -2 -2 -2 -2 -2
/dev/sg22 -2 -2 -2 -2 -2
/dev/sg23 -2 -2 -2 -2 -2
/dev/sg24 -2 -2 -2 -2 -2
/dev/sg25 -2 -2 -2 -2 -2
/dev/sg26 9 0 0 0 5 /dev/scd0 TEAC DV-W28SS-R 1.0C
Sg_map is fine. Dismounted one bad media. cancelled one job and refired. Re-added the scsi for Errored drives. Ran the inventory. Except one drive all the drives seems to be okay.
sg_scan would do..
/dev/sg0 0 0 0 0 0 /dev/sda HITACHI H103014SCSUN146G A2A8
/dev/sg1 0 0 1 0 0 /dev/sdb HITACHI H103014SCSUN146G A2A8
/dev/sg2 0 0 2 0 0 /dev/sdc ATA SEAGATE ST95000N SF03
/dev/sg3 0 0 3 0 0 /dev/sdd ATA SEAGATE ST95000N SF03
/dev/sg4 0 0 4 0 0 /dev/sde ATA SEAGATE ST95000N SF03
/dev/sg5 0 0 5 0 0 /dev/sdf ATA SEAGATE ST95000N SF03
/dev/sg6 0 0 6 0 0 /dev/sdg ATA SEAGATE ST95000N SF03
/dev/sg7 0 0 7 0 0 /dev/sdh ATA SEAGATE ST95000N SF03
/dev/sg8 7 0 0 0 1 /dev/nst0 HP Ultrium 5-SCSI I3CS
/dev/sg9 7 0 1 0 1 /dev/nst1 HP Ultrium 5-SCSI I59S
/dev/sg10 7 0 2 0 1 /dev/nst2 HP Ultrium 5-SCSI I3CS
/dev/sg11 7 0 3 0 1 /dev/nst3 HP Ultrium 5-SCSI I3CS
/dev/sg12 7 0 4 0 1 /dev/nst4 HP Ultrium 5-SCSI I3CS
/dev/sg13 -2 -2 -2 -2 -2
/dev/sg14 8 0 0 0 1 /dev/nst5 HP Ultrium 5-SCSI I3CS
/dev/sg15 8 0 1 0 1 /dev/nst6 HP Ultrium 5-SCSI I3CS
/dev/sg16 8 0 2 0 1 /dev/nst7 HP Ultrium 5-SCSI I3CS
/dev/sg17 8 0 3 0 1 /dev/nst8 HP Ultrium 5-SCSI I3CS
/dev/sg18 8 0 4 0 1 /dev/nst9 HP Ultrium 5-SCSI I3CS
/dev/sg19 8 0 5 0 1 /dev/nst10 HP Ultrium 5-SCSI I3CS
/dev/sg20 8 0 6 0 1 /dev/nst11 HP Ultrium 5-SCSI I59S
/dev/sg21 8 0 7 0 1 /dev/nst12 HP Ultrium 5-SCSI I59S
/dev/sg22 8 0 8 0 1 /dev/nst13 HP Ultrium 5-SCSI I59S
/dev/sg23 8 0 9 0 1 /dev/nst14 HP Ultrium 5-SCSI I59S
/dev/sg24 8 0 10 0 1 /dev/nst15 HP Ultrium 5-SCSI I59S
/dev/sg25 8 0 11 0 1 /dev/nst16 HP Ultrium 5-SCSI I59S
/dev/sg26 9 0 0 0 5 /dev/scd0 TEAC DV-W28SS-R 1.0C
No comments:
Post a Comment