<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I accept your remark and thanks.<br><br>I am planning to use the server mainly for MySQL and need some space for Apache. This is why I have more than 100GB for /var. <br>I may need more spcae for MySQL databaes in the future and this is why I want to to with LVM<br><br>Thanks again<br>Yaovi<br><br>--- En date de : <b>Jeu 2.7.09, Filipe Brandenburger <i><filbranden@gmail.com></i></b> a écrit :<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Filipe Brandenburger <filbranden@gmail.com><br>Objet: Re: [CentOS] Partitionning for future.<br>À: "CentOS mailing list" <centos@centos.org>, "Yaovi Atohoun" <yaovito@yahoo..fr><br>Date: Jeudi 2 Juillet 2009, 17h10<br><br><div class="plainMail">Hi Yaovi,<br><br>In the future, please post your questions to the list and not
directly<br>to me, that way you might get answers from others as well.<br><br>On Thu, Jul 2, 2009 at 10:52, Yaovi Atohoun<<a ymailto="mailto:yaovito@yahoo.fr" href="/mc/compose?to=yaovito@yahoo.fr">yaovito@yahoo.fr</a>> wrote:<br>> I have re-installed CENTOS but I have created a /tmp. Now I have /tmp and<br>> tmps<br>><br>> df -h<br>> Filesystem Size Used Avail Use% Mounted on<br>> /dev/mapper/VolGroup00-LogVol00<br>> 21G 381M 19G 2% /<br>> /dev/cciss/c0d0p7 487M 11M 451M 3% /tmp<br>> /dev/mapper/VolGroup00-LogVol02<br>> 5.0G 3.7G 1.1G 78% /usr<br>>
/dev/mapper/VolGroup00-LogVol01<br>> 5.0G 139M 4.7G 3% /home<br>> /dev/mapper/VolGroup00-LogVol03<br>> 100G 258M 94G 1% /var<br>> /dev/cciss/c0d0p1 99M 12M 83M 13% /boot<br>> tmpfs 505M 0 505M 0% /dev/shm<br>><br>> Do you think that my partition is OK and I can continue?<br><br>It really depends on what you are trying to do. You did not use LVM<br>for /tmp and fixed it to ~500MB, but I can't tell you if that is going<br>to be enough for you or not, only you can tell that based on the<br>applications you are planning to run
on this machine.<br><br>If you are not sure, I would at least suggest that you also create<br>/tmp on LVM, that way you can grow it if you really have the need for<br>more.<br><br>Yes, it is OK to have /tmp and a tmpfs for /dev/shm, they are<br>different from each other and each of them needed for different<br>purposes.<br><br>Personally, I think you should only create so many partitions for your<br>system if you really know what you are doing. While there are<br>advantages to having separate partitions (different I/O requirements<br>for particular applications, limit damage caused by an application<br>filling up the disk, in which case the root filesystem might not be<br>affected) it brings more complexity and more management requirements..<br>While LVM alleviates some of the problem, it does create its own as<br>well.<br><br>If you are not sure of what you are trying to accomplish and cannot<br>come up with specific requirements of what you need, I
would recommend<br>you to create only a /boot partition (physical partition) and a /<br>partition on LVM and that's all. It will probably not be the ideal<br>setup, but good enough for most cases, and it will be the one that<br>will require the least management efforts.<br><br>HTH,<br>Filipe<br></div></blockquote></td></tr></table><br>