[CentOS] CentOS 6 Partitioning Help

Thu Sep 1 15:23:13 UTC 2011
Robert Nichols <rnicholsNOSPAM at comcast.net>

On 09/01/2011 12:20 AM, Simon Matter wrote:
>> On 08/31/2011 08:51 PM, Jonathan Vomacka wrote:
>>> In the past this was my partition scheme:
>>>
>>> Root filesystem (/) = 10240MB (10GB)
>>> /boot = 200MB
>>> swap =  1024MB (1GB)
>>> /var = 20480MB (20GB)
>>> /tmp = 10240MB (10GB)
>>> /usr = 51200MB (50GB)
>>> /home = all remaining space on the drive
>>
>> Having /usr separate from the root file system is no longer recommended
>> or supported.  There are various bits and pieces from /usr that now may
>
> Are you sure that's true? Reading the latest EL6 docs I have the
> impression it's recommended to put /usr on the same disk where / and /boot
> are. That's a good rule but I don't think it's meant to run without /usr.

Yes, I'm quite sure.  Do you have a specific reference that supports your
impression?

Here's what the RHEL6 Installation Guide has to say:

      Do not place /usr on a separate partition If /usr is on a separate
      partition from /, the boot process becomes much more complex, and
      in some situations (like installations on iSCSI drives), might not
      work at all.

I had a discussion about this on the Fedora users list back in March. Since
Fedora 11, separate /usr partition has not been recommended.  For Fedora 12
(the basis for RHEL6), I went through the exercise of identifying the files
on /usr that might be needed early in the boot sequence.  Here is what I
found:

     /usr/sbin/vbetool
     /usr/sbin/pcscd
     /usr/sbin/Kobil_mIDentity_switch
     /usr/sbin/bluetoothd
     /usr/bin/env
     /usr/bin/hp-mkuri
     /usr/share/hwdata/*         (total of 29 files)
     /usr/lib64/libusb-0.1.so.4.4.4
     /usr/lib64/libsensors.so.4.2.1
     /usr/lib64/libbluetooth.so.3.4.2
     /usr/lib64/libcrypto.so.10
     /usr/lib64/libpciaccess.so.0
     /usr/lib64/libnetsnmp.so.15.1.2
     /usr/lib64/libpciaccess.so.0.10.8
     /usr/lib64/libnetsnmp.so.15
     /usr/lib64/libsensors.so.4
     /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so.1.3.9
     /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
     /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
     /usr/lib64/pcsc/drivers/serial/libccidtwin.so
     /usr/lib64/pcsc/drivers/serial/libccidtwin.so.1.3.9
     /usr/lib64/libusb-0.1.so.4
     /usr/lib64/libcrypto.so.1.0.0b
     /usr/lib64/libx86.so.1
     /usr/lib64/libhal.so.1.0.0
     /usr/lib64/libhal.so.1
     /usr/lib64/libbluetooth.so.3
     /usr/lib64/libusb-1.0.so.0.0.0
     /usr/lib64/libusb-1.0.so.0

I actually had a Fedora 12 system set up with a root file system that
had a stub /usr directory tree containing just those files.  It would
get overlaid by the full /usr file system when that partition got
mounted.  I wouldn't actually recommend that as a configuration.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.