I have been testing methods for adding space to an Ubuntu Server guest running on VMware. I have setup the server using LVM so I can add physical disks to to the LVM group and expand the logical volume on the system without having to shut it down.
What I am testing right now and having trouble with is rather than adding a second virtual disk, I extended the existing virtual disk using the VMware client and it appears that it worked, but I cannot figure out how to get Ubuntu server to recognize the additional space without a reboot. I have tried rescanning the scsi hosts using the command below as I would in order to add the 2nd virtual hard disk, but that doesn't appear to do anything.
Command to scan for added hard drive:
echo "- - -" > /sys/class/scsi_host/host2/scan
Any ideas? I am trying to figure out if this is possible so I don't have to keep adding multiple virtual hard drives every time I need more space and instead just make the existing drive bigger.
Thanks in advance for any help!
No comments:
Post a Comment