Ilyen van egy egy 2T diszkemen.
Megtúrva a netet, azt állítják, hogy rá lehet venni a diszket, hogy használjon fel egy tartalék szektort,
A smartctl short teszt a következőt dobja:
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed: read failure 90% 67 3721579560
Az sfdisk -l
Disk /dev/sdc: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD20EZRX-00D
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0569acb3
Device Boot Start End Sectors Size Id Type
/dev/sdc1 63 3515632469 3515632407 1,7T 83 Linux
/dev/sdc2 3515632470 3907024064 391391595 186,6G 83 Linux
Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
(A partíciós hibákkal már nem igazán törődök - időröl, időre sikerül ilyet csinálni )
Ahhoz hogy egy tartalék szektorra váltson dd -vel kellene arra a szektorra írni:
# dd if=/dev/zero of=/dev/sdc bs=4096 count=1 seek=3721579560 conv=noerror,sync
dd: /dev/sdc: cannot seek: Invalid argument
0+0 records in
0+0 records out
0 bytes copied, 0,000155082 s, 0,0 kB/s
Mt kellene megadni a seek argumentumnak?