Pagina 1 di 1

Hard disk morto?

Inviato: mar 19 feb 2013, 21:29
da yAri
Buona sera a tutti.
Ho un Hard Disk Toshiba da 1 Tera di un amico.
Lui usa Windows 7 e l'hard disk funzionava bene. Non so cosa sia successo non gli è mai caduto ma ha smesso di funzionare da quanto dice lui (non glielo riconosce).
L'ho preso e l'ho collegato alla macchina mia (utilizzo Slackware 14.0 a 64 bit.)
Non posso accederci ma viene riconosciuto:
OUTPUT di dmesg:

Codice: Seleziona tutto

[ 7165.447164] scsi 18:0:0:0: Direct-Access     ST310005 20AS             0041 PQ: 0 ANSI: 0
[ 7165.448903] sd 18:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 7165.449781] sd 18:0:0:0: [sdd] Write Protect is off
[ 7165.449785] sd 18:0:0:0: [sdd] Mode Sense: 03 00 00 00
[ 7165.450657] sd 18:0:0:0: [sdd] No Caching mode page present
[ 7165.450662] sd 18:0:0:0: [sdd] Assuming drive cache: write through
[ 7165.453279] sd 18:0:0:0: [sdd] No Caching mode page present
[ 7165.453282] sd 18:0:0:0: [sdd] Assuming drive cache: write through
[ 7165.468170]  sdd: sdd1
[ 7165.476782] sd 18:0:0:0: [sdd] No Caching mode page present
[ 7165.476785] sd 18:0:0:0: [sdd] Assuming drive cache: write through
[ 7165.476787] sd 18:0:0:0: [sdd] Attached SCSI disk
OUTPUT lsusb:

Codice: Seleziona tutto

root@workstation:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 003 Device 002: ID 041e:4036 Creative Technology, Ltd Webcam Live!/Live! Pro
Bus 004 Device 002: ID 046d:c049 Logitech, Inc. G5 Laser Mouse
Bus 002 Device 012: ID 05e3:0718 Genesys Logic, Inc. IDE/SATA Adapter
Ho deciso di vedere meglio la situazione con fdisk, ma non riesco ad accederci si blocca a questo punto:

Codice: Seleziona tutto

