Re: Got bad sector on HDD in XFS partition, any utility to mark it bad/recover it like seatools does?

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

 



At 12:03 PM -0500 9/6/06, Bruno Wolff III wrote:
On Wed, Sep 06, 2006 at 16:26:29 +0100,
  Vijay Gill <vijay.s.gill@xxxxxxxxx> wrote:
 >
 > Thanks Tony, that cleared a lot about smarttools also a lot. I always
 > used to wonder about how smarttools can be used to fix a hdd bad
 > sector. Now I learned from your mail that just writing to the bad area
 > of the disk will fix it because disks are intelligent enough these
 > days. smarttools is used for just diagnosis purposes.
 > Also I am goinng to put
 > smartctl --smart=on --offlineauto=on --saveauto=on /dev/hda in my
 > /etc/rc.local.

You should be running the smartd deamon to do this instead of adding stuff
to rc.local for it. If smartmontools is installed, you can edit the list
of disk drives to scan in /etc/smartd.conf and turn on the smartd service
using chkconfig or the GUI for system services.

Smartd.conf is described in man smartd.

Also, --offlineauto and --saveauto are persistent settings in the disk drive's firmware, so they really only need to be set once.
--
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux