Find the answer to your Linux question:
Results 1 to 4 of 4
How do I run a manual fsck? When I try after boot it tells me that running it after filesystem is mounted is very dangerous....for some reason my Ubuntu isn't ...
  1. #1
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    fsck?

    How do I run a manual fsck? When I try after boot it tells me that running it after filesystem is mounted is very dangerous....for some reason my Ubuntu isn't running fsck even after I do a force shutdown (had to a couple times in the past couple days and typically it would run the fsck on boot but now it just starts up still). Thanks all

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Boot up from LiveCD and run fsck on any partition.
    By default, Linux runs fsck on every 36th boot up.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    By default, Linux runs fsck on every 36th boot up.
    Only if you are using ext2/ext3 and even when using those filesystems not all distros do this by defualt because the process can take a long time especially on large disks causing a lot of down time.

    jmadero, I recommend you use small live discs such as partedmagic or gparted.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by daark.child
    Only if you are using ext2/ext3 and even when using those filesystems not all distros do this by defualt because the process can take a long time especially on large disks causing a lot of down time.
    I have checked in SuSe, Fedora, Ubuntu, Sabayon and Debian. All of these run fsck on every 36th boot. One can turn it off by setting it value to zero in /etc/fstab file.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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