<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks.<br>I didn't put / and /boot in the Volume Group. Is it ok?<br><br>Yaovi<br><br>--- En date de : <b>Dim 28.6..09, David Goldsmith <i><dgoldsmith@sans.org></i></b> a écrit :<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: David Goldsmith <dgoldsmith@sans.org><br>Objet: Re: [CentOS] Partitionning for future.<br>À: "CentOS mailing list" <centos@centos.org><br>Date: Dimanche 28 Juin 2009, 17h38<br><br><div class="plainMail">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Yaovi Atohoun wrote:<br>> Hi all,<br>> <br>> I have a disk of 146Gb in a machine intended to have mainly mysql<br>> database, apache and some web data. I didn't use LVM for / and /boot<br>> during the installtion<br>> <br>> Could I extend easily in the future the
/var partition when I add<br>> another disk?<br>> <br>> Filesystem Size Used Avail Use% Mounted on<br>> /dev/cciss/c0d0p6 23G 432M 22G 2% /<br>> /dev/mapper/VolGroup00-LogVol00<br>> 5.0G 139M 4.7G 3% /home<br>> /dev/mapper/VolGroup00-LogVol03<br>> 98G 275M 93G 1% /var<br>> /dev/mapper/VolGroup00-LogVol02<br>> 5.0G 2.9G 1.9G 61% /usr<br>> /dev/cciss/c0d0p1 99M 19M 75M 20% /boot<br>> tmpfs
470M 0 470M 0% /dev/shm<br>> <br>> I would like to have your comments before I continue installin MySQL and<br>> others.<br>> <br>> Thanks<br>> Yaovi<br><br>Yes, add a new disk to the system, then run commands such as:<br><br>pvcreate /dev/<whatever device it is><br><br>vgextend VolGroup00 /dev/<whatever device it is><br><br>lvextend (either -l +## to add extents or -L +## to add size)<br>/dev/VolGroup00/LogVol03<br><br>resize2fs /dev/VolGroup00/LogVol03<br><br>- --<br>David Goldsmith<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.9 (MingW32)<br>Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br><br>iEYEARECAAYFAkpHjogACgkQ417vU8/9QfkM9QCeIAcvH5Bgkwgv96D50rmAXVbt<br>MOkAn0MFj0F5SixH/Lnsu63j1X4Dr7JX<br>=8vaY<br>-----END PGP
SIGNATURE-----<br>_______________________________________________<br>CentOS mailing list<br><a ymailto="mailto:CentOS@centos.org" href="/mc/compose?to=CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists..centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br></div></blockquote></td></tr></table><br>