Yaovi,
Make sure that you never put /boot on LVM because your machine will not boot.
Matt
-- Mathew S. McCarrell Clarkson University '10
mccarrms@gmail.com mccarrms@clarkson.edu
On Mon, Jun 29, 2009 at 3:50 AM, Yaovi Atohoun yaovito@yahoo.fr wrote:
Thanks. I didn't put / and /boot in the Volume Group. Is it ok?
Yaovi
--- En date de : *Dim 28.6..09, David Goldsmith dgoldsmith@sans.org* a écrit :
De: David Goldsmith dgoldsmith@sans.org Objet: Re: [CentOS] Partitionning for future. À: "CentOS mailing list" centos@centos.org Date: Dimanche 28 Juin 2009, 17h38
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Yaovi Atohoun wrote:
Hi all,
I have a disk of 146Gb in a machine intended to have mainly mysql database, apache and some web data. I didn't use LVM for / and /boot during the installtion
Could I extend easily in the future the /var partition when I add another disk?
Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p6 23G 432M 22G 2% / /dev/mapper/VolGroup00-LogVol00 5.0G 139M 4.7G 3% /home /dev/mapper/VolGroup00-LogVol03 98G 275M 93G 1% /var /dev/mapper/VolGroup00-LogVol02 5.0G 2.9G 1.9G 61% /usr /dev/cciss/c0d0p1 99M 19M 75M 20% /boot tmpfs 470M 0 470M 0% /dev/shm
I would like to have your comments before I continue installin MySQL and others.
Thanks Yaovi
Yes, add a new disk to the system, then run commands such as:
pvcreate /dev/<whatever device it is>
vgextend VolGroup00 /dev/<whatever device it is>
lvextend (either -l +## to add extents or -L +## to add size) /dev/VolGroup00/LogVol03
resize2fs /dev/VolGroup00/LogVol03
David Goldsmith -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpHjogACgkQ417vU8/9QfkM9QCeIAcvH5Bgkwgv96D50rmAXVbt MOkAn0MFj0F5SixH/Lnsu63j1X4Dr7JX =8vaY -----END PGP SIGNATURE----- _______________________________________________ CentOS mailing list CentOS@centos.org http://mc/compose?to=CentOS@centos.org http://lists.centos.org/mailman/listinfo/centoshttp://lists..centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos