ESXi

 View Only
  • 1.  RHEL Disk Size - increase ?

    Posted Nov 29, 2012 01:26 PM

    I have a RHEL 5.7 VM running on ESXi 5.0.

    The attached screens shows the settings for the VM.

    I need to increase the disk size of the data disk which is currently 50GB.

    What is the best process to use to up the size from 50GB to 120 GB?

    thanks



  • 2.  RE: RHEL Disk Size - increase ?

    Posted Nov 29, 2012 01:44 PM

    You can increase the size of the disk from the same Virtual Machine Properties screen that you attached to your post.  Then use a partitioning tool like gparted to increase the partition size to use the newly added space on your data disk.



  • 3.  RE: RHEL Disk Size - increase ?

    Posted Nov 29, 2012 08:33 PM

    ok,

    i increased disk 2 to 200GB and booted gpartition,,but I do not see the 50 GB disk in gpartition that is reported by the df comamnd in RHEL5

    see attached screens (last one shows gpartition)



  • 4.  RE: RHEL Disk Size - increase ?

    Posted Nov 29, 2012 01:47 PM

    Depending on the layout on RHEL itself you have 2 options:

    - The system is LVM based, extending this is very easy and there are quite some guides on the internet

    - The system is pure disk based, you can extend the system live with fdisk -l /dev/sdX (where X is the disk) but this might be dangerous. The safest solution is to use a tool like gparted :smileyhappy: