03.03.2012 2:20, Bokhan Artem пишет:
You may use hdparm --repair-sector to write zero. Ensure that you do not miss with sector number with hdparm --read-sector

I mean if you do not use GPT it is enough to repair bad sector with writing any data to it. The disk will remap sector.


 I find mention of using parted in
similar circumstances for a corrupt secondary table, but not for one that
falls on a bad sector. This is one such mention:

http://www.mail-archive.com/bug-parted@gnu.org/msg02897.html

Alternately, is there a way to instruct Linux not to obsess over a bad
alternate GPT header? I should back up the primary in any case, but why is
Linux worrying about the secondary?

Whit


On Fri, Mar 02, 2012 at 06:39:08PM +0000, Robin H. Johnson wrote:
On Fri, Mar 02, 2012 at 12:31:25PM -0500, Whit Blauvelt wrote:
I have an ASUS Eee 1001P that's just developed a bad sector:
LBA-1 on disk is where the alternate GPT header would be stored.
(LBA-1 for the header, LBA-33..LBA-2 for the data).

-- 
Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/


_______________________________________________
Smartmontools-support mailing list
Smartmontools-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support