Re: CentOS 6.5 install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Feb 26, 2014 at 4:21 PM, Les Mikesell <lesmikesell@xxxxxxxxx> wrote:
> On Wed, Feb 26, 2014 at 3:12 PM,  <m.roth@xxxxxxxxx> wrote:
>>>>
>>> Is there a way to get /home, /var, and /opt installed as directories
>>> on that other "one big partition"?   /var in particular has an odd mix
>>> of OS and 'your' data and logs that may turn out to be big.  And you
>>> may not know ahead of time what to allocate for it as a separate mount
>>> point.
>>>
>> Here at work, /home is *always* NFS-mounted. Even so, I'd think 250G is
>> easily big enough for / to include /var, even with a moderately large d/b
>> there.
>
       I think 250G is overkill unless you have need for all that
space. A lot of my installs are

512MB-1GB : /boot
2GB            : /
2-4GB         : /usr, lvm
2-4GB         : /var, lvm

--- optional ---
XGB            : /usr/local, lvm
XGB            : /var/something for apache or mysql or storing penguins, lvm

/boot is never in a lvm and I usually do not put / in a lvm either;
the rest are always in lvm so I can move and resize them as needed.
And even that might be way too much:

My kvm-based vm host (centos 6.4):

[root@vmhost ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             1.9G  638M  1.2G  35% /
tmpfs                 7.7G     0  7.7G   0% /dev/shm
/dev/sda1             472M  149M  299M  34% /boot
/dev/mapper/vmhost_vg0-usr
                      4.0G  1.5G  2.4G  38% /usr
/dev/mapper/vmhost_vg0-var
                      4.0G  1.2G  2.7G  30% /var
fileserver:/home/raub
                      197G  163G   35G  83% /home/raub
[root@vmhost ~]#

My nagios/rsyslog thingie:

[raub@scan ~]$ df -h
Filesystem                  Size  Used Avail Use% Mounted on
/dev/vda2                   2.0G  675M  1.3G  36% /
tmpfs                       246M     0  246M   0% /dev/shm
/dev/vda1                   504M  106M  373M  23% /boot
/dev/mapper/nagios_vg0-usr  2.0G  584M  1.3G  31% /usr
/dev/mapper/nagios_vg0-var  2.0G  440M  1.5G  23% /var
fileserver:/logs             20G  651M   19G   4% /var/log/syslog
[raub@scan ~]$

As you can see, even 2GB is overkill for my root partition. Remember:
if you are using lvm you can move the other partitions to another
drive or raid without rebooting. And, you can set all that during the
install without losing your sleep.

> But as a generic question: is there a way to get the installer to put
> some top-level directories into subdirectories on a different volume
> so they share space but aren't part of the root volume?  You can do
> each as a separate mount point, but sometimes I want the effect you
> get with symlinks - which involves some awkward juggling for
> system-installed directories that already have contents.
>
> --
>    Les Mikesell
>      lesmikesell@xxxxxxxxx
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux