|
发表于 2003-3-20 13:24:38
|
显示全部楼层
[quote:05040acdb6="dukeduan"]我的情况恰好相反阿,我用pq分出几个30G ext3的分区,结果都有1G的空间被占用。
然后查资料说,ext3分区会保留5%的空间的。
reiserfs没这个问题。
下面这个是网上查到的资料:
Hi,
On Mon, Feb 04, 2002 at 10:05:48AM -0800, IT3 Stuart Blake Tener, USNR-R wrote:
> Dr. Tweedie, et al.:
>
> I recently formatted a partition using EXT3, and after a "df -h"
> I get 14GB of space. When I reformatted the partition with ReiserFS, and
> did a "df -h" I got 16GB of space!
ext3 uses exactly the same rules as ext2 here. By default, 5% of the
filesystem is "reserved" for root --- tune2fs can modify that. There
is also the fact that ext2 and ext3 preallocate space for inodes: if
you expect only to have a few large files, "mke2fs -i" can be used to
reduce the amount of inode space preallocated.
> Now the partition was setup to be 16GB via fdisk, so 16GB is
> correct. However, why does EXT3 loose 2GB of space?
It doesn't --- the space is just reserved, either for root access or
for the inode data structures. reiserfs also needs space for data
structures analagous to inodes, but it allocates that space
dynamically so you don't see it on a newly-created filesystem.
> The journals cannot
> be that big!?!
No, they should only be a few tens of MB at most.
Cheers,
Stephen [/quote]
天!越来越混乱了!究竟是怎么回事... |
|