mke2fs doesn't want to make a filesystem with block sizes other than 1024.
It claims I have a bad block 0. For example:

        # mke2fs -c -b 4096 /dev/hda1
        mke2fs 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
        Linux ext2 filesystem format
        Filesystem label=
        130048 inodes, 130024 blocks
        6501 blocks (5.00%) reserved for the super user
        First data block=0                                            ****
        Block size=4096 (log=2)
        Fragment size=4096 (log=2)
        4 block groups
        32768 blocks per group, 32768 fragments per group
        32512 inodes per group
        Superblock backups stored on blocks: 
                32768, 65536, 98304

        Checking for bad blocks (read-only test): done               
        Block 0 in primary superblock/group descriptor area bad.
        Blocks 0 through 2 must be good in order to build a filesystem.
        Aborting....

whereas:

        # mke2fs -c /dev/hda1
        mke2fs 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
        Linux ext2 filesystem format
        Filesystem label=
        130048 inodes, 520096 blocks
        26004 blocks (5.00%) reserved for the super user
        First data block=1                                            ****
        Block size=1024 (log=0)
        Fragment size=1024 (log=0)
        64 block groups
        8192 blocks per group, 8192 fragments per group
        2032 inodes per group
        Superblock backups stored on blocks: 
                8193, 16385, 24577, 32769, 40961, 49153, 57345, 65537, 73729, 
                [etc.]

        Checking for bad blocks (read-only test): done               
        Writing inode tables: done     
        Writing superblocks and filesystem accounting information: done

Now, what I find interesting is that the first data block is 1 for blocksize
of 1024, and 0 for every other size (2048, 4096).

Any ideas here?

Thanks,

Tim.
-- 
Tim Bell                                      .--_|\ 
[EMAIL PROTECTED]                             /      \
Department of Computer Science               \_.--._/
University of Melbourne, Australia                 v


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to