How do I expand the virtual disk of Network Analyzer VM?
-
bmunger
How do I expand the virtual disk of Network Analyzer VM?
Is there a documented procedure on how to expand the size of the disk of the Network Analyzer virtual machine? The VM is running on VMWare so I can expand the disk easily, but how do I make the operating system utilize it correctly without messing something up? If there is a document on this, I can't find it...
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: How do I expand the virtual disk of Network Analyzer VM?
Typically you can follow the documentation for resizing the disk in XI for this. Can you run this and paste the output?
If your VM isn't using LVM (like ours isn't for some reason) then you may have to mount an ISO of a disk partition utility like gparted and resize it that way. I literally resized our NNA server's virtual disk like an hour ago with this method. Whichever method you use don't forget to make backups!
Code: Select all
df -hRe: How do I expand the virtual disk of Network Analyzer VM?
The NNA ova isn't running LVM, the developers are aware of this, but I do not know when/if it is on the roadmap. Did you install from ova?
Former Nagios Employee.
me.
me.
-
bmunger
Re: How do I expand the virtual disk of Network Analyzer VM?
OK - I figured this out, using the Nagios XI re-sizing document as a guide. I was initially thrown off because LVM is not in use. It was actually pretty simple.
The steps are:
Resize in VMWare
run fdisk on virtual disk /dev/sda
Delete partition
Re-create partition using the end of the disk as the last cylinder
reboot
Then the resize command has to be run:
resize2fs /dev/sda1
That is pretty much it.
The steps are:
Resize in VMWare
run fdisk on virtual disk /dev/sda
Delete partition
Re-create partition using the end of the disk as the last cylinder
reboot
Then the resize command has to be run:
resize2fs /dev/sda1
That is pretty much it.
Re: How do I expand the virtual disk of Network Analyzer VM?
You got it. The guide describes in an LVM environment. Thanks for the contribution @snapon_admin!
Am I good to mark this thread as resolved, and close it out?
Am I good to mark this thread as resolved, and close it out?
Former Nagios Employee