Grazie
Hard-Disk
Moderatore: Staff
Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
- Darkstar89
- Packager

- Messaggi: 372
- Iscritto il: mer 17 dic 2008, 19:06
- Nome Cognome: Francesco
- Slackware: 13
- Località: Sassari
Hard-Disk
Salve qualcuno mi sa dire come si fà il controllo dell'integrità disco rigito con linux?... Ho un'hd dove volevo mettere xp ma durante l'installazione (nella fase del controllo del disco) mi dà l' odiosa schermata blu
...
Grazie
Grazie
- navajo
- Staff

- Messaggi: 3884
- Iscritto il: gio 8 gen 2004, 0:00
- Nome Cognome: Massimiliano
- Slackware: 13.37 (x86_64)
- Kernel: 2.6.37.6
- Desktop: KDE 4.7.0 (Alien)
- Località: Roma
Re: Hard-Disk
vedi se questo può esserti di aiuto:
http://smartmontools.sourceforge.net/
http://smartmontools.sourceforge.net/
- sya54M
- Master

- Messaggi: 1665
- Iscritto il: mer 6 giu 2007, 14:44
- Nome Cognome: Andrea Peluso
- Slackware: 64-current
- Kernel: ultimo
- Desktop: KDE
- Località: (Salerno)
- Contatta:
Re: Hard-Disk
la cosa più rapida è smartctl -H /dev/nomedispositivo per maggiori dettagli puoi visualizzare tutte le informazioni SMART, tra cui gli errori loggati in tuttala sua vita con smartctl -a /dev/nomedispositivo o ancora puoi fare un test breve (o lungo) con smartctl -t short(long) /dev/nomedispositivo e visualizzare il risultato con smartctl -l selftest /dev/nomedispositivo
per tutte le altre opzioni: smartctl -h
per tutte le altre opzioni: smartctl -h
- Darkstar89
- Packager

