LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-19-2009, 08: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, 10:18 PM   #17
FragInHell
Member
 
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, 04: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, 06:06 PM   #19
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
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-20-2009, 11:03 PM   #20
lumak
Member
 
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
Code:
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-2.0.0.21/
31M /usr/lib/thunderbird-2.0.0.21/

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.
 
  


Reply

Tags
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 06:04 PM
What's a good way to set up partitions for multiple Linux distros? ericthefish Linux - Software 2 08-12-2007 11:44 AM
good partition program k1ll3r_x Linux - Software 6 04-14-2005 02:50 PM
Sendmail - Set up mail server - is the RPM good enough? manudath Linux - Software 1 01-06-2005 04:07 PM
Need to set up 2 IP configs and choose auto the good one kleag Linux - Networking 1 05-18-2004 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration