Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: fsck?

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Mt Vernon Ohio
    Posts
    227

    Default fsck?

    Hello I went to run fsck and I get the following message "/dev/disk/by-id/ata-WDC_WD1200UE-22KVT0_WD-WXE906958552-part6 is mounted.

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

    Do you really want to continue (y/n)?"

    Now I don't know what this is and where exactly it mounts to,is it something I should ignore?...any help would be appreciated. Thanks

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: fsck?

    You can't fsck a mounted partition. Either unmount the partition, or as su, run

    shutdown now -rF

    and the system will do a reboot and scan.

  3. #3

    Default Re: fsck?

    yeh you cant fsck a mounted partition

  4. #4
    Kevin Miller NNTP User

    Default Re: fsck?

    threatingbehaviour wrote:
    > Hello I went to run fsck and I get the following message
    > "/dev/disk/by-id/ata-WDC_WD1200UE-22KVT0_WD-WXE906958552-part6 is
    > mounted.
    >
    > WARNING!!! Running e2fsck on a mounted filesystem may cause
    > SEVERE filesystem damage.
    >
    > Do you really want to continue (y/n)?"
    >
    > Now I don't know what this is and where exactly it mounts to,is it
    > something I should ignore?...any help would be appreciated. Thanks


    At the command prompt type: mount

    It may be referenced there as /dev/hda6 or possibly /dev/sda6. The six
    is the clue - whatever is mounted on partition six is your answer.
    Unless you have two disks with a partition with a six in it.

    Why are you running fsck? Is your disk blowing errors?

    --
    Kevin Miller
    Juneau, Alaska
    http://www.alaska.net/~atftb
    In a recent poll, seven out of ten hard drives preferred Linux.

  5. #5
    Join Date
    Oct 2009
    Location
    Dhaka,Bangladesh
    Posts
    251

    Default Re: fsck?

    Quote Originally Posted by threatingbehaviour View Post
    Hello I went to run fsck and I get the following message "/dev/disk/by-id/ata-WDC_WD1200UE-22KVT0_WD-WXE906958552-part6 is mounted.

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

    Do you really want to continue (y/n)?"

    Now I don't know what this is and where exactly it mounts to,is it something I should ignore?...any help would be appreciated. Thanks
    Use a live cd then run fsck /dev/sdaX , where is the placeholder for partition number.

  6. #6
    Join Date
    Jun 2009
    Location
    Mt Vernon Ohio
    Posts
    227

    Default Re: fsck?

    alright I've checked into it and it seems that the partitions it was complaining about are the home and root directories

  7. #7

    Default Re: fsck?

    Then, since you want to check the root filesystem, your only choice is to run a live OS, like openSUSE LiveCD, gparted Live CD, or run live from USB memory stick.

    Once you started the live OS, say the same fsck command. But first find out the device name of the partition you want to check. It could be different, for example, /dev/sda6 may change into /dev/sdb6

  8. #8

    Default Re: fsck?

    I thought more. There is, of course, one more evident option.

    You can pull out the hard drive and install it (without mounting) into another computer. There, you do the check.

  9. #9
    Join Date
    Jun 2009
    Location
    Mt Vernon Ohio
    Posts
    227

    Default Re: fsck?

    Thanks but I think I'm gonna go with your first suggestion..as it's a laptop I'm working on it would be much more trouble than what it's worth to do the check that way.

  10. #10
    Join Date
    Jun 2009
    Location
    Mt Vernon Ohio
    Posts
    227

    Default Re: fsck?

    also one more thing..is it safe to label a mounted disk?

Page 1 of 2 12 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
  •