LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2008, 08:47 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
Filesystem errors


/: Duplicate or bad block in use!
/: Multiply-claimed block(s) in inode 8: 25454
/: Multiply-claimed block(s) in inode 393228: 7173740
/: Multiply-claimed block(s) in inode 393229: 25454 7173740
/: (There are 2 inodes containing multiply-claimed blocks.)

/: File <The journal inode> (inode #8, mod time Sat Feb 4 14:42:07 2006)
has 1 multiply-claimed block(s), shared with 1 file(s):
/: /home/s/PS2 games/tekken5.iso (inode #393229, mod time Fri Jan 11 17:53:45 2008)
/:

/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck died with exit status 4

am using ubuntu feisty
 
Old 01-29-2008, 09:32 PM   #2
leong3779
LQ Newbie
 
Registered: Mar 2007
Location: uk
Distribution: ubuntu 7.04
Posts: 22

Rep: Reputation: 15
HD problem, change a new one .
 
Old 01-29-2008, 09:43 PM   #3
mocqueanh
Member
 
Registered: Dec 2007
Location: Vietnam
Distribution: Slackware, Xubuntu, Puppy, WinXP
Posts: 38

Rep: Reputation: 15
maybe bad sector. You should buy the new
 
Old 01-29-2008, 10:20 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Boot into single user mode or command line, issue a command similar to the one below:
Code:
sudo fsck -a /dev/sda1
Providing the root partition is /dev/sda1, if it is something else, change the command to do the file system check in the appropriate partition. Give it some time and re-boot when the prompt comes back.
 
Old 01-30-2008, 03:02 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
After using 'fsck', if your HDD has SMART capability, you can use 'smartctl' to run some tests (the long test is recommended), and see if indeed your HDD is starting to fail. No, don't change your HDD just yet.
 
Old 01-30-2008, 07:52 PM   #6
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
by root partition do you mean the partition that hold my installation of linux?

The error occurs when I boot into linux. It boots up dosfsck and the only fat partition i have is on /dev/sdb3
 
Old 01-31-2008, 02:02 PM   #7
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Yes, that would be the root partition. You can also run fsck on the /boot partition if you have a separate partition for it. With command: fdisk -l you should be able to figure out which is which. The / and /boot partitions should have a 83 in the file system type, swap should be 82.
You probably have a command prompt after the errors during boot up where you can issue commands to manually run fsck.
 
Old 01-31-2008, 02:04 PM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
You may also be able to do all of this by booting into a live session with the Ubuntu installation disk.
 
Old 02-02-2008, 03:49 PM   #9
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
I tried that and it seems to have done something because it said 2.5% non-continuous or something like that can't quite remember. But I still get the same thing. I tried it again, it just give me number of clusters.
 
Old 02-02-2008, 04:26 PM   #10
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Are you hitting "enter" or "y" at every one of them, because fsck will ask for confirmation to make necessary changes to every error it finds, and there are usually many of them.
 
Old 02-02-2008, 04:39 PM   #11
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Normally when I encounter a similar situation and told to run fsck manually I get to a root prompt or use sudo and run the command previously posted and go through countless confirmations to block errors, then when a prompt returns I issue command: reboot, it shuts down properly and usually re-boots properly.

EDIT
Some live CD's only mount hard drives in read only mode preventing changes to the drive by default, it is sometimes necessary to unmount the drive and re-mount in read write mode to repair a file system from a live CD.

Last edited by Junior Hacker; 02-02-2008 at 04:46 PM. Reason: Forgot to mention
 
Old 02-02-2008, 07:48 PM   #12
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
you need to figure out which filesystem is failing. once you figured out run this

fsck -y /dev/sda?

if using LVM do this

fsck -y /dev/VolGroup00/LogVol??
 
Old 02-02-2008, 07:56 PM   #13
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
Originally Posted by Junior Hacker View Post
Normally when I encounter a similar situation and told to run fsck manually I get to a root prompt or use sudo and run the command previously posted and go through countless confirmations to block errors, then when a prompt returns I issue command: reboot, it shuts down properly and usually re-boots properly.

EDIT
Some live CD's only mount hard drives in read only mode preventing changes to the drive by default, it is sometimes necessary to unmount the drive and re-mount in read write mode to repair a file system from a live CD.
? Running fsck is much safer when filesystem is not mounted!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which filesystem is more durable to errors? 12w23e Linux - Hardware 1 10-17-2007 09:10 AM
ext2 filesystem errors time112852 Linux - Software 12 12-25-2005 06:51 PM
filesystem errors graziano1968 Linux - Software 1 09-27-2004 04:31 AM
Errors during filesystem check with one kernel while no errors with other kernel Potentials Linux - General 11 12-30-2003 05:24 AM
Unclean shutdown from power failure... filesystem check errors macisaac Linux - General 4 12-26-2003 08:50 PM


All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration