Portál AbcLinuxu, 6. května 2025 07:39
fdisk -l
Disk /dev/sdc: 1000.2 GB, 1000202043392 bytes 248 heads, 55 sectors/track, 143219 cylinders, total 1953519616 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0002846e Device Boot Start End Blocks Id System /dev/sdc1 2048 1953519615 976758784 83 Linux
fdisk /dev/sdc
d
1
n
p
1enter
p
Disk /dev/sdc: 1000.2 GB, 1000202043392 bytes 248 heads, 55 sectors/track, 143219 cylinders, total 1953519616 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0002846e Device Boot Start End Blocks Id System /dev/sdc1 2048 1953519615 976758784 83 Linux
wvystup s fdisku
The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.Nasleduje format
mke2fs /dev/sdc1Vystup
mke2fs 1.42.9 (4-Feb-2014) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 61054976 inodes, 244189696 blocks 12209484 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 Writing inode tables: 139/7453Zastavy sa na 139/7453 a hotovo. Ked som tento postup cez terminal uz raz skusal, tak sa to zastavilo na 177/7453
smartctl -a /dev/sdd
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital My Passport (USB, AF) Device Model: WDC WD10JMVW-11S5XS0 Serial Number: WD-WX51A92A2248 LU WWN Device Id: 5 0014ee 602f9950f Firmware Version: 01.01A01 User Capacity: 1 000 204 886 016 bytes [1,00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS (minor revision not indicated) SATA Version is: SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s) Local Time is: Mon Jan 9 08:41:35 2017 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART STATUS RETURN: incomplete response, ATA output registers missing SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 121) The previous self-test completed having the read element of the test failed. Total time to complete Offline data collection: (18180) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. 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: ( 198) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x70b5) 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 0x002f 195 195 051 Pre-fail Always - 1085 3 Spin_Up_Time 0x0027 177 171 021 Pre-fail Always - 2133 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 180 5 Reallocated_Sector_Ct 0x0033 172 172 140 Pre-fail Always - 1200 7 Seek_Error_Rate 0x002e 186 176 000 Old_age Always - 429 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 144 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 170 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 156 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 1096 194 Temperature_Celsius 0x0022 118 105 000 Old_age Always - 29 196 Reallocated_Event_Count 0x0032 196 001 000 Old_age Always - 4 197 Current_Pending_Sector 0x0032 200 199 000 Old_age Always - 160 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 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: read failure 90% 144 357960 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.Spustil som kratky test
smartctl -t short /dev/sdd
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Short self-test routine immediately in off-line mode". Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 2 minutes for test to complete. Test will complete after Mon Jan 9 08:39:33 2017 Use smartctl -X to abort test.
dd if=/dev/zero of=/dev/sdc bs=1M oflag=directspustil som to asi o 9:00 a este to neskoncilo ... terminal je cisty. O hodinu musim odist, cize to musim vypnut
iotop
ti řekne kolk dat tam jede.)
Raw_Read_Error_Rate 0x002f 195 195 051 Pre-fail Always - 1085 Reallocated_Sector_Ct 0x0033 172 172 140 Pre-fail Always - 1200 Seek_Error_Rate 0x002e 186 176 000 Old_age Always - 429 Reallocated_Event_Count 0x0032 196 001 000 Old_age Always - 4 Current_Pending_Sector 0x0032 200 199 000 Old_age Always - 160=> Disk je chodici mrtvola.
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 100 099 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0007 071 071 011 Pre-fail Always - 9510 4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1106 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 100 100 051 Pre-fail Always - 0 8 Seek_Time_Performance 0x0025 100 094 015 Pre-fail Offline - 12804 9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 44193
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 144cize podla toho vyzera ze isiel 6 dni. Ten disk je externy, neni zalozeny v pc a znamy si tam stahoval nanajvys nejake filmy .... Mozno ze bezal len 6 dni, ale ak si spominam, tak hovoril, ze disk ma asi 3 roky (ale to az tak moc nepamatam, nejak som tomu nevenoval pozornost). Kazdopadne ak by bol v zaruke, tak mu odporucim reklamaciu
mkfs.ntfs
bez parametru -f
nuluje celý oddíl a čte bad sectors, takže dvakrát projede celý disk. Při USB rychlostech je to operace na několik hodin.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.