I'm having a whole load of trouble with my RH-7 installation at the moment.
It was running just fine until a couple of hours ago when the /usr volume
seemed to disappear.
I tried fsck/e2fsck and a number of other things but have got nowhere with
it. Current boot messages are along the lines of:
"Checking filesystems
fsck.ext2(null)
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
: No such file or directory while trying to open LABEL=/usr"
/, /boot, /home, /opt, /tmp and /var are clean. It seems that /usr is broken
8-(
Looking at fdisk /dev/hda, I've got:
Disk /dev/hda: 128 heads, 63 sectors, 787 cylinders
Units = cylinders of 8064 x 572 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 26 104800+ 83 Linux
/dev/hda2 27 787 3068352 5 Extended
/dev/hda5 27 442 1677280+ 83 Linux
/dev/hda6 443 557 463648+ 83 Linux
/dev/hda7 558 672 463648+ 83 Linux
/dev/hda8 673 736 258016+ 83 Linux
/dev/hda9 737 787 205600+ 83 Linux
/etc/fstab is:
LABEL=/ / ext2 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
LABEL=/home /home ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
LABEL=/opt /opt ext2 defaults 1 2
LABEL=/tmp /tmp ext2 defaults 1 2
LABEL=/usr /usr ext2 defaults 1 2
LABEL=/var /var ext2 defaults 1 2
none /proc proc defaults 0 0
none /dev/pts devpts gid:5,mode=620 0 0
/dev/hdb1 swap swap defaults 0 0
Trying e2fsck -b 8193 /dev/hda5 (which I guess is /usr) returns the error
messages that it can't find the ext2 superblock, tries backup superblocks
and the errors with bad magic number in the superblock and suggests I try
'e2fsck -b 8193 <device>'.
Can anyone help! I don't want to have to re-install, but at the moment that
seems likely!
Dave
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list