Portál AbcLinuxu, 10. května 2025 11:27

Dotaz: USB disk - zálohování

5.10.2010 15:00 Petr
USB disk - zálohování
Přečteno: 314×
Odpovědět | Admin
Zdravím,

k serveru mám připojený 1TB USB disk. Zálohuju na něj data serveru. Zároveň mám tento disk zpřístupněný přes Sambu, kvůli zálohování svého PC s Win 7. Vše až donedávna fungovalo naprosto v pořádku, nicméně teď se začlo dít to, že když se sputí zálohování dat na mé stanici s Win 7, záloha probíhá a nejednou se server zakousne. V logu se objeví níže uvedené hlášky. Jediné co pomůže je natvrdo odpojit disk, server se vzpamatuje, připojit disk, namountovat a restartovat sambu. Nevíte, kde by mohl být problém?

Díky moc
Oct  4 07:08:53 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:08:53 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 35 0x0 SD]
Oct  4 07:08:53 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:08:53 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 9 0x0 SD]
Oct  4 07:08:53 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:08:53 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 14 0x0 SD]
Oct  4 07:08:53 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:08:53 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 11 0x0 SD]
Oct  4 07:08:53 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:08:53 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 13 0x0 SD]
Oct  4 07:08:53 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:08:53 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 10 0x0 SD]
Oct  4 07:08:53 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:08:53 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 28 0x0 SD]
Oct  4 07:08:53 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:08:53 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 12 0x0 SD]
Oct  4 07:09:18 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:09:18 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 35 0x0 SD]
Oct  4 07:09:18 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:09:18 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 9 0x0 SD]
Oct  4 07:09:18 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:09:18 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 14 0x0 SD]
Oct  4 07:09:18 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:09:18 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 11 0x0 SD]
Oct  4 07:09:18 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:09:18 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 13 0x0 SD]
Oct  4 07:09:18 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:09:18 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 10 0x0 SD]
Oct  4 07:09:18 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:09:18 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 28 0x0 SD]
Oct  4 07:09:18 server kernel: scsi 28:0:0:0: rejecting I/O to dead device
Oct  4 07:09:18 server kernel: ReiserFS: sdc1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [5 12 0x0 SD]
Oct  4 07:11:23 server kernel: kobject_add failed for usb_storage with -EEXIST, don't try to register things with the same name in the same directory.
Oct  4 07:11:23 server kernel:  [< c03e86f7>] kobject_shadow_add+0x117/0x1a0
Oct  4 07:11:23 server kernel:  [< c013fba4>] mod_sysfs_setup+0x24/0xb0
Oct  4 07:11:23 server kernel:  [< c0141458>] sys_init_module+0x1648/0x1940
Oct  4 07:11:23 server kernel:  [< c0102ae8>] syscall_call+0x7/0xb
Oct  4 07:11:23 server kernel:  [< c0710000>] __mutex_lock_slowpath+0x40/0x90
Oct  4 07:11:23 server kernel:  =======================
Oct  4 07:11:28 server kernel: sdd: assuming drive cache: write through
Oct  4 07:11:28 server kernel: sdd: assuming drive cache: write through
Oct  4 07:11:31 server udevd-event[12589]: wait_for_sysfs: waiting for '/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0/host30/target30:0:0/30:0:0:0/ioerr_cn
t' failed

Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

