partition map and the stability of the filesystem question
david
yellowdog-general@lists.terrasoftsolutions.com
Wed Aug 7 01:11:01 2002
Ok, i've got a litle bit of a head scratcher regarding a partition map and
the stability of the filesystem.
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)
[root@localhost davidwri]# pdisk /dev/hda
Edit /dev/hda -
Partition map (with 512 byte blocks) on '/dev/hda'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 54 @ 64
3: Apple_Driver43*Macintosh 74 @ 118
4: Apple_Driver_ATA*Macintosh 54 @ 192
5: Apple_Driver_ATA*Macintosh 74 @ 246
6: Apple_FWDriver Macintosh 200 @ 320
7: Apple_Driver_IOKit Macintosh 512 @ 520
8: Apple_Patches Patch Partition 512 @ 1032
9: Apple_HFS "Mac OS 9.0.4" 6669754 @ 1544 ( 3.2G)
10: Apple_HFS "Mac OS 10.1 - soon" 6669754 @ 6671298 ( 3.2G)
11: Apple_HFS "bootstrap" 20481 @ 13341052 ( 10.0M)
12: Apple_UNIX_SVR2 swap 524289 @ 13361533 (256.0M)
13: Apple_UNIX_SVR2 untitled 3481601 @ 13885822 ( 1.7G)
14: Apple_UNIX_SVR2 five_one_two_mb 1048576 @ 17367423 (512.0M)
15: Apple_Free Extra 1594817 @ 18415999 (778.7M)
Device block size=512, Number of Blocks=20010816 (9.5G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: 23 @ 64, type=0x1
2: 36 @ 118, type=0xffff
3: 21 @ 192, type=0x701
4: 34 @ 246, type=0xf8ff
parted produces similiar results:
Using /dev/hda
(parted) print
Disk geometry for /dev/hda: 0.000-9770.906 megabytes
Disk label type: mac
Minor Start End Filesystem Name Flags
1 0.000 0.031 Apple
2 0.031 0.057 Macintosh
3 0.058 0.093 Macintosh
4 0.094 0.120 Macintosh
5 0.120 0.156 Macintosh
6 0.156 0.253 Macintosh
7 0.254 0.503 Macintosh
8 0.504 0.753 Patch Partition
9 0.754 3257.469 hfs untitled
10 3257.470 6514.185 hfs untitled 2
11 6514.186 6524.186 hfs untitled
12 6524.186 6780.186 linux-swap swap swap
13 6780.187 8480.187 ext2 untitled
14 8480.187 8992.187 ext2 five_one_two_mb
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.
-thanks for your help
pod2text /usr/lib/perl5/5.6.0/CGI.pm | perl -pe '($_)=/"(mag\w*\s\w*)"/'
david@davidwrightmusic.com