LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 05-07-2008, 07:07 PM   #1
solspin
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: What works
Posts: 97

Rep: Reputation: 15
Fedora LVM eats up 50GB on a fresh install!


I installed Fedora with the following partition structure:

/dev/sda1 holds the /boot partition of size 196MB
/dev/sdb1 holds the swap partition of size 1984MB
/dev/VolGroup00 holds the / partition of size 951616MB

The sizes were noted down during the installation procedure.

So, the root directory should have around 950GB.

Once the OS is booted up and I check disk usage like so:

[root@dhcp ~]# df -h -T
Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00
ext3 901G 2.5G 852G 1% /
/dev/sda1 ext3 190M 13M 169M 7% /boot
tmpfs tmpfs 501M 12K 501M 1% /dev/shm

What happened to 50GB of space? The install takes up 2.5G, so give or take 3GB and I still cannot figure out where 47GB went?

Any pointers?
 
Old 05-08-2008, 07:11 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
By default when an ext2/3 file system is created 5% is reserved for root. This is to allow root to login in case the file system becomes full and to reduce fragmentation. Use tune2fs to reduce the amount of reserved space.
 
Old 05-08-2008, 10:48 AM   #3
solspin
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: What works
Posts: 97

Original Poster
Rep: Reputation: 15
Thanks a bunch man! It would have taken me weeks to figure that out! I guess it's just a problem with ext2/3. Maybe I should go with ReiserFS?
 
Old 05-08-2008, 11:05 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
As stated you can change the amount of reserved space. See the man pages for tune2fs.
 
Old 05-08-2008, 11:58 AM   #5
solspin
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: What works
Posts: 97

Original Poster
Rep: Reputation: 15
Yes, I got it:

tune2fs -m 1 /dev/sda

Changes it to 1% which around 10GB. Still seems like a lot to reserve, but will leave it as is to keep the system reliable.

Thanks again.
 
Old 05-08-2008, 12:25 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
BTW I prefer jfs over reiserfs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 8 won't start after fresh install Ab3n Fedora 6 11-29-2007 09:54 PM
trouble with fresh install of Fedora 6 prashant11 Fedora - Installation 2 01-20-2007 08:49 PM
Fresh Fedora install and BIND Jamesk5 Fedora 2 02-05-2006 08:32 PM
How to install Fedora without LVM pembo13 Fedora 4 12-27-2004 02:44 PM
RH9 to Fedora: fresh install, or upgrade? vtbludgeon Fedora - Installation 3 04-03-2004 08:52 PM


All times are GMT -5. The time now is 12:44 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration