Re: Partitionning for future.

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



Yaovi,

Make sure that you never put /boot on LVM because your machine will not boot.

Matt

--
Mathew S. McCarrell
Clarkson University '10

mccarrms@xxxxxxxxx
mccarrms@xxxxxxxxxxxx


On Mon, Jun 29, 2009 at 3:50 AM, Yaovi Atohoun <yaovito@xxxxxxxx> 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@xxxxxxxx> a écrit :

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


_______________________________________________
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