Root Partition Full

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Root Partition Full

Post by tmcdonald »

toleolu wrote:Thanks, installing GNOME right now, see if that gets me where I need to be. Just not a CLI kind of guy.
Ohhh... Yea. Desktops can sometimes cause issues with XI. We really do try to keep people on a clean, minimal install of CantOS/Redhat. You'll have to edit text files anyway, so a GUI just makes it easier to open the file in the first place. Then when you consider all the commands you absolutely do have to run in a command line, I have never seen any benefit in having a GUI on a Nagios system.

Just be careful with what you install. And be sure to mention in future posts that you have a GUI installed now.
Former Nagios employee
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Root Partition Full

Post by toleolu »

using the commands in the pdf I got an error at the end. See the attached jpg, I don't know how to copy and paste text from the console window.

Is this gonna crash if I reboot?
You do not have the required permissions to view the files attached to this post.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Root Partition Full

Post by toleolu »

Well, it came back up.

The command pvresize seems to have worked, but lvresize failed saying "Volume group "VolGroup00" not found.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
belvdr
Posts: 81
Joined: Tue Oct 08, 2013 9:17 pm

Re: Root Partition Full

Post by belvdr »

For the CLI-impaired, I'd recommend grabbing a GParted LiveCD and booting from that. That will get you what you want (a GUI) and save you tons of disk on your Nagios server.

http://gparted.org/livecd.php
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Root Partition Full

Post by toleolu »

Thanks, tried that, and even though it looks like it took, when I reboot and do df -h nothing has changed.

Not sure what's up with that, GParted says it completed successfully, so I'm kinda stumped.

(Shocker, right!!!)
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Root Partition Full

Post by lmiltchev »

Well that didn't work, install crapped out because not enough disk space. This bites it.
Can you elaborate on that? Did you run out of disk space again? What is the output of the following command?

Code: Select all

df -h
How much room did you make? You can delete many log files in the "/var/log/" directory and sub-directories. You can also delete files that you don't need in the "/tmp/", old backups in "/store/backups/nagiosxi/", etc.

The "Nagios XI – Resizing the VM Disk Size" document has been proven to work. Let us know if you get stuck on any of the steps, described in the document.
Be sure to check out our Knowledgebase for helpful articles and solutions!
belvdr
Posts: 81
Joined: Tue Oct 08, 2013 9:17 pm

Re: Root Partition Full

Post by belvdr »

toleolu wrote:Thanks, tried that, and even though it looks like it took, when I reboot and do df -h nothing has changed.

Not sure what's up with that, GParted says it completed successfully, so I'm kinda stumped.

(Shocker, right!!!)
It seems like you got the partition resized. Post the output of the command:

Code: Select all

mount
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Root Partition Full

Post by toleolu »

Output from mount is:

/dev/mapper/VolGroup-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Root Partition Full

Post by toleolu »

At least now I know why lvresize came back with VolGroup 00 not found. Guess it should be VolGroup-lv_root.

I'm wondering if this is what's causing the problem with GParted, since I started running those commands but never finished since I stopped when I got the error.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Root Partition Full

Post by WillemDH »

I recently installed a test Nagios XI system and also saw that the logical volumes had different names than my production system. In the newer Nagios Xi VM images, lv_root and lv_swap is used. It should be added in documentation to avoid problems for people using the newer version.
Nagios XI 5.8.1
https://outsideit.net
Locked