root@workstation:~# fdisk /dev/sdd
Welcome to fdisk (util-linux 2.21.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Formattandolo con mkfs.ext2 si blocca a questo punto e da questi errori:

Codice: Seleziona tutto

root@workstation:~# mkfs.ext2 -v -L HD /dev/sdd
mke2fs 1.42.6 (21-Sep-2012)
/dev/sdd is entire device, not just one partition!
Proceed anyway? (y,n) y
fs_types for mke2fs.conf resolution: 'ext2'
Warning: could not erase sector 2: Attempt to write block to filesystem resulted in short write
Filesystem label=HD
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
61054976 inodes, 244190646 blocks
12209532 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
7453 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
        102400000, 214990848

Allocating group tables: done                            
Warning: could not read block 0: Attempt to read block from filesystem resulted in short read
Warning: could not erase sector 0: Attempt to write block to filesystem resulted in short write
Writing inode tables:    0/7453
Avete qualche suggerimento ragazzi? :oops: :oops: :oops:

Re: Hard disk morto?

Inviato: mer 20 feb 2013, 12:26
da Thraphyx
yAri ha scritto: Ho deciso di vedere meglio la situazione con fdisk, ma non riesco ad accederci si blocca a questo punto:

Codice: Seleziona tutto

root@workstation:~# fdisk /dev/sdd
Welcome to fdisk (util-linux 2.21.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Che vuol dire si blocca? Che comandi hai dato?

Codice: Seleziona tutto

fdisk -l /dev/sdd
cosa restituisce?

Re: Hard disk morto?

Inviato: mer 20 feb 2013, 19:43
da yAri
Dopo vari tentativi e ricerche ho deciso di aprire la scatola e collegare l'hard disk con il cavo SATA (prima era la scatola nera alimentata collegata al pc con il cavo usb).

Ora non si blocca quando do fdisk /dev/sdb, ma da un errore preciso: (viene riconosciuto come sdb)

Codice: Seleziona tutto

root@workstation:~# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.21.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

fdisk: unable to read /dev/sdb: Input/output error
root@workstation:~# 

Quando provo a formattarlo con ext2, non si blocca più ma finisce così:

Codice: Seleziona tutto

root@workstation:~# mkfs.ext2 -v -L HD /dev/sdb
mke2fs 1.42.6 (21-Sep-2012)
/dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y
fs_types for mke2fs.conf resolution: 'ext2'
Warning: could not erase sector 2: Attempt to write block to filesystem resulted in short write
Filesystem label=HD
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
61054976 inodes, 244190646 blocks
12209532 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
7453 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
        102400000, 214990848

Allocating group tables: done                            
Warning: could not read block 0: Attempt to read block from filesystem resulted in short read
Warning: could not erase sector 0: Attempt to write block to filesystem resulted in short write
Writing inode tables: done                            
ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir
root@workstation:~# 
Inoltre da questo errore al boot:
Immagine

premendo f1 il boot continua normalmente!

E molteplici errori all'avvio del sistema, il più frequente:
Unhandled error code.

Dando il comando fdisk -l /dev/sdb, non succede assolutamente nulla mentre prima si bloccava:

Codice: Seleziona tutto

root@workstation:~# fdisk -l /dev/sdb
root@workstation:~# 

Grazie per le risposte! :mille:

Re: Hard disk morto?

Inviato: gio 21 feb 2013, 8:39
da rik70
Ciao.

Dunque, dalla schermata del BIOS sembra inequivocabile che il disco ha dei problemi: molto probabilmente è andato.

Invece l'errore durante la formattazione lo otteresti anche con un disco "buono", e te lo "dice" il programa stesso:
/dev/sdb is entire device, not just one partition!
In pratica stai cercando di formattare un dispositivo intero e non una sua partizione - come dovrebbe essere nella normalità dei casi.

Riepilogando:

il disco sembra rotto;

il sistema - e lo stesso fdisk - non vede partizioni ma tu provi a formattare l'intero disco.

Cosa puoi fare a questo punto?

Bella domanda.

Puoi solo provare a vedere dov' è il problema.

Prova a lanciare da root:

Codice: Seleziona tutto

smartctl -a /dev/sdb
e incollare qui il risultato.

O più semplicemente:

Codice: Seleziona tutto

smartctl -A /dev/sdb
Ovviamente sostituisci /dev/sdb con l'identificativo del dispositivo che fa al caso tuo.

Re: Hard disk morto?

Inviato: gio 21 feb 2013, 13:26
da yAri
Credo che sia morto..

Codice: Seleziona tutto

root@workstation:~# smartctl -A /dev/sdb
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.2.29-smp] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

Codice: Seleziona tutto

root@workstation:~# smartctl -a /dev/sdb
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.2.29-smp] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

Vendor:               /5:0:0:0
Product:              
User Capacity:        600,332,565,813,390,450 bytes [600 PB]
Logical block size:   774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
root@workstation:~# 

Re: Hard disk morto?

Inviato: gio 21 feb 2013, 14:23
da rik70
Puoi solo riprovare aggiungendo l'opzione '-T verypermissive':

Codice: Seleziona tutto

smartctl -A -T verypermissive /dev/sdb
Ma la vedo dura.

Re: Hard disk morto?

Inviato: gio 21 feb 2013, 16:12
da yAri

Codice: Seleziona tutto

root@workstation:~# smartctl -A -T verypermissive /dev/sdb
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.2.29-smp] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

Codice: Seleziona tutto

root@workstation:~# smartctl -a -T verypermissive /dev/sdb
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.2.29-smp] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

Vendor:               /5:0:0:0
Product:              
User Capacity:        600,332,565,813,390,450 bytes [600 PB]
Logical block size:   774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
Log Sense failed, IE page [scsi response fails sanity test]

Error Counter logging not supported
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
Device does not support Self Test logging
root@workstation:~# 

Re: Hard disk morto?

Inviato: mar 26 feb 2013, 21:51
da yAri
Metto risolto?