[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mke2fs & capacity (where did it go!?)



I'm trying to setup 4 4.51gig scsi drives.

I used the following to setup the drives:

(victor)[root:~#] mke2fs -c -v /dev/sda1
mke2fs 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
Linux ext2 filesystem format
Filesystem label=
1101824 inodes, 4401778 blocks
220088 blocks (5.00%) reserved for the super user
First data block=1
Block size=1024 (log=0)
Fragment size=1024 (log=0)
538 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
....etc

And I did this for each one of the 4 drives....

Here is what 'df' says about the drives:
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hdb1             705433  485054   183942     73%   /
/dev/sda1            4253289  509553  3523648     13%   /var/sda1
/dev/sdb1            4253289      13  4033188      0%   /var/sdb1
/dev/sdc1            4253289      13  4033188      0%   /var/sdc1
/dev/sdd1            4253289      13  4033188      0%   /var/sdd1

This says I have 4,033,188 to play with plus 220,088 for reserved.
Now, if I add those together I get 4,253,276.
This is not even close to the stated formatted capacity of 4.51gigs.

What am I missing here ??
Is there a way to optimize the formatting of large harddrives to get
the most out of them, or should 'mke2fs -c -v /dev/sdxx' always be used ?

Thanks !
Matthew


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: