-----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