[CentOS] Partitionning for future.

Mon Jun 29 07:50:59 UTC 2009
Yaovi Atohoun <yaovito at yahoo.fr>

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 at sans.org> a écrit :

De: David Goldsmith <dgoldsmith at sans.org>
Objet: Re: [CentOS] Partitionning for future.
À: "CentOS mailing list" <centos at 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 at centos.org
http://lists.centos.org/mailman/listinfo/centos



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090629/ecb11d7b/attachment-0005.html>