Re: e2fsck error
On Thu, 2 Aug 2001, Gene Grimm wrote:
> > A short while ago, my web server went offline and is now reporting a
> > superblock error on /dev/hdc1 (/var) and suggests using e2fsck -b 8193
> > option. I do not know enough about the ext2 system to know what super block
> > numbers to try. Can anyone suggest the correct numbers or how to find out?
> > This is a personal web server plus I use this to test configurations.
> To follow up, I have tried several numbers from 8193 incrementing by 8192, and
> they all report something like invalid magic number in super block.
Please read the e2fsck manpage. The exact position of the backup
superblock depends on the blocksize of your filesystem. You can find the
blocksize by running dumpe2fs -h /dev/hdc1| grep "Block size"