Recovering ext2fs partitions after crash

2003-07-03 Thread W. Sierke
Hi,

My 4.8 box died (after 70+ days) for reasons as yet unknown. I couldn't log
in remotely or at virtual consoles, main console was completely unresponsive
and I couldn't ctrl-alt-del so I had to hit reset.

I've got the box back up but I can't mount my 2 ext2fs partitions (had to
comment them out of /etc/fstab):

# mount_ext2fs /dev/ad0s5 /mnt/store1
mount_ext2fs: /dev/ad0s5: Operation not permitted


# e2fsck /dev/ad0s5
e2fsck 1.27 (8-Mar-2002)
The filesystem size (according to the superblock) is 1281175 blocks
The physical size of the device is 0 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort?


Uh-oh. That's not good! I don't think that "superblock" version of the size
is correct, either. Any suggestions as to the best way to proceed from here?
(Please don't use the dreaded "B" word! :)


Thanks,

Wayne

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recovering ext2fs partitions after crash

2003-07-04 Thread W. Sierke
Update:

I booted with tomrsrtbt disk:

http://www.toms.net/rb/

and successfully ran the included e2fsck which appears to be the same
version as I have installed on my 4.8 box.

However I still get the same error when I try to run e2fsck under FBSD:

# e2fsck /dev/ad0s5
e2fsck 1.27 (8-Mar-2002)
The filesystem size (according to the superblock) is 1281175 blocks
The physical size of the device is 0 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort?


The ext2fs partitions exist in an extended partition. Am I missing some
knowledge about using extended partitions? They mount normally and have
otherwise (until the system crashed/hung) operated flawlessly to date. Does
anyone know why I'm unable to use the ext2fs utilities (installed from
/usr/ports/sysutils/e2fsprogs)?


Thanks,

Wayne

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"