You are not logged in.

#1 2009-01-09 17:26:12

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

[SOLVED] Filesystem Check Failed

Hi,

I currently have LVM setup on my archlinux machine. Root "/" is setup as a logical volume. I followed the instructions on the lvm wiki page on increasing the size of a logical volume. I added +50G to the logical volume mounted at root while it was still mounted. After that, I ran resize2fs. Everything seemed to work just fine.

Later on the power went out at my apt and when the power came back I turned on my machine to see that it was stuck at "Checking Filesystems" for a while, saying "[BUSY]". When it finally got done, it failed with "Filesystem Check Failed". I'm not sure if this is related to what I did with my logical volumes or not, but it's the biggest filesystem related change I made before the reboot. Any idea how I can fix this?

Thanks.

Last edited by void.pointer (2009-01-09 19:35:15)

Offline

#2 2009-01-09 17:33:42

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED] Filesystem Check Failed

If have had that after power outlets too, booting from another partition or a live disc and running an fsck manually has always fixed it for me.

Offline

#3 2009-01-09 17:36:57

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Filesystem Check Failed

well I'm running fsck right now from the prompt that occurs after the filesystem check failed message. I'm running "fcsk /". I keep getting prompts saying "Error reading block ####". It then asked me if I want to ignore the error. If I say "Yes", it then asks me if I want to force a rewrite. I really have no idea how to use this thing.

Isn't there some automatic way to fix the problems in the filesystem? Can't I just run fsck in hands-free mode safely?

Offline

#4 2009-01-09 17:49:53

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: [SOLVED] Filesystem Check Failed

Try fsck -y (see the manpage for details).


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#5 2009-01-09 18:05:11

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Filesystem Check Failed

Could I get step-by-step instructions on what to do in LiveCD in order to be able to run fsck on my LVM partition? This partition is at /dev/sda2 I think. When I run LiveCD it's not mounted and I can't remember how to display all detected partitions regardless of if they are mounted. fdisk -l doesn't accomplish this.

I appreciate everyone's help so far.

Offline

#6 2009-01-09 18:52:45

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Filesystem Check Failed

Great, the fsck -y worked! Thanks guys!

Last edited by void.pointer (2009-01-09 19:04:41)

Offline

#7 2009-01-09 19:29:20

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Filesystem Check Failed

Please remove this

Last edited by void.pointer (2009-01-09 19:35:01)

Offline

Board footer

Powered by FluxBB