Page 2 of 2

Re: How to extend NSL storage

Posted: Wed Jan 21, 2015 10:34 pm
by itsupport_sgp
scottwilkerson wrote:You can also add a datastore path
http://assets.nagios.com/downloads/nagi ... Server.pdf
Hi Scott,

I'm looking into more like expanding the existing storage.
Not an expert in Linux.
In windows, it is able to do a diskpart expand for the vDisk.

Re: How to extend NSL storage

Posted: Thu Jan 22, 2015 2:02 pm
by lmiltchev
I've used the following guide numerous times with no issues whatsoever:
http://assets.nagios.com/downloads/nagi ... M_Disk.pdf

I am not sure why you are getting the '-bash: pvresize: command not found" error... Can you run the following commands and show us the output?

Code: Select all

which pvresize
whereis pvresize
df -h

Re: How to extend NSL storage

Posted: Fri Jan 23, 2015 10:37 am
by riconeo
lmiltchev wrote:I've used the following guide numerous times with no issues whatsoever:
http://assets.nagios.com/downloads/nagi ... M_Disk.pdf

I am not sure why you are getting the '-bash: pvresize: command not found" error... Can you run the following commands and show us the output?

Code: Select all

which pvresize
whereis pvresize
df -h
Hi,

Is this applicable to the Nagios Log Server as well?
When we follow the guide, we have hit the 'Error 17' msg after the reboot.

Re: How to extend NSL storage

Posted: Fri Jan 23, 2015 11:30 am
by scottwilkerson
Log Server VM's are not currently on LVM partitions

The resize process would look like this:

Update disk size for VM, then

Code: Select all

# df -h
# cfdisk /dev/sda
    Delete
    New
    Primary
        Enter (to accept new size)
    Bootable
    Write
        yes
    Quit
# reboot
# resize2fs /dev/sda1
# df -h

Re: How to extend NSL storage

Posted: Fri Jan 23, 2015 11:32 am
by bdgoecke
Not sure what you mean ? 'Error 17' ?

Where is the 'Error 17' message coming from ? Linux ? Grub ? or after the OS has booted ?

Do you have a screen shot ? or any more info about where that error is coming from ?

==>brian.

Re: How to extend NSL storage

Posted: Sat Jan 24, 2015 1:53 am
by riconeo
hi,

It just says that error after it bootup.
Nothing can done after it. :(

Re: How to extend NSL storage

Posted: Sat Jan 24, 2015 2:20 am
by riconeo
Could it because there is only 1 partition instead of 2 for Nagios Log Server VMware image?

When I do the print (p) on the partition, there is only 1.

Re: How to extend NSL storage

Posted: Mon Jan 26, 2015 9:53 am
by scottwilkerson
Did you follow the directions in this post?
http://support.nagios.com/forum/viewtop ... 10#p124178

Re: How to extend NSL storage

Posted: Sat Jan 31, 2015 2:48 am
by riconeo
scottwilkerson wrote:Did you follow the directions in this post?
http://support.nagios.com/forum/viewtop ... 10#p124178
Hi Scott,

Sorry to miss your post.

Thanks for the detailed steps.
It expanded as expected now!

Cheers,
Rico Neo