Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Last week, i updated, my fedora. After that, during every boot up, I am getting a warning message like " Your hard disk may failing". It indicates that it is ...
  1. #1
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Hard disk failing warning on fedora 12

    Last week, i updated, my fedora. After that, during every boot up, I am getting a warning message like " Your hard disk may failing". It indicates that it is due to bad sectors. But I don't think so. There was a bug reported for a similar problem in fedora 11. I think it is not fixed yet. Hard disk is not having any problem during data access. Other OS including windows are not giving any warning message. Comment on it please.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,097
    Quote Originally Posted by Tom Varghese View Post
    Last week, i updated, my fedora. After that, during every boot up, I am getting a warning message like " Your hard disk may failing". It indicates that it is due to bad sectors. But I don't think so. There was a bug reported for a similar problem in fedora 11. I think it is not fixed yet. Hard disk is not having any problem during data access. Other OS including windows are not giving any warning message. Comment on it please.
    Just to be on the safe side, I'd recommend checking your hard drive manufacturer's website to see what diagnostics tools they offer for checking the integrity of your hard drive, then run the utility on the drive to see if it reports any problems. It's also a good idea to keep full backups on hand whether there are current drive problems, or not. You could also check the file system using fsck. Run man fsck for details on using it.

    I'm not familiar with the bug that you reference so can't comment on it.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    A lot of discs these days are supporting the SMART protocols. The drive controller itself (on the drive) monitors the health of the drive and reports to the operating system when statistics indicate that the drive is starting to fail, hopefully in time to replace the drive before data has been lost. I had that situation on a Seagate drive earlier this year, and indeed the drive was failing. It was replaced by Seagate under warranty at no cost to me.

    So, take this seriously. Run fsck with the -c option to force it to check for bad blocks. FWIW, windows is brain-dead with respect to S.M.A.R.T.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Results

    I got a warning message like this while tried to run fsck:

    WARNING!!! Running e2fsck on a mounted filesystem may cause
    SEVERE filesystem damage.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Do not execute fsck on mounted partitions.
    Boot up from LiveCD of any Linux distro and execute fsck on partition.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    You need to unmount the file system first, or remount it into read-only mode. Example: mount -o remount,ro mountpoint
    To do that, you have to shut down any applications that may have files open for write/update access. Preferably, boot into single-user mode first.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101
    It is not unmountable because entire OS is working on it. How to make it read only. How to know the mount point?

  8. #8
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,097
    Quote Originally Posted by Tom Varghese View Post
    It is not unmountable because entire OS is working on it. How to make it read only. How to know the mount point?
    It won't be mounted if you boot with a liveCD and run fsck from that as suggested earlier.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  9. #9
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by Tom Varghese View Post
    It is not unmountable because entire OS is working on it. How to make it read only. How to know the mount point?
    As mentioned, you can either boot into single user mode and login as root - use mount without any arguments to find the mount points. Then you should be able to remount them read-only. Alternatively, you can boot with a liveCD or rescue CD and run fsck on the unmounted file systems.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  10. #10
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101
    I didn't tried it in single user mode yet. Before that, what is the exact command to make the mount point read only.If you give the exact statement,
    I first o in single user mode and type 'mount' on terminal to get mounted points. Then I execute the command you provide soon to make it read only. Then I will run 'fsck'.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...