Re: Offline uncorrectable sectors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://www.smartmontools.org/browser/trunk/www/badblockhowto.xml

This will help you figure out what data is in the bad sector, and
whether it's important or replaceable from a backup.

Note that this is an AF drive, specifically 512e variety. 512 bytes
logical sector, 4096 bytes physical sector. To erase, you have to do a
4KiB write. If you do a 512 byte write, or 8 512 byte writes, the
drive will likely do read,modify,write which will fail at read and
you'll get a read error from the drive even though you're writing.
This is of course confusing. So if you use dd to do the overwrite,
bs=4096 and then you have to adjust the seek= value since it too will
be based on 4096 bytes; whereas LBA for a 512e drive is based on 512
byte sectors. So yeah, make sure you get it right or you'll zero some
other sector. Make sure count=1 to avoid a mess...

hdparm has a way to do this also but I haven't used it, so I'm not
sure how the whole 512 vs 4096 thing gets sorted out.

---
Chris Murphy
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux