I have a file server VM with the logical volumes as following,
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 50G 7.8G 39G 17% /
tmpfs 748M 72K 748M 1% /dev/shm
/dev/sda1 5.0G 165M 4.6G 4% /boot
/dev/mapper/vg_filesvr2-LogVol00
1.4T 1.3T 0 100% /home
I need to extend the size in 'vg_filesvr2-LogVol00' to 0.5T because it's the replication server of another VM, which has its size as 2T.
But, when I check the lvdisplay, following is my result, by which I infer that there is no space to extend:
[root@Filesvr2 ~]# lvdisplay
--- Logical volume ---
LV Path /dev/vg_filesvr2/LogVol00
LV Name LogVol00
VG Name vg_filesvr2
LV UUID HCpG63-IEQj-IsHG-4ewl-N8aK-5oIg-o8jAeZ
LV Write Access read/write
LV Creation host, time Filesvr2, 2016-04-01 11:54:47 +0530
LV Status available
# open 1
LV Size 1.34 TiB
Current LE 349999
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
But, I might be wrong. My requirement here is make the size of the logical volume to 2T as same as the primary server.