由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - How to fix bad sectors on HD
相关主题
硬盘有坏道是不是ubuntu下面硬盘转的比较多?
format ipod硬盘问题看看我的硬盘是不是快完蛋了?
fedora系统盘有问题了,能不能用dd挪到新盘?求助
刚安装完Ubuntu 7.10linux系统transfer
菜鸟问题:fat32的分区不是有32G的限制吗?
请问这个系统怎么两个swapubuntu Grub 的问题求助
question about format usbWinXP 和Debian 5 双系统后Partition Magic 8打不开了
情帮忙看看是不是硬盘会死了nnd, emacs pinky finger problem
相关话题的讨论汇总
话题: sectors话题: bad话题: format话题: disk话题: error
进入Linux版参与讨论
1 (共1页)
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
13
好,好东西
1 (共1页)
进入Linux版参与讨论
相关主题
nnd, emacs pinky finger problem菜鸟问题:
请教一个4G内存的问题(windows/Linux) (转载)请问这个系统怎么两个swap
大家说说question about format usb
OSX比linux,用起来有什么不爽?情帮忙看看是不是硬盘会死了
硬盘有坏道是不是ubuntu下面硬盘转的比较多?
format ipod硬盘问题看看我的硬盘是不是快完蛋了?
fedora系统盘有问题了,能不能用dd挪到新盘?求助
刚安装完Ubuntu 7.10linux系统transfer
相关话题的讨论汇总
话题: sectors话题: bad话题: format话题: disk话题: error