5.10.2010 15:07 Sten
Rozbalit Rozbalit vše Re: USB disk - zálohování
Odpovědět | | Sbalit | Link | Blokovat | Admin
Disk je zřejmě vážně poškozen, tipuji to na vadné sektory. Připojil bych jej k nějakému počítači a nechal prohlédnout přes SMART.
5.10.2010 15:11 Petr
Rozbalit Rozbalit vše Re: USB disk - zálohování
Děkuji za reakci. Také jsem došel k tomuto závěru, nicméně ten disk jsem zkusil na pár dní vytáhnout, připojit přímo přes USB k mému PC a tam šlapal jak hodinky. Takže nevím. Zkusím tedy ten SMART.
5.10.2010 15:16 Petr
Rozbalit Rozbalit vše Re: USB disk - zálohování
Aha, tak tudy cesta zřejmě nepovede, viz níže:
smartctl -a /dev/sdc1
smartctl version 5.36 [i486-slackware-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: WD       My Book 1110     Version: 1032
Serial number: WCAV55121825
Device type: disk
Local Time is: Tue Oct  5 15:15:11 2010 CEST
Device does not support SMART

Error Counter logging not supported
No self-tests have been logged
Nějaké další návrhy? Děkuji
5.10.2010 15:58 blondak | skóre: 36 | blog: Blondak | Čáslav
Rozbalit Rozbalit vše Re: USB disk - zálohování
spusť

smartctl -a /dev/sdc

ne

smartctl -a /dev/sdc1

Každý problém ma své logické, snadno pochopitelné nesprávné řešení.
5.10.2010 16:13 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: USB disk - zálohování
Tím to není.

Mě to funguje i na oddíly:
[root@nt /home/petr]# smartctl -a /dev/sda1
smartctl 5.39.1 2010-01-28 r3054 [x86_64-redhat-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Travelstar 5K320 series
Device Model:     Hitachi HTS543225L9A300
Serial Number:    090326FBCE00LKE9DJJA
Firmware Version: FBEOC40F
User Capacity:    250 059 350 016 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 3f
Local Time is:    Tue Oct  5 16:08:41 2010 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:  (0x00)    Offline data collection activity
                    was never started.
                    Auto Offline Data Collection: Disabled.
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:          ( 645) seconds.
Offline data collection
capabilities:              (0x51) SMART execute Offline immediate.
                    No Auto Offline data collection support.
                    Suspend Offline collection upon new
                    command.
                    No 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.
                    General Purpose Logging supported.
Short self-test routine 
recommended polling time:      (   2) minutes.
Extended self-test routine
recommended polling time:      ( 102) minutes.
SCT capabilities:            (0x003d)    SCT Status supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
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   100   100   062    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0023   253   100   033    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       1272
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       7 (0, 3)
  7 Seek_Error_Rate         0x000f   100   098   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       2495
 10 Spin_Retry_Count        0x0033   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1272
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       65536
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   061   050   000    Old_age   Always       -       39 (Lifetime Min/Max 25/40)
191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       5701719
193 Load_Cycle_Count        0x0032   087   087   000    Old_age   Always       -       133432
194 Temperature_Celsius     0x0022   141   100   000    Old_age   Always       -       39 (Lifetime Min/Max 15/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       2
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x002a   200   200   000    Old_age   Always       -       0
223 Load_Retry_Count        0x002a   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

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%      2484         -
# 2  Extended offline    Completed without error       00%      2464         -
# 3  Short offline       Completed without error       00%      2458         -
# 4  Extended offline    Completed without error       00%      1678         -
# 5  Short offline       Completed without error       00%      1676         -
# 6  Extended offline    Interrupted (host reset)      60%      1676         -
# 7  Short offline       Completed without error       00%      1303         -
# 8  Extended offline    Completed without error       00%       703         -
# 9  Short offline       Completed without error       00%       701         -
#10  Extended offline    Aborted by host               90%       701         -
#11  Short offline       Completed without error       00%       698         -
#12  Extended offline    Aborted by host               90%       698         -
#13  Short offline       Completed without error       00%       698         -
#14  Short offline       Aborted by host               90%       439         -
#15  Short offline       Completed without error       00%       268         -
#16  Short offline       Aborted by host               90%       263         -
#17  Short offline       Completed without error       00%       109         -
#18  Short offline       Completed without error       00%       109         -
#19  Short offline       Completed without error       00%         5         -
#20  Short offline       Completed without error       00%         3         -
#21  Short offline       Completed without error       00%         3         -

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.

Problém bude v připojení na usb, připoj disk přímo na kabel. (SMART se s USB nekamarádí.)
5.10.2010 16:56 Petr
Rozbalit Rozbalit vše Re: USB disk - zálohování
Přesně tak, tím to není.
smartctl -a /dev/sdc
smartctl version 5.36 [i486-slackware-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: WD       My Book 1110     Version: 1032
Serial number: WCAV55121825
Device type: disk
Local Time is: Tue Oct  5 16:55:01 2010 CEST
Device does not support SMART

Error Counter logging not supported
No self-tests have been logged
Co myslíte tím připojit disk přímo na kabel? Toto je USB disk.
5.10.2010 19:39 dustin | skóre: 63 | blog: dustin
Rozbalit Rozbalit vše Re: USB disk - zálohování
Ale vevnitř je normální SATA disk :)

kuk http://www.micro-isv.asia/photos/J6145742.jpg
5.10.2010 21:03 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: USB disk - zálohování
To znamená rozšroubovat a disk vytáhnout a připojit přímo do PC na řadič.
6.10.2010 07:15 Petr
Rozbalit Rozbalit vše Re: USB disk - zálohování
Aha, tak to me nenapadlo :-) Diky moc. Zkusim s tim neco co nejdrive provest a pak dam vedet.
5.10.2010 21:08 Peter Golis | skóre: 64 | blog: Bežné záležitosti | Bratislava
Rozbalit Rozbalit vše Re: USB disk - zálohování
hdparm má v sebe rannú podporu aj pre tunelovanie S.M.A.R.T príkazov cez USB prevodníky. Len je mu to treba vnútiť cez parameter.
luta avatar 6.10.2010 08:17 luta | skóre: 20 | blog: muj_blok | Prostějov/Brno
Rozbalit Rozbalit vše Re: USB disk - zálohování

já USB disky normálně vyčítám přes gsmartcontrol.. se smartctl neumím nastavit parametry aby to komunikovalo a píše mi to to co Vám, ale s gsmartcontrol mi to kupodivu jde se všemi boxy co jsou založeny na jmicron chipsetech :-)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.