[CentOS] CentOS 6 Partitioning Help

Jonathan Vomacka juvix88 at gmail.com
Fri Sep 2 19:15:29 UTC 2011


Thank you to everyone who responded and contributed to this topic. I 
appreciate it greatly!

On 9/2/2011 11:27 AM, Robert Nichols wrote:
> On 09/01/2011 07:58 PM, Tom H wrote:
>> Poettering says in
>> his blog that you can have "/usr" on a separate partition if you mount
>> it in the initramfs. With dracut, it means using "--add fstab-sys" (or
>> adding "fstab-sys" to the "/etc/dracut.conf" modules list) and
>> creating an "/etc/fstab.sys" with a "/usr" line".
>
> I tried setting up a system that way, but there are a couple of problems:
>
> 1) You have to patch rc.sysinit to fake an entry for /usr in /etc/mtab.
>      That's easy enough, and not necessary on distributions where /etc/mtab
>      is just a symlink to /proc/mounts.
>
> 2) You have to disable the automatic fsck of /usr.  Because /usr is now
>      mounted, fsck will always fail regardless of the "clean" state of the
>      file system, and the special handling for the already-mounted root
>      file system seems to be hard-coded in the fsck binary and can not
>      be made to apply to /usr.
>



More information about the CentOS mailing list