LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SUSE Linux, 2.6.16, fsck returns bad superblock on reiserfs, next step (https://www.linuxquestions.org/questions/linux-newbie-8/suse-linux-2-6-16-fsck-returns-bad-superblock-on-reiserfs-next-step-837639/)

fishing 10-12-2010 02:14 PM

SUSE Linux, 2.6.16, fsck returns bad superblock on reiserfs, next step
 
Working on an inherited system. I can't write (tried touch) 2 of the file systems even tho they show up in /etc/fstab as rw. Tried to remount with
mount -t reiserfs -o remount,rw /dev/stage2/lvol0 /stage2
it returns can't read superblock, so ran
fsck /stage2

it returns
bread: Cannot read the block (4026531839): (Input/output error).

Warning... fsck.reiserfs for device /dev/stage2/lvol0 exited with signal 6.
fsck.reiserfs /dev/stage2/lvol0 failed (status 0x8). Run manually!

so ran

fsck.reiserfs --check /stage

it returns
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
bread: Cannot read the block (2): (Is a directory).
reiserfs_open: bread failed reading block 2
bread: Cannot read the block (16): (Is a directory).
reiserfs_open: bread failed reading block 16

reiserfs_open: the reiserfs superblock cannot be found on /stage2.
Failed to open the filesystem.

If the partition table has not been changed, and the partition is
valid and it really contains a reiserfs partition, then the
superblock is corrupted and you need to run this utility with
--rebuild-sb.

New to linux so not sure what the risk is in rebuilding superblocks (drive hasn't been repartitioned that I KNOW of - but is inherited so...)

Anything I should try before running fsck.reiserfs --rebuild-sb, and will that also fix the 2 directory blocks it can't read?

Thanks,

John VV 10-12-2010 02:49 PM

just how old is this "inherited system"

the kernel you posted is quite old - 2.6.16
the current OpenSUSE has 2.6.34.4-0.1
and SUSE 11 enterprise sp1 has 2.6.32

fishing 10-12-2010 03:28 PM

How Old
 
Dunno how old - we inherited "temporarily" for some tests, but HW is about year and half if I'm correct. Looks like SLES/SUSE 10 SP3. So ignorant question#2 then is about when did 2.6.16 come out (and how could I normally check


All times are GMT -5. The time now is 08:45 AM.