LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2006, 03:59 AM   #1
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Rep: Reputation: 30
Exclamation partition layout


I reformated my hard drive so my new partition layout looks like this:
1.5GB Swap
5GB / (reiser fs)
60GB /Home (ext3)
the rest is empty for testing other distros
Is the sapce for root (5GB) enough or should I increase it? In the second case how should I do that?
Are the filesystems good or should I choose other ones? (Which ones?)
Thx for replys!

Last edited by pilatus666; 06-04-2006 at 04:31 AM.
 
Old 06-04-2006, 04:28 AM   #2
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Original Poster
Rep: Reputation: 30
Never mind 5GB is to small for the root so I reformate the hdd! I change the /home filesystem to reiser fs... and it will look like this:
1GB swap
15GB / (reiser fs)
54GB /home (reiser fs)
10GB testing other distros (not formatted)
Hope this layout will be good

Last edited by pilatus666; 06-04-2006 at 04:32 AM.
 
Old 06-04-2006, 10:49 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Looks fine
 
Old 06-05-2006, 11:36 AM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
If you want flexibility (at the expense of a bit more complexity), look into LVM. With this, you can adjust your filesystem sizes as needed, whenever needed. You're no locked into the partition sizes you guessed at install time.

Some people don't really even partition - having just / and swap. Others create hard partitions for each filesystem. Others use LVM. There are pluses and minus for each approach. As you move from no_partitioning -> hard_partitions -> LVM your flexibility increases, but so does the complexity. Decide which method you are comfortable with, and go for it.

FYI, below are two systems I have (Debian). You can get some idea of OS filesystem sizes for my computers from this. Yours may vary of course. I left out other filesystems I have that are too installation-specific to be meaningful (e.g., /music, /photography, /videos, /backup, etc.) I do not use /home for much, preferring to use seperate filesystems to store stuff like music, photos, etc. Personal choice.

Code:
$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7             897M  139M  711M  17% /
/dev/sda5              45M   18M   24M  43% /boot
/dev/mapper/vg0-usr   2.8G  1.9G  896M  68% /usr
/dev/mapper/vg0-var   1.9G  882M  894M  50% /var
/dev/mapper/vg0-opt   237M  155M   70M  69% /opt
/dev/mapper/vg0-tmp   469M  8.1M  436M   2% /tmp
/dev/mapper/vg0-home   94M   58M   33M  64% /home
Code:
$ df -h
Filesystem                 Size  Used Avail Use% Mounted on
/dev/hda8                  287M  147M  126M  54% /
/dev/hda9                   30M  7.6M   21M  28% /boot
/dev/mapper/vg_linux-usr   3.3G  2.8G  448M  87% /usr
/dev/mapper/vg_linux-var   1.4G  545M  823M  40% /var
/dev/mapper/vg_linux-opt   614M  517M   78M  87% /opt
/dev/mapper/vg_linux-tmp    94M  4.1M   85M   5% /tmp
/dev/mapper/vg_linux-home   98M   81M   14M  86% /home
 
Old 06-06-2006, 01:44 AM   #5
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Original Poster
Rep: Reputation: 30
Thx for the replys!
@haertig: LVM looks promissing! I think I'm gonna give'it a try...
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition layout vs performance? kostian Linux - General 3 11-08-2004 07:34 PM
New Layout jeremy LQ Suggestions & Feedback 53 08-09-2004 01:03 PM
Partition Layout advice with dual-booting Elbaron Linux - Newbie 4 05-31-2004 03:55 AM
Partition Layout for a Samba PDC....? tarballed Linux - General 16 05-09-2003 01:05 PM
Layout? MasterC LQ Suggestions & Feedback 2 03-06-2003 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 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