Mount of filesystem failed.[SOLVED]

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
RonK
Level 1
Level 1
Posts: 28
Joined: Mon Oct 05, 2009 7:20 pm

Mount of filesystem failed.[SOLVED]

Post by RonK » Mon Jun 21, 2010 7:14 pm

I have been successfully runing LM8 (Helena) from its release date.
Suddenly today I can't boot because I'm getting a "mount of filesystem failed" error.

The black screen is filled with a lot of text including:

swapon failed: Device or resource busy
mountall: terminated with status 255
mountall: problem activating swap
/dev/sda5 contains a file system with errors, check forced
/dev/sda5: Inodes that were part of a corrupt orphan linked list found
/dev/sda5: Unexpected inconsistency: Run fsck manually

I am able to run the maintenance shell, but I don't know where to start trouble shooting my system
so I can find out more about what's going on and how to recover my file system.

Any help would be most appreciated.

Thanks
Ron
Last edited by RonK on Tue Jun 22, 2010 10:48 pm, edited 1 time in total.

chattr
Level 2
Level 2
Posts: 58
Joined: Thu Jul 03, 2008 2:43 pm

Re: Mount of filesystem failed.

Post by chattr » Mon Jun 21, 2010 10:41 pm

What is /dev/sda5 ? Is sda5 your Mint install or something else? You can find out from the file /etc/fstab by opening a terminal and doing

Code: Select all

grep sda5 /etc/fstab
If sda5 is your Mint install, and if you have a live cd, boot off of the live cd. When you get to your desktop, open a terminal and do

Code: Select all

sudo fsck /dev/sda5
That may fix this:
/dev/sda5: Unexpected inconsistency: Run fsck manually
If sda5 is not your Mint install, tell us what's the output of

Code: Select all

grep sda5 /etc/fstab
before doing anything else.

RonK
Level 1
Level 1
Posts: 28
Joined: Mon Oct 05, 2009 7:20 pm

Re: Mount of filesystem failed.

Post by RonK » Tue Jun 22, 2010 12:17 am

Thanks for the tip chattr.

/dev/sda5 is indeed my Mint install, and using fsck gave me the following fixes.
However, I won't know if it worked until I reboot.
----------------------------------------------------
mint@mint ~ $ sudo fsck /dev/sda5
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
Superblock last write time is in the future.
(by less than a day, probably due to bad system clock last boot). Fix<y>? yes

/dev/sda5 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes

Inode 127 was part of the orphaned inode list. FIXED.
Inode 128 was part of the orphaned inode list. FIXED.
Inode 137 was part of the orphaned inode list. FIXED.
Inode 171 was part of the orphaned inode list. FIXED.
Inode 515 was part of the orphaned inode list. FIXED.
Inode 4025 was part of the orphaned inode list. FIXED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -3072127
Fix<y>? yes

Free blocks count wrong for group #93 (4090, counted=4091).
Fix<y>? yes

Free blocks count wrong (45026157, counted=45026158).
Fix<y>? yes

Inode bitmap differences: -125 -(127--128) -137 -171 -515 -4025
Fix<y>? yes

Free inodes count wrong for group #0 (12, counted=19).
Fix<y>? yes

Free inodes count wrong (12577762, counted=12577769).
Fix<y>? yes

/dev/sda5: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda5: 209943/12787712 files (0.4% non-contiguous), 6094672/51120830 blocks
mint@mint ~ $
------------------------------------------------------------------------
I'll now try to reboot and let you know how it went.

RonK
Level 1
Level 1
Posts: 28
Joined: Mon Oct 05, 2009 7:20 pm

Re: Mount of filesystem failed [SOLVED]

Post by RonK » Tue Jun 22, 2010 12:36 am

Well, the fsck fixes seem to have brought the system back to normal.

However, I have no idea why the filesystem suddenly went wonky.

In any case, many thanks for the timely help.

Regards,
Ron

Darcy Dunbar
Level 1
Level 1
Posts: 3
Joined: Wed Jul 08, 2009 7:33 pm

Re: Mount of filesystem failed.[SOLVED]

Post by Darcy Dunbar » Sun Jan 02, 2011 8:03 pm

I recently had a problem with the system clock on my EeePC. After adjusting it in BIOS setup, I rebooted and the system complained that the "...Superblock last mount time is in the future" and asked me to fsck.

To avoid this happening again, I edited /etc/default/rcS as administrator and changed the "FSCKFIX=no" to "FSCKFIX=yes"

When I rebooted, the problem was fixed.

Now, if I change the clock in BIOS setup, the system will automatically fix any "Superblock last mount time is in the future"-type problems.

Post Reply

Return to “Installation & Boot”