LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2008, 10:19 PM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 473

Rep: Reputation: 31
Question Partitioning a system, is more partitions better or worse


I'm currently in a trap where I have my drives formated entirely with one partition each and xfs. I want to experiment with Oracle ASM, LVM and possibly some cluster type filesystem. Since all my drives are allocated I can't play without purchasing another HD.


I have four drives. 3x250G 1x160G. I was thinking of redoing my drives in 25G or 10G partitions. So I'd have either a total of 36.4 or 91 small chunks. This way I can allocated/deallocated to the various volume managers. And when I want to play with something that needs a raw disk partition I just pull it out of the volume manager as needed.

Aside from the complete nightmare if I want to pull a full disk, anyone have any thoughts? Anything I haven't thought of? Is there a general guideline for doing this I could follow?
 
Old 05-28-2008, 10:51 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
There's no guide except sensibility. For example, 10GB is probably enough for all the system files and apps; if you have a digital camera and take a lot of photos, then 100GB for a /home directory vanishes very quickly. If you want to play around with some systems and then wipe them, then 10GB is probably enough for the full system. How many different systems do you want to play with at one time?

Simply dividing all disks into equal size partitions is not sensible at all; setting up each permanent system will be a nightmare, and if you generate a lot of data you'll be forever running out of space.
 
Old 05-29-2008, 08:32 AM   #3
fair_is_fair
Member
 
Registered: May 2005
Posts: 516

Rep: Reputation: 52
10 gig partitions are big enough if you have one large partition for sharing data. It is still bit of a pain transferring data especially if you work with large files like iso and dvds. I have settled on 20 gig partitions and this works well.

I prefer to include the /home directory in the /root partition for each operating system. There seems to be less hassles sharing the data partition especially if operating systems are coming and going.
 
Old 05-29-2008, 08:44 AM   #4
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
First of all, you could resize the current partitions with data on them using gparted. Assuming of course there is free space on the partitions.

Second, you should really make the partitions how you need them. I usually make separate partitions for /boot /home /usr /tmp /var and the root partition (/). Just think how much would any of them need.
 
Old 05-29-2008, 08:57 AM   #5
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 473

Original Poster
Rep: Reputation: 31
Clear as mud?

The plan is to allocate space using lvm2. So for my photos (currently 50G) I would make a volume with 60G (6 x 10G). Then as it grows I add another 10G and extent the ext3.

My server only has 4 sata slots, which are all full. So to remove/upgrate a single drive, I have to find space for everything on that drive. With lvm and oracle asm. I just tell the volume manager to remove those PV's Then let it find the space for me. So that's problem one I hope to solve with LVM. For this I could just make two partitions. half and half.

But then I thought. If the Oracle asm is 90% free and I need some space for my digital photos on LVM, two partitions wouldn't be good. So I come up with the idea of many smaller chunks. That way I can allocated/deallocate back and forth as needed.

The final thought on all this was if something new come around. If the partitions are two big and I need to play with that "something new" and I'm using 5 M of a big partition I may not be able to pull it out.

Hope that makes what I'm doing a little more clear? I senced a little confusion when you guys started talking about 10G wouldn't be enough for digital photos. With LVM or even RAID0 I could strip all these together to make a big /home dir.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partitions not recognized by partitioning software tromboneman Linux - General 4 09-18-2007 07:50 PM
partitioning enterprise Linux one or more partitions? jfaubin Red Hat 1 08-23-2007 02:54 PM
linux partitioning (sizes of partitions) r3dhatter Linux - General 14 05-09-2004 03:37 PM
Partitioning - Primary and Logical partitions quietguy47 Linux - General 2 07-06-2003 10:32 AM
Partitioning the system.. chuck77 Linux - General 7 03-14-2002 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration