I*a 发帖数: 297 | 1 There are 2 type of bad sectors
1. logical error
2. physical damaged
The usual way to fix bad sectors is to use low level format.
By doing this,
1. if it is a logical error, it will be corrected
2. if it is a physical error, the s. m. a. r. t function of hard disk will
remap the bad sector to a new place and the hard disk will back to normal
again
But format usually will erase all your data on the disk. Here we are going
to use a local low level format only on the bad sectors
You need 2 tools, n |
a*******e 发帖数: 3021 | 2 great post! my linux is warning me i have a failing hd....
There are 2 type of bad sectors
1. logical error
2. physical damaged
The usual way to fix bad sectors is to use low level format.
By doing this,
1. if it is a logical error, it will be corrected
2. if it is a physical error, the s. m. a. r. t function of hard disk will
remap the bad sector to a new place and the hard disk will back to normal
again
But format usually will erase all your data on the disk. Here we are going
to use a local
【在 I*a 的大作中提到】 : There are 2 type of bad sectors : 1. logical error : 2. physical damaged : The usual way to fix bad sectors is to use low level format. : By doing this, : 1. if it is a logical error, it will be corrected : 2. if it is a physical error, the s. m. a. r. t function of hard disk will : remap the bad sector to a new place and the hard disk will back to normal : again : But format usually will erase all your data on the disk. Here we are going
|
h***r 发帖数: 726 | 3 thanks!
【在 I*a 的大作中提到】 : There are 2 type of bad sectors : 1. logical error : 2. physical damaged : The usual way to fix bad sectors is to use low level format. : By doing this, : 1. if it is a logical error, it will be corrected : 2. if it is a physical error, the s. m. a. r. t function of hard disk will : remap the bad sector to a new place and the hard disk will back to normal : again : But format usually will erase all your data on the disk. Here we are going
|
a*******e 发帖数: 3021 | 4 Back a while ago, i was searching for a low-format tool for linux.
But i didn't find it, most ppl say there is no such thing for linux.....
One of them suggest to write 0 to the whole disk as low-format.
After some googling, it seems there are three level formatting,
1) factory low level formating
Not all sectors on a hard disk are good to use. At the factory they test
this and then map out [called spare sectoring] what is to be used and what
is not to be used.
2) recent low level format defi |
e*c 发帖数: 642 | 5 Thanks, it is really handy.
But I heard that once physical damage occurs, the problem will only get
worse over the time. Time to buy a new HD.
【在 I*a 的大作中提到】 : There are 2 type of bad sectors : 1. logical error : 2. physical damaged : The usual way to fix bad sectors is to use low level format. : By doing this, : 1. if it is a logical error, it will be corrected : 2. if it is a physical error, the s. m. a. r. t function of hard disk will : remap the bad sector to a new place and the hard disk will back to normal : again : But format usually will erase all your data on the disk. Here we are going
|
u*****r 发帖数: 176 | 6 Does Ubuntu kills hard drive?
I had a Seagate hard drive complaining too many bad sectors, I called
Seagate and the replaced it. |
o**n 发帖数: 1249 | 7 ext etc filesystems that linux uses are supposed to have less chance of
fragmentation than windows ntfs/fat32, though i don't know about the read/
write frequency.
【在 u*****r 的大作中提到】 : Does Ubuntu kills hard drive? : I had a Seagate hard drive complaining too many bad sectors, I called : Seagate and the replaced it.
|
g**d 发帖数: 723 | 8 running smartctl give following error:
sudo smartctl -l selftest /dev/sdd
=== START OF READ SMART DATA SECTION ===
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 60% 9302
29573615
But when I try:
sudo hdparm --yes-i-know-what-i-am-doing --repair-sector 29573615 /dev/sdd
/dev/sdd:
re-writing sector 29573615: FAILED: Invalid exchange
wha
【在 I*a 的大作中提到】 : There are 2 type of bad sectors : 1. logical error : 2. physical damaged : The usual way to fix bad sectors is to use low level format. : By doing this, : 1. if it is a logical error, it will be corrected : 2. if it is a physical error, the s. m. a. r. t function of hard disk will : remap the bad sector to a new place and the hard disk will back to normal : again : But format usually will erase all your data on the disk. Here we are going
|
o**n 发帖数: 1249 | 9 如果我想把整块硬盘low-level format,应该用什么tool呢?谢谢。 |
a*******e 发帖数: 3021 | 10 有问题阿,我这里smartctl怎么啥都没有阿
/dev/sda有问题,bios提示SMART status bad.
可是我用smartctl啥输出都没有
smartctl -t short /dev/sda
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce
Allen
Home page is http://smartmontools.sourceforge.net/
=== 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.
Plea |
a*******e 发帖数: 3021 | 11 没有人帮着看看?
line
【在 a*******e 的大作中提到】 : 有问题阿,我这里smartctl怎么啥都没有阿 : /dev/sda有问题,bios提示SMART status bad. : 可是我用smartctl啥输出都没有 : smartctl -t short /dev/sda : smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce : Allen : Home page is http://smartmontools.sourceforge.net/ : === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === : Sending command: "Execute SMART Short self-test routine immediately in : off-line mode".
|
g**d 发帖数: 723 | 12 the test will be running in background, and after finish, there is no prompt
. You can use smartctl -a and look for the self-test log.
【在 a*******e 的大作中提到】 : 没有人帮着看看? : : line
|
s********e 发帖数: 4064 | |