Page 1 of 1
How do I expand the virtual disk of Network Analyzer VM?
Posted: Fri Jan 15, 2016 9:12 am
by bmunger
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...
Re: How do I expand the virtual disk of Network Analyzer VM?
Posted: Fri Jan 15, 2016 1:55 pm
by snapon_admin
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!
Re: How do I expand the virtual disk of Network Analyzer VM?
Posted: Fri Jan 15, 2016 1:56 pm
by hsmith
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?
Re: How do I expand the virtual disk of Network Analyzer VM?
Posted: Fri Jan 15, 2016 2:06 pm
by bmunger
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.
Re: How do I expand the virtual disk of Network Analyzer VM?
Posted: Fri Jan 15, 2016 2:36 pm
by rkennedy
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?