[CentOS] SSD as system drive - partitioning question

Al Sparks data345 at yahoo.com
Wed Apr 18 00:37:43 UTC 2012


Well, /boot by default, is always a primary partition.

CentOS (and RedHat) like to create a logical volume manager (LVM) on a 
separate primary partition, and typically inside the LVM one can create 
and modify the rest of the various partitions.

You do have the flexibility to create TWO LVM's.  You can place one LVM on a primary partition on the SSD, and the other on the hard drive.  From 
within both LVM's you can create your partitions to your heart's 
content.

Or for your SSD configuration, don't bother creating an LVM for that.  You can use up to 4 primary partition per storage device (and lots of 
secondary partitions).  So, since you only want to place two partitions 
total on the SSD, simply create those two primary partitions and utilize them.
    === Al




________________________________
 From: Frank Cox <theatre at melvilletheatre.com>
To: centos at centos.org 
Sent: Tuesday, April 17, 2012 3:40 PM
Subject: [CentOS] SSD as system drive - partitioning question
 
I mentioned here the other day that I was planning to set up a Centos 6 system
using a SSD for the system drive and a regular hard drive for a data drive.

My plan is to have everything that doesn't change (much) on the SSD, such
as /boot, /lib, /bin and so on.  I want to put /tmp and /var and /home on the
regular hard drive.

Now that I'm at the stage of actually setting this up I have discovered that I
don't understand enough about drive partitioning to make this work the way that
I want it to.  Perhaps I'm missing something obvious.

I could create separate partitions on the SSD for /lib, /bin and everything
else that I want to put there, then put / on the hard drive, but I would really
prefer to put /boot and one other partition on the SSD, and one partition on
the hard drive.

How can I tell the system that I want /bin and friends on the SSD and /home
and /var on the hard drive, but still have just one partition on each drive
(plus /boot on the SSD)? If I create / on the hard drive and /ssd on the SSD,
then putting bin on the SSD would make it /ssd/bin and that would obviously not
be what I want to see.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos


More information about the CentOS mailing list