[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RiminiLUG-General] problema Input/output error su alcuni files



Paolo Sala ha scritto:
Giovanni Pasini scrisse in data 06/05/2009 16:34:
[...]
se lancio ls ricorsivamente nella mia home:
gio@debian:~$ ls -lR | grep "Input/output error"

ottengo una lista di una decina di file.
Sembra il filesystem sia corrotto. Prova se con fsck scompaiono i problemi.

Sul perché si sia corrotto non so: controlla se ci sono stati errori nel
disco con sudo smartctl -l error /dev/sd??

In bocca al lupo al tuo hd

Paolo



Grazie per le indicazioni, riporto alcuni risultati e altri quesiti.

*Risultati con smartctl:*

debian:/home/gio# smartctl -H /dev/hda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

debian:/home/gio# smartctl -l error /dev/hda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Error Log Version: 1
No Errors Logged

[In fondo riporto i risultati di smartctl -a /dev/hda]

Poi da un rescuecd ho lanciato *fsck* e mi sono comparsi vari messaggi
(me li sono segnati a penna... potrebbero essere leggermente diversi):

66193 is in use but has dtime set Fix<y>?
66193 has imagic flag set Clear<y>?
66193 has a extra size (65276) which is invalid Fix<y>?
[...] lo stesso per gli altri inode
e poi:
66193 has compression flag set on filesystem without compression support
[...] i-blocks is [numero] should be 0 Fix<y>?

Ho risposto y a tutti... alla fine riavviando non ho più l'errore sopra,
e i file sono stati cancellati.
Mi è capitato altre volte di avere problemi all'avvio, con la necessità
di lanciare fsck e fargli riparare tutto in automatico... questo
immagino avvalori l'ipotesi di un disco un pò in bilico...
A proposito di fsck mi sapete indicare un link a materiale che spieghi
in modo semplice il funzionamento e l'uso più comune?

Altra cosa riporto il risultato di fdisk -l /dev/hda:

Disk /dev/hda: 40.0 GB, 40020664320 bytes
16 heads, 63 sectors/track, 77545 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0xb645b645

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       24385    12289693+   7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/hda2           24385       77536    26788387+   f  W95 Ext'd (LBA)
Partition 2 does not end on cylinder boundary.
/dev/hda5           24385       53853    14852061    b  W95 FAT32
/dev/hda6           53853       54953      554211   82  Linux swap / Solaris
/dev/hda7           54953       77536    11382021   83  Linux

Come vedete ci sono due avvertimenti relativi alle partizioni windows
(ricordo di avere sempre avuto questi avvertimenti). Possono essere la
causa dei problemi o crearne?. Come faccio a mettere a posto queste
cose? Vi sembra corretto il modo in cui è partizionato il disco?

Grazie per l'aiuto,
giovanni

[gio@debian:~$ uname -a
Linux debian 2.6.26-1-486 #1 Sat Nov 8 18:14:37 UTC 2008 i686 GNU/Linux]



-------------------------------------------------------------------
Risultati di *smartctl -a /dev/hda*
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda ATA IV family
Device Model:     ST340016A
Serial Number:    3HS8FWA7
Firmware Version: 3.19
User Capacity:    40,020,664,320 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   5
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Thu May  7 15:49:00 2009 CEST
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:                 ( 422) seconds.
Offline data collection
capabilities:                    (0x1b) 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.
                                        No 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:        (  31) 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   072   066   034    Pre-fail
Always       -       193104924
  3 Spin_Up_Time            0x0003   071   070   000    Pre-fail
Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age
Always       -       873
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail
Always       -       0
  7 Seek_Error_Rate         0x000f   083   060   030    Pre-fail
Always       -       225006246
  9 Power_On_Hours          0x0032   089   089   000    Old_age
Always       -       9648
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail
Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   020    Old_age
Always       -       2891
194 Temperature_Celsius     0x0022   042   049   000    Old_age   Always
      -       42
195 Hardware_ECC_Recovered  0x001a   072   064   000    Old_age   Always
      -       193104924
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
      -       0
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
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


Device does not support Selective Self Tests/Logging