Jump to content

So, My last Sys-admin has left me in a particular predicament with setting up of this servers hard drives in a very particular, and frustrating way.

 

For example: Here is the ouput of PVS

 

PV             VG                     Fmt  Attr    PSize        PFree
/dev/sda1  vg_Centos00     lvm2 a--    16.00g      0
/dev/sdc1  vg_Centos01     lvm2 a--     548.00m  0
/dev/sdd1  vg_Centos02     lvm2 a--    1020.00m     0
/dev/sde1  vg_Centos03     lvm2 a--    2.00g     0
/dev/sdf1  vg_Centos04      lvm2 a--    1020.00m     0
/dev/sdg1  vg_Centos05     lvm2 a--    1020.00m     0
/dev/sdh1  vg_Centos06     lvm2 a--    15.00g 10.00g
/dev/sdi1  vg_Centos07      lvm2 a--    20.00g 15.00g
/dev/sdj1  vg_Centos08      lvm2 a--    30.00g 27.00g
/dev/sdk1  vg_Centos09     lvm2 a--    2.50g     0
 

And the output of my DF and mount points: (hope clear)

rootfs                 16G  628M   15G   5% /
devtmpfs              1.9G  260K  1.9G   1% /dev
tmpfs                 524M  432K  496M   1% /dev/shm
/dev/mapper/vg_Centos00-LogVol00
                       16G  628M   15G   5% /
/dev/sdb1             379M   96M  264M  27% /boot
/dev/mapper/vg_Centos01-LogVol00
                      524M  432K  496M   1% /dev/shm
/dev/mapper/vg_Centos06-LogVol00
                      4.8G   31M  4.6G   1% /home
/dev/mapper/vg_Centos02-LogVol00
                      988M   14M  924M   2% /tmp
/dev/mapper/vg_Centos08-LogVol00
                      2.9G   24M  2.7G   1% /u
/dev/mapper/vg_Centos07-LogVol00
                      4.8G  1.4G  3.3G  29% /usr
/dev/mapper/vg_Centos03-LogVol00
                      2.0G  1.9G   17M 100% /var
/dev/mapper/vg_Centos04-LogVol00
                      988M  311M  627M  34% /var/log
/dev/mapper/vg_Centos05-LogVol00
                      988M   29M  909M   4% /var/log/audit

 

 

Suffice it to say: The problem is now that /var is full. And the volume group vg_Centos03 which logical volume is mounted on is 100% at capacity. However, as clearly seen, 06, 07 and 08 have sufficient space.

 

I would like to re-allocate that free space in one of the other volume groups and assign it to CentOS03. 

 

is this possible?

Quote

"Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." - Douglas Adams

System: R9-5950x, ASUS X570-Pro, Nvidia Geforce RTX 2070s. 32GB DDR4 @ 3200mhz.

Link to comment
https://linustechtips.com/topic/734601-resizing-volume-groups/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×