[ale] mke2fs does not create correct size fs?
Chris Fowler
ChrisF at computone.com
Wed Mar 7 23:46:05 EST 2001
I have a unique problem creating a filesystem greater than 4GB.
If I try to create a parttion using fdisk for anything greater than
4GB, mke2fs only creates 2GB of usable space. I have a 20GB parttion on
another machine so I'm sure I can create it. I have attached sfdisk output proving that the parttion is greater than 4GB a and df output only showing 2GB available. Any help would be appreciated. Maybe df is misreporting size. I'm using the latest version of busybox. Of course you'll also notice that /dev/ram7 is reported twice in the output of df.
/dev/root is actually mounted on /usr. it seems that /dev/root is reported twice in /proc/mounts and exerything looks good in /etc/mtab.
Thanks,
Chris
-------------------------------------------------------------------
Disk /dev/hda: 3737 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from
0
  Device Boot Start    End  #cyls  #blocks  Id System
/dev/hda1Â Â Â Â Â Â Â Â Â 0+Â Â Â Â Â 3Â Â Â Â Â Â 4-Â Â Â 32098+Â 83Â Linux
/dev/hda2Â Â Â Â Â Â Â Â Â 4Â Â Â 3736Â Â Â 3733Â 29985322+Â Â 5Â Extended
/dev/hda3Â Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â -Â Â Â Â Â Â 0Â Â Â Â Â Â Â Â 0Â Â Â 0Â Empty
/dev/hda4Â Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â -Â Â Â Â Â Â 0Â Â Â Â Â Â Â Â 0Â Â Â 0Â Empty
/dev/hda5Â Â Â Â Â Â Â Â Â 4+Â Â Â Â 69Â Â Â Â Â 66-Â Â 530113+Â 82Â Linux swap
/dev/hda6Â Â Â Â Â Â Â Â 70+Â Â Â Â 70Â Â Â Â Â Â 1-Â Â Â Â 8001Â Â 83Â Linux
/dev/hda7Â Â Â Â Â Â Â Â 71+Â Â Â 134Â Â Â Â Â 64-Â Â 514048+Â 83Â Linux
/dev/hda8Â Â Â Â Â Â Â 135+Â Â Â 899Â Â Â Â 765-Â 6144831Â Â 83Â Linux
/dev/hda9Â Â Â Â Â Â Â 900+Â Â Â 908Â Â Â Â Â Â 9-Â Â Â 72261Â Â 83Â Linux
Filesystem          1k-blocks     Used Available Use% Mounted on
/dev/ram7Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 14327Â Â Â Â Â 2433Â Â Â Â 11894Â 17% /
/dev/ram7Â Â Â Â Â Â Â Â Â Â Â Â Â Â 481764Â Â Â Â 24376Â Â Â 457388Â Â 5% /usr
/dev/boot               30075     1302    28773  4% /boot
/dev/ram1Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 6995Â Â Â Â Â Â Â 17Â Â Â Â Â 6978Â Â 0% /config
/dev/logfs            1950304    32840  1917464  1% /log
More information about the Ale
mailing list