Increasing the size of the root partition on a vRealize Log Insight 4.x node
search cancel

Increasing the size of the root partition on a vRealize Log Insight 4.x node

book

Article ID: 318700

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to increase the size of root partition on vRealize Log Insight 4.x nodes.
 
Note: This article should not be applied to vRealize Log Insight 8.x environments.


Environment

VMware vRealize Log Insight 4.7.x
VMware vRealize Log Insight 4.8.x

Resolution

To increase the size of the root partition:
  1. Log into the VMware vSphere Web Client as an administrative user.
  2. Right-click the appropriate vRealize Log Insight virtual machine and click Power > Guest Shut Down Guest OS.
  3. Right-click the appropriate vRealize Log Insight virtual machine and click Edit Settings.
  4. Increase the Hard Disk 1 size.
Note: You cannot increase the size of any disk if there is a snapshot in place.  To increase disk size, remove any snapshots on the VM before continuing.
  1. Click OK.
  2. Right-click the appropriate vRealize Log Insight virtual machine and click Snapshots > Take Snapshot.
  3. Click OK.
  4. Open a console to the appropriate vRealize Log Insight virtual machine.
  5. Click Power On.
  6. When the GRUB boot menu is displayed, press the arrow key to select the line that begins with SUSE Linux Enterprise Server.
Note: If you cannot reach the boot menu before it disappears, enable Force BIOS setup in tn the Virtual Machine's Settings > VM Options > Boot Options and reboot.
  1. Add init=/bin/sh to the end of the line. Ensure that there is a space between the end of the current line and the additional parameter.
  2. Press Enter to boot the virtual machine into single user mode.
  3. After # prompt is presented, type fdisk /dev/sda to begin manipulating the partition table.
Note: The prompt will change to Command (m for help):
  1. Type d to start the process of deleting the partition table information for the root partition.
  2. Type 3 to specify the root partition.
  3. Type n to rebuild the partition table information for the root partition.
  4. Type p to specify a primary partition.
  5. Press Enter to accept the default partition number (3).
  6. Press Enter to accept the default first sector.
  7. Press Enter to accept the default last sector.
  8. Type a to start the process of marking the root partition as bootable.
  9. Type 3 to specify the root partition.
  10. Type w to write the updated partition table.
Note: You see this warning message, which can be safely ignored:
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8)
  1. Run this command to reboot the virtual machine:
shutdown -r -n -f now

Note: Let the virtual machine boot normally.
  1. Log in to the appropriate vRealize Log Insight virtual machine as root via SSH or Console.
  2. Run this command to extend the root file system:
resize2fs /dev/sda3
  1. Run this command to verify that the / partition is larger:
df -h /
  1. Repeat steps 2-27 for any other vRealize Log Insight nodes as required.
Once everything is confirmed to be working, the snapshots taken in step 6 can be deleted.


Additional Information

The vRealize Log Insight root partition is full (82170)