Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 320GB hard drive maxed at ~280GB?
Date: Wed, 25 Oct 2006 16:04:44
Message-Id: 49bf44f10610250857w5cd067ddl783f3b5207cb4a8e@mail.gmail.com
In Reply to: Re: [gentoo-user] 320GB hard drive maxed at ~280GB? by Richard Fish
1 > > > I have a 320GB hard drive with a small swap partition, a small boot
2 > > > partition, and the remainder in the root partition. 'du -sh /' says
3 > > > 278G and a mkisofs command failed with no space left on device. What
4 > > > happened to the rest of the gigs?
5 > >
6 > > If you formatted with ext3/ext2, 5% is reserved for root, and will not
7 > > appear in df output. This would account for about 15G. Another 7.3%
8 > > (or about 23G) is lost due to the fact that linux and df count 1GB as
9 > > 1073741824 bytes, while manufactures sell drives counting 1GB as
10 > > 1000000000 bytes.
11 >
12 > And just so I can talk to myself in cyberspace just like real life,
13 > I'll reply to my own posting...
14 >
15 > You can use tune2fs -m 0 to change the ext2/ext3 reserved blocks
16 > percentage to 0 to 'recover' some of that space.
17 >
18 > -Richard
19
20 Thanks a lot, very informative. I ran 'tune2fs -m 1 /dev/sda3' to
21 crank the reserved space down to 1%. Time to start re-authoring my
22 DVD backups.
23
24 - Grant
25 --
26 gentoo-user@g.o mailing list