The server you are working on is using the Logical Volume Manager, which has been
configured as follows:
Volume Group: vgData
Logical Volumes: lvMYSQL / lvDATA
We need 512MB of extra disk space added to lvMYSQL but the problem is that there
is no more free space left on vgDATA. Please increase the disk space of lvMYSQL by taking 512MB from lvDATA.
Volume Group: vgData
Logical Volumes: lvMYSQL / lvDATA
We need 512MB of extra disk space added to lvMYSQL but the problem is that there
is no more free space left on vgDATA. Please increase the disk space of lvMYSQL by taking 512MB from lvDATA.
df -h
lvs
umount -v /var/www/html/
Check everything is ok before doing anything :
e2fsck -ff /dev/vgDATA/lvDATA
vgdisplay
lvdisplay
resize2fs /dev/vgDATA/lvDATA 1536M
lvreduce -L -512M /dev/vgDATA/lvDATA
lvdisplay
resize2fs /dev/vgDATA/lvDATA
mount /dev/vgDATA/lvDATA /var/www/html
df -h
vgdisplay
lvextend -l +128 /dev/vgDATA/lvMYSQL
resize2fs /dev/vgDATA/lvMYSQL
df -h
Comments
Post a Comment