LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partition problems (https://www.linuxquestions.org/questions/linux-newbie-8/partition-problems-213397/)

DarkSun4241 08-04-2004 01:37 PM

Partition problems
 
Hello everyone


I have a machine that is have problems with /usr partition.

Error Messages

/usr Attempt to read block from filesystem resulted in short read while reading block 522

/usr Attempt to read block from filesystem resulted in short read reading journal superblock

e2fsck: Attempt to read block from filesystem resulted in short read while check ext3 journal for /usr

I have tried running fsck and e2fsck to fix the problem.
I can mount the partition and was able to get some files off it.

Thanks Eric

Charalambos 08-04-2004 02:40 PM

What command generated that error message?
is the mount-point of the /usr directory on a partition itself?
What is your filesystem, ext2 or ext3?
If it is ext3, e2fsck won't work for it.

DarkSun4241 08-04-2004 03:05 PM

I get the same error with fsck /dev/hda2 or fsck /usr.
e2fsck also give me the same error.

Things I have tried

e2fsck -c -v -y /dev/hda2
e2fsck -b 8193 /dev/hd2

Thanks Eric

Charalambos 08-04-2004 03:53 PM

Please try to answer my questions.

Your error output says "while check ext3 journal" and "reading journal superblock". So is your partition really ext2?

Quote:

I get the same error with fsck /dev/hda2 or fsck /usr.
so /dev/hda2 is mounted on /usr?

Quote:

e2fsck also give me the same error.
what error? Same as what?

Quote:

Things I have tried

e2fsck -c -v -y /dev/hda2
e2fsck -b 8193 /dev/hd2
And what about it? Any outputs? Any errors? Do we have to guess it (it could be the error message posted above...)?

Please be more precise about your configuration, about what you've done so far and what the result with the correspondig errors of your actions are.

DarkSun4241 08-04-2004 04:20 PM

Error output is from fsck /dev/hda2 program. That partition and all the partition on the system are ext3.

When I ran fsck on /dev/hda2 it wasn't mounted.
I also tried while it was mounted.


quote:
--------------------------------------------------------------------------------
e2fsck also give me the same error.
--------------------------------------------------------------------------------
/usr Attempt to read block from filesystem resulted in short read while reading block 522

/usr Attempt to read block from filesystem resulted in short read reading journal superblock

e2fsck: Attempt to read block from filesystem resulted in short read while check ext3 journal for /usr

Thanks Eric


All times are GMT -5. The time now is 09:10 AM.