LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Filesystem errors (https://www.linuxquestions.org/questions/linux-newbie-8/filesystem-errors-617286/)

linuxmandrake 01-29-2008 07:47 PM

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

leong3779 01-29-2008 08:32 PM

HD problem, change a new one .

mocqueanh 01-29-2008 08:43 PM

maybe bad sector. You should buy the new

Junior Hacker 01-29-2008 09:20 PM

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.

H_TeXMeX_H 01-30-2008 02:02 AM

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.

linuxmandrake 01-30-2008 06:52 PM

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

Junior Hacker 01-31-2008 01:02 PM

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.

Junior Hacker 01-31-2008 01:04 PM

You may also be able to do all of this by booting into a live session with the Ubuntu installation disk.

linuxmandrake 02-02-2008 02:49 PM

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.

Junior Hacker 02-02-2008 03:26 PM

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.

Junior Hacker 02-02-2008 03:39 PM

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.

cojo 02-02-2008 06:48 PM

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??

Emerson 02-02-2008 06:56 PM

Quote:

Originally Posted by Junior Hacker (Post 3043919)
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!


All times are GMT -5. The time now is 06:01 PM.