I have a redhat server with two disks 100gb and 500gb. The 500GB disk was unused, however I then used it to extend the /var LV. The filesystem on all mountpoints are xfs and you actually can't reduce lv on a xfs filesystem.
So what has been done to this point is:
- Create a partition on 500GB disk
- Extend LV lv_var with 50% of 500gb disk
I have not grown the filesystem yet with xfs_grow so the fs is still at 2gb on /var. My issue is then, how can I in a safe way remove the extended disk space on the 500gb disk without harming the filesystem on /var.
lsblk:
sda 8:0 0 65G 0 disk
└─sda3 8:3 0 64G 0 part
├─vg_rhel-lv_var 253:4 0 250G 0 lvm /var
sdb 8:16 0 500G 0 disk
└─sdb1 8:17 0 500G 0 part
└─vg_rhel-lv_var 253:4 0 250G 0 lvm /var