Another fsck error at startup

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Cameron
Date:  
New-Topics: mkfs
Subject: Another fsck error at startup
IIRC you can sometimes write to a slice (partition) without running mkfs
on it, but you will have flaky results. Sound familiar?

On Mon, 2003-08-04 at 10:03, Michael Havens wrote:
> if you want to know the truth I never made sda6. I made the swap drive (sda1)
> and sda5. sda6 just appeared.
> Mike
>
> On Tuesday 05 August 2003 01:40 am, Thomas Cameron wrote:
> > Did you run mkfs on it when you first made that partition?
> >
> > On Mon, 2003-08-04 at 09:48, Michael Havens wrote:
> > > I tried all of them.
> > > I tried differant options.
> > > It always returned the sam:
> > > ~~~
> > > 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>
> > > (sometimes there was additional info but I do not think it is seeing it)
> > > ~~~
> > > ~):Mike:(~
> > >
> > > Following is the printout of my actions.
> > >
> > > bmike1@bmike1:~$ su
> > > Password:
> > > root@bmike1:/home/bmike1# e2fsck -f /dev/sda6
> > > e2fsck 1.34-WIP (21-May-2003)
> > > Couldn't find ext2 superblock, trying backup blocks...
> > > e2fsck: Bad magic number in super-block while trying to open /dev/sda6
> > >
> > > 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>
> > >
> > > root@bmike1:/home/bmike1# e2fsck -B 8193 /dev/sda6
> > > e2fsck 1.34-WIP (21-May-2003)
> > > Couldn't find ext2 superblock, trying backup blocks...
> > > e2fsck: Invalid argument while trying to open /dev/sda6
> > >
> > > 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>
> > >
> > > root@bmike1:/home/bmike1# e2fsck -b 8193 /dev/sda6
> > > e2fsck 1.34-WIP (21-May-2003)
> > > e2fsck: Bad magic number in super-block while trying to open /dev/sda6
> > >
> > > 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>
> > >
> > > root@bmike1:/home/bmike1# e2fsck -b 16384 /dev/sda6
> > > e2fsck 1.34-WIP (21-May-2003)
> > > e2fsck: Invalid argument while trying to open /dev/sda6
> > >
> > > 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>
> > >
> > > root@bmike1:/home/bmike1# e2fsck -b 16383 /dev/sda6
> > > e2fsck 1.34-WIP (21-May-2003)
> > > e2fsck: Invalid argument while trying to open /dev/sda6
> > >
> > > 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>
> > >
> > > root@bmike1:/home/bmike1# e2fsck -p /dev/sda6
> > > e2fsck: Bad magic number in super-block while trying to open /dev/sda6
> > > /dev/sda6:
> > > 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>
> > >
> > > root@bmike1:/home/bmike1# e2fsck -C /dev/sda6
> > > Usage: e2fsck [-panyrcdfvstDFSV] [-b superblock] [-B blocksize]
> > >                 [-I inode_buffer_blocks] [-P process_inode_size]
> > >                 [-l|-L bad_blocks_file] [-C fd] [-j ext-journal]
> > >                 [-E extended-options] device

> > >
> > > Emergency help:
> > >  -p                   Automatic repair (no questions)
> > >  -n                   Make no changes to the filesystem
> > >  -y                   Assume "yes" to all questions
> > >  -c                   Check for bad blocks and add them to the badblock
> > > list -f                   Force checking even if filesystem is marked
> > > clean -v                   Be verbose
> > >  -b superblock        Use alternative superblock
> > >  -B blocksize         Force blocksize when looking for superblock
> > >  -j external-journal  Set location of the external journal
> > >  -l bad_blocks_file   Add to badblocks list
> > >  -L bad_blocks_file   Set badblocks list
> > > root@bmike1:/home/bmike1# e2fsck -cc /dev/sda6
> > > e2fsck 1.34-WIP (21-May-2003)
> > > Couldn't find ext2 superblock, trying backup blocks...
> > > e2fsck: Bad magic number in super-block while trying to open /dev/sda6

> > >
> > > 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>
> > >
> > > root@bmike1:/home/bmike1# e2fsck -b 32768 /dev/sda6
> > > e2fsck 1.34-WIP (21-May-2003)
> > > e2fsck: Invalid argument while trying to open /dev/sda6
> > >
> > > 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>
> > >
> > > On Monday 04 August 2003 10:19 am, technomage wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > hmmmmmmm.
> > > > well, the only other thing I can suggest is read the manpage on e2fsck
> > > > (man e2fsck). it has some suggestions in it for other block numbers.
> > > > try any or all of them.
> > > >
> > > > Mage
> > >
> > > ---------------------------------------------------
> > > PLUG-discuss mailing list -
> > > To subscribe, unsubscribe, or to change you mail settings:
> > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss