Author Topic: file system check not working  (Read 446 times)

Offline davexnet

  • Full Member
  • ***
  • Posts: 128
file system check not working
« on: March 20, 2011, 08:04:18 PM »
HI all,
I experienced a power outage today during a storm.  When things had calmed down I turned the box back on
but there was no file system check as I expected.

I remember seeing a post in the past, this one where Tex talks about forcing a check:
http://mypclinuxos.com/forum/index.php?topic=2530.0

I tried both of these methods but still the check does not occur.  How do I force a file check ?
Thanks for any info.

EDIT - I'm going to download the 2010.12 LiveCD and try it from there.
« Last Edit: March 20, 2011, 09:28:01 PM by davexnet »
AMD64 x2 4200; 2 GB Ram; EVGA 8600GT; Biostar Geforce6100 M9 MB

Offline davexnet

  • Full Member
  • ***
  • Posts: 128
Re: file system check not working
« Reply #1 on: March 20, 2011, 11:37:27 PM »
HI all _ ran the command from the LiveCD.  Here's the output.  It took less than 10 seconds.
Is that normal ?

[guest@localhost guest]$ fsck -f /dev/sda10
fsck from util-linux-ng 2.18
e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda10: 167256/3104768 files (0.2% non-contiguous), 8741631/12410204 blocks
[guest@localhost guest]$
 

AMD64 x2 4200; 2 GB Ram; EVGA 8600GT; Biostar Geforce6100 M9 MB

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: file system check not working
« Reply #2 on: March 21, 2011, 04:00:07 AM »
These days with journalled file systems (like ext3, ext4, reiserfs etc.) it is rarely necessary for a full file system check to take place after a dirty shutdown.  Most inconsistencies in the FS can be fixed quickly using the journal.  If you are quick enough to hit the Escape key when the splash screen appears you may see it doing this but it happens very quickly.

Your manual fsck from the LiveCD runs quickly because the FS is consistent and there is nothing for it to fix.

« Last Edit: March 21, 2011, 04:08:34 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline davexnet

  • Full Member
  • ***
  • Posts: 128
Re: file system check not working
« Reply #3 on: March 21, 2011, 09:30:54 AM »
Thanks for the info.
I didn't realize it was potentially that quick.
Perhaps Tex's instructions worked after all but too quick to even notice...

Got to congratulate the PCLOS team, LiveCD is fantastic.
AMD64 x2 4200; 2 GB Ram; EVGA 8600GT; Biostar Geforce6100 M9 MB