- Messaggi: 372
- Iscritto il: mer 17 dic 2008, 19:06
- Nome Cognome: Francesco
- Slackware: 13
- Località: Sassari
Re: Hard-Disk
Grazie sys54M.. (sarà la 100 volta)
...
Comunque ho fatto i comandi che mi hai detto ma non capisco l'esito:
COMANDO: smartctl -l selftest /dev/hdb
Questo è quello che mi ha restituito da un breve test!
------------------------------------------------------
COMANDO: smartctl -a /dev/hdb
Io comunque posso leggere e scrivere sull'hd.. ho anche formattato con una etx2 senza problemi!
Mi sapete dire se è danneggiato?
Comunque ho fatto i comandi che mi hai detto ma non capisco l'esito:
COMANDO: smartctl -l selftest /dev/hdb
Codice: Seleziona tutto
smartctl version 5.38 [i486-slackware-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 1992 -
# 2 Extended offline Aborted by host 90% 1992 -
------------------------------------------------------
COMANDO: smartctl -a /dev/hdb
Codice: Seleziona tutto
smartctl version 5.38 [i486-slackware-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 5400.1
Device Model: ST340015A
Serial Number: 5LA0E396
Firmware Version: 3.01
User Capacity: 40,020,664,320 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Tue Jan 6 00:50:04 2009 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 420) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 28) minutes.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 057 052 025 Pre-fail Always - 151653331
3 Spin_Up_Time 0x0003 097 096 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 393
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 077 060 030 Pre-fail Always - 4346112181
9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 1992
10 Spin_Retry_Count 0x0012 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 098 098 020 Old_age Always - 2086
194 Temperature_Celsius 0x0022 024 046 000 Old_age Always - 24
195 Hardware_ECC_Recovered 0x001a 100 253 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 23
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 25 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 25 occurred at disk power-on lifetime: 1970 hours (82 days + 2 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 3b eb 6f f1 Error: ICRC, ABRT at LBA = 0x016feb3b = 24111931
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 40 3b eb 6f f1 00 00:00:00.182 READ DMA
f8 00 40 00 00 00 f0 00 00:00:00.079 READ NATIVE MAX ADDRESS
ec 00 40 00 00 00 b0 02 00:00:00.849 IDENTIFY DEVICE
ef 03 40 00 00 00 b0 02 00:00:00.165 SET FEATURES [Set transfer mode]
f8 00 40 00 00 00 f0 00 00:00:00.080 READ NATIVE MAX ADDRESS
Error 24 occurred at disk power-on lifetime: 1970 hours (82 days + 2 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 3b eb 6f f1 Error: ICRC, ABRT at LBA = 0x016feb3b = 24111931
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 40 3b eb 6f f1 00 00:00:00.887 READ DMA
c8 00 20 0b d2 2b f2 00 00:00:33.000 READ DMA
f8 00 20 00 00 00 f0 00 00:00:00.081 READ NATIVE MAX ADDRESS
ec 00 20 00 00 00 b0 02 00:00:00.852 IDENTIFY DEVICE
ef 03 20 00 00 00 b0 02 00:00:00.181 SET FEATURES [Set transfer mode]
Error 23 occurred at disk power-on lifetime: 1970 hours (82 days + 2 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 0b d2 2b f2 Error: ICRC, ABRT at LBA = 0x022bd20b = 36426251
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 20 0b d2 2b f2 00 00:00:00.469 READ DMA
f8 00 20 00 00 00 f0 00 00:00:00.080 READ NATIVE MAX ADDRESS
ec 00 20 00 00 00 b0 02 00:00:00.856 IDENTIFY DEVICE
ef 03 20 00 00 00 b0 02 00:00:00.166 SET FEATURES [Set transfer mode]
f8 00 20 00 00 00 f0 00 00:00:00.081 READ NATIVE MAX ADDRESS
Error 22 occurred at disk power-on lifetime: 1970 hours (82 days + 2 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 0b d2 2b f2 Error: ICRC, ABRT at LBA = 0x022bd20b = 36426251
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 20 0b d2 2b f2 00 00:00:00.088 READ DMA
c8 00 08 03 d1 2b f2 00 00:00:07.751 READ DMA
c8 00 08 13 d1 2a f2 00 00:00:21.000 READ DMA
c8 00 20 13 eb 6f f1 00 00:00:09.710 READ DMA
c8 00 08 1b d1 6e f1 00 00:00:00.080 READ DMA
Error 21 occurred at disk power-on lifetime: 1970 hours (82 days + 2 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 00 00 00 f0 Error: ICRC, ABRT at LBA = 0x00000000 = 0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 00 00 00 f0 00 00:00:00.380 READ DMA
f8 00 08 00 00 00 f0 00 00:00:00.080 READ NATIVE MAX ADDRESS
ec 00 08 00 00 00 b0 02 00:00:00.857 IDENTIFY DEVICE
ef 03 08 00 00 00 b0 02 00:00:00.168 SET FEATURES [Set transfer mode]
f8 00 08 00 00 00 f0 00 00:00:00.080 READ NATIVE MAX ADDRESS
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
Warning! SMART Selective Self-Test Log Structure error: invalid SMART checksum.
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Mi sapete dire se è danneggiato?
- slucky
- Iper Master

- Messaggi: 2420
- Iscritto il: mar 1 mag 2007, 15:30
- Slackware: 15.0
- Desktop: xfce4
- Distribuzione: FreeBSD
Re: Hard-Disk
in pratica ti sei risposto da solo, se le operazioni sono andate a buon fine....in alternativa c'è sempre man fsck...io comunque posso leggere e scrivere sull'hd.. ho anche formattato con una etx2 senza problemi!
Mi sapete dire se è danneggiato?
- Darkstar89
- Packager

- Messaggi: 372
- Iscritto il: mer 17 dic 2008, 19:06
- Nome Cognome: Francesco
- Slackware: 13
- Località: Sassari
Re: Hard-Disk
Comunque, non so se potrebbe servire mà.. io in questo hd ho solo i permessi di lettura.. ci può scrivere solo il root!... Potrebbe dare problemi per quello l'installazione di win?...Come potrei cambiare i permessi di tutto l'hd dando lettura e scrittura a chiunque?...
l'hd è in /dev/hdb e viene montato su /media/disk...
l'hd è in /dev/hdb e viene montato su /media/disk...
- slucky
- Iper Master

- Messaggi: 2420
- Iscritto il: mar 1 mag 2007, 15:30
- Slackware: 15.0
- Desktop: xfce4
- Distribuzione: FreeBSD
Re: Hard-Disk
potresti provare:
chmod 777 /media/disk
chmod 666 /dev/hdb
/etc/fstab:
/dev/hdb /media/disk auto noauto,user,rw 1 2
chmod 777 /media/disk
chmod 666 /dev/hdb
/etc/fstab:
/dev/hdb /media/disk auto noauto,user,rw 1 2
- Darkstar89
- Packager

- Messaggi: 372
- Iscritto il: mer 17 dic 2008, 19:06
- Nome Cognome: Francesco
- Slackware: 13
- Località: Sassari
Re: Hard-Disk
Benissimo ora anche con gli altri utenti posso scrivere.. Grazie.. Provo l'installazione ora grazie 1000

- zoros
- Linux 4.x

- Messaggi: 1362
- Iscritto il: lun 28 mag 2007, 22:51
- Nome Cognome: Fabio`Zorba`
- Slackware: 15.0
- Kernel: 5.15.19smp
- Desktop: Trinity R14.0.11
- Località: Gorizia
Re: Hard-Disk
Penso che fsck interviene solo sul filesystem, quindi non legge veramente tutti i settori del disco, smartctl agisce sul sistema smartdisk che non è detto sia abilitato da BIOS (e comunque dovrebbe rilevare il problema prima di avviare il s.o.) ... forse una bella pratica potrebbe essere:
dd if=/dev/sdb of=/dev/null (e aspettare che completi la lettura di tutti i settori per vedere se da' qualche errore)
oppure solo per la partizione di win:
dd if=/dev/sdb1 of=/dev/null
dd if=/dev/sdb of=/dev/null (e aspettare che completi la lettura di tutti i settori per vedere se da' qualche errore)
oppure solo per la partizione di win:
dd if=/dev/sdb1 of=/dev/null
vorrei riavere le mie firme ...
- Darkstar89
- Packager

- Messaggi: 372
- Iscritto il: mer 17 dic 2008, 19:06
- Nome Cognome: Francesco
- Slackware: 13
- Località: Sassari
Re: Hard-Disk
Grazie zoros .. questo è quello che mi restituito "dd if=/dev/hdb of=/dev/null" :
78165360+0 records in
78165360+0 records out
40020664320 bytes (40 GB) copied, 3147.83 s, 12.7 MB/s
...
Sembra non ci siano errori giusto?
78165360+0 records in
78165360+0 records out
40020664320 bytes (40 GB) copied, 3147.83 s, 12.7 MB/s
...
Sembra non ci siano errori giusto?
- Luci0
- Staff

- Messaggi: 3591
- Iscritto il: lun 27 giu 2005, 0:00
- Nome Cognome: Gabriele Santanché
- Slackware: 12.2 14.0
- Kernel: 2.6.27.46- gen 3.2.29
- Desktop: KDE 3.5.10 Xfce
- Località: Forte dei Marmi
- Contatta:
Re: Hard-Disk
Per un test accurato del disco puoi provare nel sito della seagate ... http://www.seagate.com/www/en-us/suppor ... eatooldreg scarica i "seatools for dos" ed esegui i vari test ... ma fai attenzione!
Se con i seatools ottieni che il disco é ok il problema potrebbe essere della memoria ... prova a fare un test accurato con memtest !
Se con i seatools ottieni che il disco é ok il problema potrebbe essere della memoria ... prova a fare un test accurato con memtest !
- zoros
- Linux 4.x

- Messaggi: 1362
- Iscritto il: lun 28 mag 2007, 22:51
- Nome Cognome: Fabio`Zorba`
- Slackware: 15.0
- Kernel: 5.15.19smp
- Desktop: Trinity R14.0.11
- Località: Gorizia
Re: Hard-Disk
Ti posso confermare che sull'unico disco IDE con settori guasti che ho (120G) la procedura descritta da' ad un certo punto:Darkstar89 ha scritto:Grazie zoros .. questo è quello che mi restituito "dd if=/dev/hdb of=/dev/null" :
78165360+0 records in
78165360+0 records out
40020664320 bytes (40 GB) copied, 3147.83 s, 12.7 MB/s
...
Sembra non ci siano errori giusto?
/dev/hdb: Input/output error
... certo che ancora più significativo sarebbe fare la procedura inversa, cioè scrivere tanti zero (dd if=/dev/null of=/dev/hdb),
ma così azzeri completamente il disco ... comunque azzerare l'HD potrebbe essere un'idea visto che win da' errori in fase di installazione
vorrei riavere le mie firme ...
- Darkstar89
- Packager

- Messaggi: 372
- Iscritto il: mer 17 dic 2008, 19:06
- Nome Cognome: Francesco
- Slackware: 13
- Località: Sassari
Re: Hard-Disk
Infatti gli errori non sono finiti.. Sono sicuro che l'hd funziona perchè ci ho installato ubuntu per provare, i problemi si hanno solo su windows...
P.S.. L'hd l'ho reciclato!, era nel pc di mio cugi che ha perso un virus con i cogl, lì ha distrutto la scheda madre, ho tenuto masterizzatore dvd e hd--- ora non ricordo bene cosa dice la schermata blu di win
P.S.. L'hd l'ho reciclato!, era nel pc di mio cugi che ha perso un virus con i cogl, lì ha distrutto la scheda madre, ho tenuto masterizzatore dvd e hd--- ora non ricordo bene cosa dice la schermata blu di win
-
Mario Vanoni
- Iper Master

- Messaggi: 3174
- Iscritto il: lun 3 set 2007, 21:20
- Nome Cognome: Mario Vanoni
- Slackware: 12.2
- Kernel: 3.0.4 statico
- Desktop: fluxbox/seamonkey
- Località: Cuasso al Monte (VA)
Re: Hard-Disk
Se hai tempo, metodo cattivissimo.
fdisk /dev/xyz
d
ogni partizione
n (nuova)
p (primaria)
1 (uno)
p (controllare)
w
q
mkfs.ext2 -c -c /dev/xyz
tune2fs -c 100 -i 12m /dev/xyz
fsck.ext2 -y -f /dev/xyz
Lo uso anche per gli USB drive (pennine),
le ultime avevano 4 (quattro) partizioni M$,
ora sono pulite, Linux con ext2
man mkfs
man fsck
e vedi altri FS possibili, se ext2 non ti va.
fdisk /dev/xyz
d
ogni partizione
n (nuova)
p (primaria)
1 (uno)
p (controllare)
w
q
mkfs.ext2 -c -c /dev/xyz
tune2fs -c 100 -i 12m /dev/xyz
fsck.ext2 -y -f /dev/xyz
Lo uso anche per gli USB drive (pennine),
le ultime avevano 4 (quattro) partizioni M$,
ora sono pulite, Linux con ext2
man mkfs
man fsck
e vedi altri FS possibili, se ext2 non ti va.
- Luci0
- Staff

- Messaggi: 3591
- Iscritto il: lun 27 giu 2005, 0:00
- Nome Cognome: Gabriele Santanché
- Slackware: 12.2 14.0
- Kernel: 2.6.27.46- gen 3.2.29
- Desktop: KDE 3.5.10 Xfce
- Località: Forte dei Marmi
- Contatta:
Re: Hard-Disk
Fammi capire la situazione ... hai un hard disk che funziona perfettamente bene solo con Linux ...che é diventato incompatibile con windows e ti lamenti !Darkstar89 ha scritto:Infatti gli errori non sono finiti.. Sono sicuro che l'hd funziona perchè ci ho installato ubuntu per provare, i problemi si hanno solo su windows...
P.S.. L'hd l'ho reciclato!, era nel pc di mio cugi che ha perso un virus con i cogl, lì ha distrutto la scheda madre, ho tenuto masterizzatore dvd e hd--- ora non ricordo bene cosa dice la schermata blu di win
A parte gli scherzi ... sarebbe interessante sapere di cosa si lamenta nella BSOD l' installer di windows