Hi Fred, That would depend on what the underlying device is using. Do you know if you are using LVM or not?
Type `lvdisplay` at the console to display any logical volumes. If you are using LVM, you should see one named something like 'VolGroup00_lv-root' If this is the case, something like this should help, but I have listed out the steps below for the TL;DR version: https://wiki.centos.org/TipsAndTricks/ExpandLV
*pvcreate /dev/xvdb* (xvdb is the Xen version, you may see sdb or some other combination.) *vgextend VolGroup00 /dev/xvdb* (Where VolGroup00 is the Volume Group you found before) *lvextend -l +100%FREE /dev/VolGroup00/lv-root* (Or where ever the LVM device is created. lvdisplay will show you this.)
Then simply: *resize2fs /dev/VolGroup00/lv-root* to expand the filesystem on the new block device.
Hope that helps.
Cheers, Ian
On 19 May 2016 at 05:33, Fred Smith fredex@fcshome.stoneham.ma.us wrote:
Hi all!
I've got a VM at work running C6 on HyperV (no, its not my fault, that's what the company uses. I'd rather gag myself than own one of th ose things.)
I ran out of disk space in the VM, so the admin enlarged the virtual disk. but now I realize I don't know how to enlarge the partition and its filesystem.
I'll be googling, but in case I miss it, it'd be great if someone could point me in the right direction.
thanks!
Fred
--
Under no circumstances will I ever purchase anything offered to me as the result of an unsolicited e-mail message. Nor will I forward chain letters, petitions, mass mailings, or virus warnings to large numbers of others. This is my contribution to the survival of the online community.
--Roger Ebert, December, 1996
----------------------------- The Boulder Pledge
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos