Re: Partition sizes?



es330td@xxxxxxxxx wrote:
I am setting up a machine to learn PHP/MySQL (a LAMP platform.) It
has a 9GB drive and a 36 GB drive and both are 7200RPM F/W SCSI
drives. I have a couple of questions about partitioning the system.

1. I am going to make swap twice the size of RAM. Should I make it
all on one drive or split it between two drives?

It Depends(TM). Will you be using swap much? And will one of the disks be
hammered by disk access so much that it's likely to be taking most of the
disk traffic? (This is likely the MySQL database disk).

2. Do I have to create /opt, /var, /home, etc. or can I simple make a
/ on the 36 and let the system create the various directories so that
each can be as big as it needs?

I suggest a single root. Other folks disagree with me on this, but they
haven't had to deal with the vagaries of tools that stuff things in /usr,
/opt, /var, /tmp, /usr/local, /home, etc. depending on which version you
compile. If you need a big partition for anything, it'll be your MySQL
database, and can be optimized with settings like "noatime".

3. Since I do have two physical drives, what is the best way to
partition this so I don't fill up a partition because I picked a wrong
size at installation?

Spend some time thinking about that MySQL database and how big it's likely
to get, versus how much space you need for other things. Then be ready to do
a backup and restoration if you need to repartition later.

Also, lots of folks use LVM now to dynamically re-allocate partitions. I
don't like the approach, but some folks report good results.


.



Relevant Pages

  • Re: Dual Boot Instructions
    ... the PHYSICAL DISK number, ... Partition and Boot Volume as well as other things. ... You should, at any one time, see ONE System Partition and ONE Boot Volume - ... for the typical two floppy drives and assigning Drive C: ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: Boot Problem
    ... Right mouse click the dest disk> Advanced> Edit ... but it should eventually boot to Windows. ... I see a lot of posts in here about the ability of Acronis to clone drives. ... I have managed to successfully copy by DELETING partition, ...
    (microsoft.public.windowsxp.hardware)
  • Re: A Dual-boot question; I thought C was always the partition with the running OS
    ... The Server 2003 will then call its partion "C:" Local Disk. ... When Server 2003 starts up, it will call itself "C:" and it will call the WinXP partition "E:", but again, who cares? ... The OS then assigns drive letters to the first primary partition recognized on each successive hard disk. ... Because they're on separate hard drives, ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Dual Boot Instructions
    ... If "drive" means a single partition or logical drive, then the negatives you've heard are very true. ... But if "drive" means a physical hard disk drive, then I'm in big trouble because I have SIX versions of Windows installed on my 1 TB Disk 1, my second HDD! ... The name stuck when we added hard disk drives, ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: BootIt NG high level steps - best approach??
    ... backup boot strategy. ... As far as BING, I should tell you I've been using this software ... make managing your bootable options and partition management so much easier. ... drives) and the DATA partition on a mirrored array. ...
    (comp.sys.ibm.pc.hardware.storage)