Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Naturalnie :D
root@irin:/home/michal# hdparm -I -i /dev/sdb /dev/sdb: HDIO_GET_IDENTITY failed: Invalid argument ATA device, with non-removable media Model Number: ST1000LM025 HN-M101ABB Serial Number: G3913G941D7DB3 Firmware Revision: 2BA30003 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 Standards: Used: unknown (minor revision code 0x0028) Supported: 8 7 6 5 Likely used: 8 Configuration: Logical max current cylinders 16383 16383 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 16514064 LBA user addressable sectors: 268435455 LBA48 user addressable sectors: 1953525168 Logical Sector size: 512 bytes Physical Sector size: 4096 bytes Logical Sector-0 offset: 0 bytes device size with M = 1024*1024: 953869 MBytes device size with M = 1000*1000: 1000204 MBytes (1000 GB) cache/buffer size = 8192 KBytes Form Factor: 2.5 inch Nominal Media Rotation Rate: 5400 Capabilities: LBA, IORDY(can be disabled) Queue depth: 32 Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 16 Current = ? Advanced power management level: disabled Recommended acoustic management value: 254, current value: 0 DMA: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4 udma5 udma6 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: * SMART feature set Security Mode feature set * Power Management feature set * Write cache * Look-ahead * Host Protected Area feature set * WRITE_BUFFER command * READ_BUFFER command * NOP cmd * DOWNLOAD_MICROCODE Advanced Power Management feature set Power-Up In Standby feature set * SET_FEATURES required to spinup after power up SET_MAX security extension Automatic Acoustic Management feature set * 48-bit Address feature set * Device Configuration Overlay feature set * Mandatory FLUSH_CACHE * FLUSH_CACHE_EXT * SMART error logging * SMART self-test * General Purpose Logging feature set * 64-bit World wide name * IDLE_IMMEDIATE with UNLOAD * WRITE_UNCORRECTABLE_EXT command * {READ,WRITE}_DMA_EXT_GPL commands * Segmented DOWNLOAD_MICROCODE * Gen1 signaling speed (1.5Gb/s) * Gen2 signaling speed (3.0Gb/s) * Native Command Queueing (NCQ) * Phy event counters * Idle-Unload when NCQ is active * NCQ priority information DMA Setup Auto-Activate optimization Device-initiated interface power management Software settings preservation * SMART Command Transport (SCT) feature set * SCT Read/Write Long (AC1), obsolete * SCT Write Same (AC2) * SCT Error Recovery Control (AC3) * SCT Features Control (AC4) * SCT Data Tables (AC5) Security: Master password revision code = 65534 supported not enabled not locked not frozen not expired: security count supported: enhanced erase 212min for SECURITY ERASE UNIT. 212min for ENHANCED SECURITY ERASE UNIT. Logical Unit WWN Device Identifier: 0000000000000000 NAA : 0 IEEE OUI : 000000 Unique ID : 000000000 Checksum: correct root@irin:/home/michal#
Offline
raczej nie próbuj otwierać obudowy dysku, jak ci radzą niektórzy niedoświadczeni użyszkodnicy, bo możesz go potem nie złożyć. wg tego co mówi [b]hdparm[/b] to jest prawdziwy dysk, zresztą możesz sprawdzić to organoleptycznie: wrzuć mu duże obciążenie (np. [b]cat /dev/sdb > /dev/null[/b] - przeczyta całą zawartość dysku i nic z tym nie zrobi) i weź dysk do ręki. jeżeli czujesz delikatne drgania, słyszysz cichy szum lub obracając dysk wokół dowolnej osi wyczuwasz delikatny opór, to jest to prawdziwy dysk talerzowy.
tak jak pisał [b]qluk[/b] prawdopodobnie bawiłeś się ghostem (taki soft do robienia backupów) i coś nie wyszło. twoje podejście (skopiować pliki z dysku i sformatować) jest słuszne.
mówiłeś, że możesz oglądać zawartość dysku w [b]mc[/b], czy możesz za jego pomocą przekopiować swoje pliki? albo poleceniem [b]cp[/b] w konsoli?
Offline
root@irin:/home/michal# smartctl --all /dev/sdb smartctl 6.4 2014-10-07 r4002 [i686-linux-3.16.0-4-686-pae] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Samsung SpinPoint M8U (USB) Device Model: ST1000LM025 HN-M101ABB Serial Number: G3913G941D7DB3 LU WWN Device Id: 0 000000 000000000 Firmware Version: 2BA30003 User Capacity: 1,000,204,886,016 bytes [1,00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Form Factor: 2.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 6 SATA Version is: SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s) Local Time is: Wed Jun 1 18:58:01 2016 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: (13200) 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. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 220) minutes. SCT capabilities: (0x003f) SCT Status supported. SCT Error Recovery Control 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 0x002f 100 100 051 Pre-fail Always - 0 2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0 3 Spin_Up_Time 0x0023 089 089 025 Pre-fail Always - 3462 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 80 5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0 8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 43 10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 48 191 G-Sense_Error_Rate 0x0022 252 252 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0022 100 100 000 Old_age Always - 15 194 Temperature_Celsius 0x0002 064 057 000 Old_age Always - 27 (Min/Max 18/44) 195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0 196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 0 223 Load_Retry_Count 0x0032 252 252 000 Old_age Always - 0 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 1288 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] SMART Selective self-test log data structure revision number 0 Note: revision number not 1 implies that no selective self-test has ever been run SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Completed [00% left] (0-65535) 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. root@irin:/home/michal#
Problem dotyczył tylko tego jednegopliku zrobionego Ghostem, to jest obraz partycji Windowsowej z komputera żony, nie mam pojęcia dlaczego coś mu się stało. W mc mogę swobodnie kopiować wszystkie pliki oprócz tego obrazu ( skasować też go nie mogłem). Obecnie dysk jest po formacie, na system plików NTFS, póki co działa.
Skanowałem cały dysk pod kontem badsektorów i pokazało, że takowych nie znaleziono. Zobaczymy jak długo podziała. Otwierać oczywiście nie zamiaruję ;)
Offline
Czy jest jakiś sposób na usunięcie tego pliku uszkodzonego? Poprzednim razem skopiowałem całą zawartość, oczywiście oprócz uszkodzonego pliku na drugi dysk i zrobiłem formata, teraz nie mam takiej możliwości i może ma ktoś pomysł jak usunąć ten felerny plik?
Offline
[quote=milik]Czy jest jakiś sposób na usunięcie tego pliku uszkodzonego? Poprzednim razem skopiowałem całą zawartość, oczywiście oprócz uszkodzonego pliku na drugi dysk i zrobiłem formata, teraz nie mam takiej możliwości i może ma ktoś pomysł jak usunąć ten felerny plik?[/quote]
A nie mozesz w konsoli usunac za pomoca komendy [b]rm[/b] ?
Offline
No właśnie, że nie. Próbowałem już i wyskakuje taki błąd:
root@irin:/media/milik/SAMSUNG# rm -f 1.\ Mała\ syrenka\ \(1989r\).avi rm: nie można usunąć '1. Mała syrenka (1989r).avi': Błąd wejścia/wyjścia root@irin:/media/milik/SAMSUNG#
Offline
root@irin:/media/milik/SAMSUNG# rm -f 1.\ Mała\ syrenka\ \(1989r\).avi rm: nie można usunąć '1. Mała syrenka (1989r).avi': Błąd wejścia/wyjścia root@irin:/media/milik/SAMSUNG# dmesg | tail -n 100 [ 541.269934] vgaarb: this pci device is not a vga device [ 541.318492] vgaarb: this pci device is not a vga device [ 541.348455] vgaarb: this pci device is not a vga device [ 551.236831] vgaarb: this pci device is not a vga device [ 551.276483] vgaarb: this pci device is not a vga device [ 551.305096] vgaarb: this pci device is not a vga device [ 556.741827] vgaarb: this pci device is not a vga device [ 556.778784] vgaarb: this pci device is not a vga device [ 556.792035] vgaarb: this pci device is not a vga device [ 566.689067] vgaarb: this pci device is not a vga device [ 566.707556] vgaarb: this pci device is not a vga device [ 566.756963] vgaarb: this pci device is not a vga device [ 576.741553] vgaarb: this pci device is not a vga device [ 576.794602] vgaarb: this pci device is not a vga device [ 576.805971] vgaarb: this pci device is not a vga device [ 586.956095] vgaarb: this pci device is not a vga device [ 587.041535] vgaarb: this pci device is not a vga device [ 587.077138] vgaarb: this pci device is not a vga device [ 597.020047] vgaarb: this pci device is not a vga device [ 597.103641] vgaarb: this pci device is not a vga device [ 597.141548] vgaarb: this pci device is not a vga device [ 606.957587] vgaarb: this pci device is not a vga device [ 607.008521] vgaarb: this pci device is not a vga device [ 607.032204] vgaarb: this pci device is not a vga device [ 699.981385] vgaarb: this pci device is not a vga device [ 699.991669] vgaarb: this pci device is not a vga device [ 700.027409] vgaarb: this pci device is not a vga device [ 710.439975] vgaarb: this pci device is not a vga device [ 710.469816] vgaarb: this pci device is not a vga device [ 710.496474] vgaarb: this pci device is not a vga device [ 720.546903] vgaarb: this pci device is not a vga device [ 720.613432] vgaarb: this pci device is not a vga device [ 720.647900] vgaarb: this pci device is not a vga device [ 730.595743] vgaarb: this pci device is not a vga device [ 730.690758] vgaarb: this pci device is not a vga device [ 730.738191] vgaarb: this pci device is not a vga device [ 740.607731] vgaarb: this pci device is not a vga device [ 740.627670] vgaarb: this pci device is not a vga device [ 740.653407] vgaarb: this pci device is not a vga device [ 750.516903] vgaarb: this pci device is not a vga device [ 750.553427] vgaarb: this pci device is not a vga device [ 750.577805] vgaarb: this pci device is not a vga device [ 760.735499] vgaarb: this pci device is not a vga device [ 760.785163] vgaarb: this pci device is not a vga device [ 760.808589] vgaarb: this pci device is not a vga device [ 770.610294] vgaarb: this pci device is not a vga device [ 770.658523] vgaarb: this pci device is not a vga device [ 770.725621] vgaarb: this pci device is not a vga device [ 780.646863] vgaarb: this pci device is not a vga device [ 780.679498] vgaarb: this pci device is not a vga device [ 780.705805] vgaarb: this pci device is not a vga device [ 790.643693] vgaarb: this pci device is not a vga device [ 790.716757] vgaarb: this pci device is not a vga device [ 790.734507] vgaarb: this pci device is not a vga device [ 934.722208] perf: interrupt took too long (3915 > 3910), lowering kernel.perf_event_max_sample_rate to 51000 [ 5845.313201] vgaarb: this pci device is not a vga device [ 5851.111774] vgaarb: this pci device is not a vga device [ 5851.743979] vgaarb: this pci device is not a vga device [ 5851.746000] nvidia-modeset: Allocated GPU:0 (GPU-42e7166b-90c5-deb3-f7a8-6815157d63f0) @ PCI:0000:04:00.0 [ 5851.746199] nvidia-modeset: Freed GPU:0 (GPU-42e7166b-90c5-deb3-f7a8-6815157d63f0) @ PCI:0000:04:00.0 [ 5851.748552] vgaarb: this pci device is not a vga device [ 6452.765370] vgaarb: this pci device is not a vga device [39746.889916] vgaarb: this pci device is not a vga device [39753.724123] vgaarb: this pci device is not a vga device [39798.596546] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd [39798.617324] usb 3-2: New USB device found, idVendor=04e8, idProduct=61b6 [39798.617327] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [39798.617328] usb 3-2: Product: Samsung M3 Portable [39798.617329] usb 3-2: Manufacturer: Samsung M3 Portable [39798.617330] usb 3-2: SerialNumber: C0057DFB150000A1 [39798.638710] usbcore: registered new interface driver usb-storage [39798.641943] scsi host2: uas [39798.643852] usbcore: registered new interface driver uas [39798.644315] scsi 2:0:0:0: Direct-Access Samsung M3 Portable 1306 PQ: 0 ANSI: 6 [39798.689348] sd 2:0:0:0: Attached scsi generic sg2 type 0 [39800.593751] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [39800.593753] sd 2:0:0:0: [sdb] 4096-byte physical blocks [39800.594264] sd 2:0:0:0: [sdb] Write Protect is off [39800.594266] sd 2:0:0:0: [sdb] Mode Sense: 53 00 00 08 [39800.594544] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [39800.608228] sdb: sdb1 [39800.609675] sd 2:0:0:0: [sdb] Attached SCSI disk [40555.918084] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 1 (2437/0 MHz) [40556.941864] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 2 (2427/0 MHz) [40561.286846] vgaarb: this pci device is not a vga device [40567.894643] vgaarb: this pci device is not a vga device [40568.489080] vgaarb: this pci device is not a vga device [40568.491347] nvidia-modeset: Allocated GPU:0 (GPU-42e7166b-90c5-deb3-f7a8-6815157d63f0) @ PCI:0000:04:00.0 [40568.492023] nvidia-modeset: Freed GPU:0 (GPU-42e7166b-90c5-deb3-f7a8-6815157d63f0) @ PCI:0000:04:00.0 [40568.494469] vgaarb: this pci device is not a vga device [40702.956804] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 1 (2437/0 MHz) [40703.878353] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 2 (2427/0 MHz) [40704.902292] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 1 (2437/0 MHz) [40705.927307] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 2 (2427/0 MHz) [40707.974312] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 1 (2437/0 MHz) [40709.920553] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 2 (2427/0 MHz) [40835.968367] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 1 (2437/0 MHz) [40836.889691] wlp3s0: AP 10:fe:ed:c7:f0:10 changed bandwidth, new config is 2437 MHz, width 2 (2427/0 MHz) [41169.384656] vgaarb: this pci device is not a vga device [55295.507525] vgaarb: this pci device is not a vga device root@irin:/media/milik/SAMSUNG#
Offline
Dysk nie raportuje żadnych błędów
[39798.596546] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd [39798.617324] usb 3-2: New USB device found, idVendor=04e8, idProduct=61b6 [39798.617327] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [39798.617328] usb 3-2: Product: Samsung M3 Portable [39798.617329] usb 3-2: Manufacturer: Samsung M3 Portable [39798.617330] usb 3-2: SerialNumber: C0057DFB150000A1 [39798.638710] usbcore: registered new interface driver usb-storage [39798.641943] scsi host2: uas [39798.643852] usbcore: registered new interface driver uas [39798.644315] scsi 2:0:0:0: Direct-Access Samsung M3 Portable 1306 PQ: 0 ANSI: 6 [39798.689348] sd 2:0:0:0: Attached scsi generic sg2 type 0 [39800.593751] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [39800.593753] sd 2:0:0:0: [sdb] 4096-byte physical blocks [39800.594264] sd 2:0:0:0: [sdb] Write Protect is off [39800.594266] sd 2:0:0:0: [sdb] Mode Sense: 53 00 00 08 [39800.594544] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [39800.608228] sdb: sdb1 [39800.609675] sd 2:0:0:0: [sdb] Attached SCSI disk
Ihmo uszkodzony system plików. Najlepiej wykonać format a jak bardzo ci się nie chce to możesz zrobić jakiś check disk.
Pod linuksem średnio - https://askubuntu.com/questions/783324/checking-a-ntfs-drive-with-linux
Najlepiej podłączyć to pod Windowsa i wyczyścić.
p.s. Jaki system stworzył tą partycję? Wersja NTFS nie koniecznie będzie w pełni kompatybilna z linuksem.
Offline
Winda chyba stworzyła tą partycję. Generalnie to nie mam na co zgrać tych danych żeby zrobić format, więc myślałem, że prościej będzie usunąć tą durną bajkę. Ale widać, że chyba nie jest to możliwe.
Offline
A tak nie da rady ?
shred -n 5 -vz <nazwa_pliku>
Offline
To samo... :(
root@irin:/media/milik/SAMSUNG# shred -n 5 -vz 1.\ Mała\ syrenka\ \(1989r\).avi shred: '1. Mała syrenka (1989r).avi': błąd przy otwieraniu do zapisu: Błąd wejścia/wyjścia root@irin:/media/milik/SAMSUNG# shred -n 5 -vz *.avi shred: '1. Mała syrenka (1989r).avi': błąd przy otwieraniu do zapisu: Błąd wejścia/wyjścia root@irin:/media/milik/SAMSUNG#
Offline
sprobuj w gparted sprawdzic/naprawic partycje, jak nie o format wszystkiego i po problemie ;)
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00086 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.133.148.76' WHERE u.id=1 |
0.00058 | UPDATE punbb_online SET logged=1732216000 WHERE ident='3.133.148.76' |
0.00043 | SELECT * FROM punbb_online WHERE logged<1732215700 |
0.00046 | SELECT topic_id FROM punbb_posts WHERE id=313672 |
0.00193 | SELECT id FROM punbb_posts WHERE topic_id=28610 ORDER BY posted |
0.00082 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=28610 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00113 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=28610 ORDER BY p.id LIMIT 25,25 |
0.00084 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=28610 |
Total query time: 0.00724 s |