Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 320GB hard drive maxed at ~280GB?
Date: Wed, 25 Oct 2006 05:47:22
Message-Id: 1161753971.22203.22.camel@orpheus
In Reply to: Re: [gentoo-user] 320GB hard drive maxed at ~280GB? by Richard Fish
1 On Tue, 2006-10-24 at 22:12 -0700, Richard Fish wrote:
2 > On 10/24/06, Richard Fish <bigfish@××××××××××.org> wrote:
3 > > On 10/24/06, Grant <emailgrant@×××××.com> wrote:
4 > > > I have a 320GB hard drive with a small swap partition, a small boot
5 > > > partition, and the remainder in the root partition. 'du -sh /' says
6 > > > 278G and a mkisofs command failed with no space left on device. What
7 > > > happened to the rest of the gigs?
8 > >
9 > > If you formatted with ext3/ext2, 5% is reserved for root, and will not
10 > > appear in df output. This would account for about 15G. Another 7.3%
11 > > (or about 23G) is lost due to the fact that linux and df count 1GB as
12 > > 1073741824 bytes, while manufactures sell drives counting 1GB as
13 > > 1000000000 bytes.
14 >
15 > And just so I can talk to myself in cyberspace just like real life,
16 > I'll reply to my own posting...
17
18 you two?[sic]
19
20 > You can use tune2fs -m 0 to change the ext2/ext3 reserved blocks
21 > percentage to 0 to 'recover' some of that space.
22
23 0 may not be such a good idea. Leave at least 50MiB for root... Depends
24 how you want to run your system I guess... If it's a headless server,
25 then leave more...
26 --
27 Iain Buchanan <iaindb at netspace dot net dot au>
28
29 I wouldn't ever write the full sentence myself, but then, I never use
30 goto either.
31 -- Larry Wall in <199709032332.QAA21669@××××.org>
32
33 --
34 gentoo-user@g.o mailing list