Expand LVM Disk with Ontap Backed LUNs

Latest response

We are running RHEL 7 on HP ProLiant hardware with LVM. Currently, we are testing the use of LVM with disk groups (for performance) but a question arose about using a single LUN with an LVM disk group namely:

  • With a single LUN in a single logical volume in a single LVM disk group can we extend the LUN online and then run commands in RHEL to extend the partition, logical volume and then filesystem?

We have been told by our storage team the only way to do this is add another LUN in ONTAP9, present back to the RHEL server and add it to the LVM disk group then extend the filesystem. This seems odd to me as on our RHEL VMs we using LVM and can do this on the fly using by expanding the .vmdk then fdisk, lvextend and XFS_Grow. Is vmware tools doing some magic here that a physical server cannot do ?

Note: we know one disk in a LVM group does not really give any specific benefit but we have a specific scenario that might require this.

Responses