Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
_xz2etbv7eu0n
_xz2etbv7eu0n
Increasing the Disk Size for INE/NE-ONE on VMware

Anchor
_mqg2yh2m99n7
_mqg2yh2m99n7
1 Purpose

We may often start on VMware systems with a relatively small hard disk and later decide that we need more space. This procedure outlines increasing the space.

Anchor
_jekxfpbserdu
_jekxfpbserdu
2 Summary Steps

  1. Make sure that you have flattened all the VMware snapshots if any. The procedure for this is outside the scope of this document

  2. Increase the Disk size in VMware settings to the required size

  3. Increase the partition size with fdisk

  4. Increase the file system size with resize2fs

...

A similar procedure would apply to decreasing the disk size except steps 2-4 would be in the opposite order (and increase would become decrease)

Anchor
_fj1u7gfxbeab
_fj1u7gfxbeab
3 Process Details

Anchor
_nhsnz4lfdltd
_nhsnz4lfdltd
3.1 Make sure that you have flattened all the VMware snapshots if any.

You can check if there are any snapshots by using the vCenter/vSphere GUI and looking at Manage Snapshots. If there is only one - the initial disk you can proceed, otherwise you’ll need to flatten the snapshots.

...

If the option to increase the Disk Size in VMware settings is greyed out, then generally this is due to the flattening of the snapshots not being completely correct.

Anchor
_hyu0rfx9gun
_hyu0rfx9gun
3.2 Increase the Disk size in VMware settings to the required size

Use the vSphere or vCenter GUIs to increase the size of the virtual disk, but note that this will have no effect on the actual available space for the INE/NE-ONE until the next two steps are completed.

Anchor
_s89fdl3c2pjz
_s89fdl3c2pjz
3.3 Increase the partition size with fdisk

Login to the INE/NE-ONE console or via ssh (PuTTY)(username itrinegy) and exit the menu.

...

At this point the kernel is still working on the old layout so reboot the INE/NE-ONE VM

$ sudo reboot

Anchor
_vtkrsjbrbjuy
_vtkrsjbrbjuy
3.4 Increase the file system size with resize2fs

This turns out to be the simplest of the steps and can be accomplished even with the INE/NE-ONE running - no reboots required.

...