Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-19-2009, 09:46 PM   #16
Smokey_Mtn Ron
LQ Newbie
Registered: May 2009
Location: American living in Philippines
Distribution: Mint (17.3 Cinnamon
Posts: 13

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks a lot FragInHell!! This is the one I'll use. But all the ones that I've read about always has "/" as primary. Is making it logical not a problem
Old 05-19-2009, 11:18 PM   #17
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Rep: Reputation: 45
I guess like anything there are pro's and cons to this.
Generally /boot always needs to be a primary since this is where the first part if you like of the kernel gets loaded and there are no volume manager drivers yet at this stage.
Traditionally '/' was also a primary as this makes it easier for recover etc, but these days I dont think it matters any more. If you find yourself really in trouble then nearly ever rescue disk will be able to detect logical volumes.
It gets harder if you using special raid controllers etc etc but I don't think in your case you probably are. RAID controllers require additional kernel drivers and can make recovery alot harder.
Good luck, let us know how you get on.
Old 05-20-2009, 05:53 PM   #18
Smokey_Mtn Ron
LQ Newbie
Registered: May 2009
Location: American living in Philippines
Distribution: Mint (17.3 Cinnamon
Posts: 13

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks a lot to everyone!!!!! Hopefully my new hard drive will be here soon and I can get this done. I'll let you know how it turns out when I get it finished.
Old 05-20-2009, 07:06 PM   #19
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze SMP AMD64
Posts: 3,333

Rep: Reputation: 126Reputation: 126
Primary /boot 200mb ext2
primary / 15gb ext3
logical /home 40gb ext3
logical /usr 20gb ext3
logical /var 7gb ext3
logical /opt 7gb ext3
logical /tmp 2gb ext3
logical /swap 2gb swap (I have 2gb of RAM)
As at least one other poster has hinted at, this will work, up until it doesn't. It's really an awful lot of mess for a home system, and consumes a lot of empty hard drive space for no real return. It's your system, of course, but if it were me, I'd use 20GB for "/" (which implies /home, /usr, /var, /opt, and /tmp) and the rest of the drive for "/data". In my system, I actually use a complete 80GB drive for "/", and another larger drive for "/data". Almost all of my data is in "/data", so no matter how badly I bork "/home" or whatever, I've got almost all my data.

Good luck, and have fun, regardless of what you do.
Old 05-21-2009, 12:03 AM   #20
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Here is the output of my slackware 12.2 machine.

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/root             973M  264M  710M  28% /
/dev/sda1              95M   55M   40M  59% /boot
/dev/sda6             487M   74M  413M  16% /var
/dev/sda7             4.8G  345M  4.5G   8% /tmp
/dev/sda8              39G   12G   27G  30% /usr
/dev/sda9             4.8G  926M  3.9G  19% /home
/dev/sda10            648G  111G  538G  18% /library
I have been using this machine as storage and internet. Openoffice is installed to /opt which is bind mounted to /usr/opt. /opt generally doesn't get much attention. Here are the directory sizes for somethings that go there some times.

# contains only openoffice 3.0 on my machine.
du -hs /opt
379M /opt

# some other things
# this works on slackware
sed -n -e '/UNCOMPRESSED/p' /var/adm/packages/kde*
# Then you can add up the output sizes to find KDE in total is
# 436 MB
# Gnome would probably take up just as much.

du -hs /usr/lib/firefox-3.0.10/
25M /usr/lib/firefox-3.0.10/

du -hs /usr/lib/thunderbird-
31M /usr/lib/thunderbird-

du -hs /usr/lib/seamonkey-1.1.16/
40M /usr/lib/seamonkey-1.1.16/

So even in a worst case scenario, you are looking at 3 gigs for /opt with plenty of room to spare. Again, check with your distro, but I feel 7gigs on /opt is an extreme waste when it won't even be 50% used.

If you want to run an http or ftp server, just make sure you have things set up so that stored files are on your /home partition unless you don't plan on exceeding the size of /var which you have set at 7gigs. My /tmp is 5 gigs because of potential use and I build packages in /tmp and sometimes forget to delete them until reboot or it fills up.


mint, partition

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a good TV set top box tvolin Linux - Hardware 1 11-26-2008 07:04 PM
What's a good way to set up partitions for multiple Linux distros? ericthefish Linux - Software 2 08-12-2007 12:44 PM
good partition program k1ll3r_x Linux - Software 6 04-14-2005 03:50 PM
Sendmail - Set up mail server - is the RPM good enough? manudath Linux - Software 1 01-06-2005 05:07 PM
Need to set up 2 IP configs and choose auto the good one kleag Linux - Networking 1 05-18-2004 06:05 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:41 PM.

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