[plug] harddrive becomes read-only

Gavin Chester gavin.chester at gmail.com
Sun Sep 7 22:43:20 WST 2008


On Sun, 2008-09-07 at 15:46 +0800, Gavin Chester wrote:
> On Sun, 2008-09-07 at 12:43 +0800, Kev wrote:
> > SpinRite (http://www.grc.com/default.htm) is outstanding tool for 
> > diagnosis, maintenance and data recovery.
> > 
> > Kev
> 
> Okay. Thanks. Looking into it :-)
> 
> Gavin

Oops, didn't realise spinrite wasn't FOSS, so not going there :-( 

Anyway, I had onboard several scsi utility suites, the one seeming most
applicable being 'scsirastools'. Two utilities in this suite, 'sgdiag'
and 'sgdefects' told me that one of the drives ahd developed 36 defects
as per the abbreviated report below. Trouble is, what does it all mean? 
_______________________________________
Starting get_defects process for 1 disk.
Getting defects from disk 5
[5] Skipping primary defects
[5] Disk has 36 grown defects

[5] get_defects command complete, status = 0x0
 0 /dev/sg0 [0:0:0:0] Disk  ATA      ST3160812A       3.AA
[em]
 1 /dev/sg1 [1:0:0:0] CDROM PIONEER  DVD-RW  DVR-112D 1.06  06/11/2
[em]
 2 /dev/sg2 [1:0:1:0] CDROM SAMSUNG  CD-R/RW SW-248F  R602 DEL
[em]
 3 /dev/sg3 [3:0:1:0] Disk  LSILOGIC RAID ARRAY    IS 1000 LSI INTERNAL
69312MB
 4 /dev/sg4 [3:1:1:0] Disk  FUJITSU  MAP3367NP        5605 UPS3P3602KSJ
34732MB
 5 /dev/sg5 [3:1:2:0] Disk  SEAGATE  ST336607LW       0004 3JA0XVS8
35003MBs
Device [5] is ready for get_defects
Starting get_defects process for 1 disk.
Getting defects from disk 5
[5] Skipping primary defects
[5] Disk has 36 grown defects

Defect List: 
0000: 00 0d 01 20 
0004: 00376a0100000012  00377f0100000320  
0014: 0040700100000140  00408c0100000010  
0024: 00408c01000002f5  00408e010000026d  
0034: 0041030100000101  00502401000000ae  
0044: 0054970000000082  005e8c01000002b8  
0054: 0061e50100000072  0061e50100000132  
0064: 0061fe01000002ad  0061ff0100000232  
0074: 0062000100000072  00622800000001a2  
0084: 00625f01000000ea  00638501000000a7  
0094: 00638501000000b2  00639701000002cb  
00a4: 0064130100000132  00651a010000022d  
00b4: 00675a01000002b2  006ed80100000019  
00c4: 00760c0100000187  0078e70100000076  
00d4: 007a950100000148  007a9a0100000139  
00e4: 007aa201000001b2  007ad301000000e8  
00f4: 007ae3010000003b  00b481000000009d  
0104: 00b7a4010000002c  00badd00000001e1  
0114: 00bb0f0000000145  00bcf500000000dd  
-----------------------------------------
   




More information about the plug mailing list