[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ext2
On Wed, 10 Jun 1998, Miki Shapiro wrote:
> Someone explain this to me.
>
> Filesystem 1024-blocks Used Available Capacity Mounted on
> /dev/sda2 2012598 1355846 552732 71% /
> /dev/hda1 7963671 3093915 4456906 41% /mnt/disk2
>
> 3093915 + 4456906 does not add up to 7963671.
> where the hell did half a Gig go? inodes?
That is because ext2fs reserves 5% of the blocks to root. Thus, on a 8GB
drive, you'll get 8192*.05=409.6 . Apart from that, you have the regular
inodes etc etc. You can change the percentage via the
mke2fs [ -m reserved-blocks-percentage ] option.
Best,
--Ariel
P.S. On large drives, you might want to leave 1% instead of 5%.
>
>
> Regards
> Miki Shapiro <Aris>
> Dial Up Customers Support
>
> "I dont suffer from insanity... I enjoy every bloody moment."
>
> - Unknown source
>
> ------------------------------------------------------
> E-Mail aris@netvision.net.il Tel: 04-8560600
> Home Page: www.netvision.net.il Fax: 04-8560572
> ICQ: 4122707 04-8550345
> Cell: 051-500983
>
> NETVISION LTD.
> THE NO.1 ISRAELI INTERNET & SERVICES PROVIDER.
> * ----------- HAIFA - ISRAEL -------- *
>
>
+---------------------------------------------------------------+
| Ariel Biener |
| e-mail: ariel@post.tau.ac.il Work ph: 03-6406086 |
| fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC |
+---------------------------------------------------------------+
- References:
- Ext2
- From: Miki Shapiro <aris@elronet.co.il>