partition map and the stability of the filesystem question
Patrick Smith
yellowdog-general@lists.terrasoftsolutions.com
Wed Aug 7 02:33:01 2002
david wrote:
> pdisk produces this: which appears to be a perfectly valid usable map.
> I am concerned with /dev/hda14 which is supposed to be my last usable partion
> on this drive. (I know 15 partitions is the limit)
> 14: Apple_UNIX_SVR2 five_one_two_mb 1048576 @ 17367423 (512.0M)
> 15: Apple_Free Extra 1594817 @ 18415999 (778.7M)
> Now my question is when i try to e2fsck the filesystem, to check it's
> validity, i get this:
> [root@localhost /var]# e2fsck /dev/hda14
> e2fsck 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
> The filesystem size (according to the superblock) is 330424 blocks
> The physical size of the device is 131072 blocks
> Either the superblock or the partition table is likely to be corrupt!
> Abort<y>? yes
>
> what gives? what is up? i have created and re-created this file system about
> 5 times, and yes rebooted after each time.
It looks like the file system has been created over both hda14 and your
idle partition hda15. (Since 512 * (1048576 + 1594817) = 4096 * 131072).
How did you create the filesystem? Doing just "mke2fs /dev/hda14"
should get it right. If that's what you did, maybe there's a bug in
mke2fs; try "mke2fs -b 4096 /dev/hda14 1048576" instead.
--
patsmith@pobox.com