How to extend NSL storage

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
itsupport_sgp
Posts: 19
Joined: Fri Aug 15, 2014 12:06 am

Re: How to extend NSL storage

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to extend NSL storage

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
riconeo
Posts: 35
Joined: Mon Oct 14, 2013 8:32 am

Re: How to extend NSL storage

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to extend NSL storage

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bdgoecke
Posts: 36
Joined: Wed Oct 22, 2014 3:41 pm

Re: How to extend NSL storage

Post 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.
riconeo
Posts: 35
Joined: Mon Oct 14, 2013 8:32 am

Re: How to extend NSL storage

Post by riconeo »

hi,

It just says that error after it bootup.
Nothing can done after it. :(
You do not have the required permissions to view the files attached to this post.
riconeo
Posts: 35
Joined: Mon Oct 14, 2013 8:32 am

Re: How to extend NSL storage

Post 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.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to extend NSL storage

Post by scottwilkerson »

Did you follow the directions in this post?
http://support.nagios.com/forum/viewtop ... 10#p124178
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
riconeo
Posts: 35
Joined: Mon Oct 14, 2013 8:32 am

Re: How to extend NSL storage

Post 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
Locked