Standard alternate superblock?

Standard alternate superblock?

Post by Colin Wils » Thu, 15 Jun 1995 04:00:00



Is there a standard alternate superblock to try for fsck'ing a partition?
Or is there a way to generate the list without destroying the partition?

I don't have the original list of alternate superblocks output by mke2fs.
I'd rather not trash the partition if I don't absolutely have to.
Thanks for any help...

Colin
-----
Colin Wilson                      |     A mind once stretched by a new idea
University of Washington          |     never regains its original dimension.
Molecular Biotechnology           |              - Oliver Wendell Holmes
Box 352145
Seattle, WA  98195-2145

 
 
 

Standard alternate superblock?

Post by Zenon Fortu » Fri, 16 Jun 1995 04:00:00




>Is there a standard alternate superblock to try for fsck'ing a partition?
>Or is there a way to generate the list without destroying the partition?

>I don't have the original list of alternate superblocks output by mke2fs.
>I'd rather not trash the partition if I don't absolutely have to.
>Thanks for any help...

>Colin

The superblocks under ext2 filesystem are stored at 1+i*8192 block locations
(block = 1k). So, one can run  "e2fsck -b 8193", for example.

        Zenon

 
 
 

Standard alternate superblock?

Post by Bill Pog » Mon, 19 Jun 1995 04:00:00


: Is there a standard alternate superblock to try for fsck'ing a partition?
: Or is there a way to generate the list without destroying the partition?

: I don't have the original list of alternate superblocks output by mke2fs.
: I'd rather not trash the partition if I don't absolutely have to.
: Thanks for any help...

I believe that a superblock exists every 8192 bytes on the drive... there
is a parameter to pass what block to read... try the man page... good luck.

bill

--
---------------------------------------------------------------------------
Dark Night, Cool Breeze, Wet Dreams...

 
 
 

1. finding alternate superblock on ext2 part'n

Dear all,
    Had a nasty partition corruption that killed the superblock. When I run
e2fsck


e2fsck 1.15, 18-Jul-1999 for EXT2 FS 0.5b, 95/08/09
Group descriptors look bad... trying backup blocks...
/sbin/e2fsck: Bad magic number in super-block while trying to open /dev/sdc8

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>

Tried the address suggested but no go.
How can I find the address of the alternative superblock to fix this
The partition is over 2GB so the tool ext2ed doesnt work.

Andrew Gray

2. (ifconfig) FreeBSD 4.3 with to NIC`s on the same network

3. Strange fsck behaviour with alternated superblock

4. .htm apache / linux

5. [1/4]: Ext2/3 updates: Fix/simplify alternate superblock logic

6. Automatically mount and umount a ZIP device?

7. Kernel panic, alternate superblock

8. cron, mail, std output and error

9. alternate superblock with UFS

10. LCSDNYR 2001 -> standards, standards, standards

11. redirecting standard output and standard error

12. standard out and standard error

13. differentiate between standard output and standard error?