Root Partition Full

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Root Partition Full

Post by lmiltchev »

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.
Right, I've seen this issue a number of times. The examples in our documentation are just examples though. Users need to adjust the commands, according to the actual LVM name they are using. I guess it is somewhat confusing for people not familiar with Linux.
Be sure to check out our Knowledgebase for helpful articles and solutions!
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Root Partition Full

Post by toleolu »

Thanks to everyone, so to make sure that I'm thinking outside the Windows box :D where the documentation states:

# lvresize /dev/mapper/VolGroup00-LogVol00 /dev/sda2

I should enter:

# lvresize /dev/mapper/VolGrouplv_root-VolGrouplv_swap /dev/sda2

And then use the same for resize2fs?

Mahalo
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 »

You need to run:

Code: Select all

lvresize /dev/mapper/VolGroup-lv_root /dev/sda2
resize2fs /dev/mapper/VolGroup-lv_root
Be sure to check out our Knowledgebase for helpful articles and solutions!
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Root Partition Full

Post by toleolu »

Well blow my dress up, it worked. Thanks.

Now I guess I'll install the new update. Are you guys working late tonight?? :D :D
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Root Partition Full

Post by abrist »

I suspect we may wish to leave this thread open until you report back the "all clear" . . .

Best 'o' Luck!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Root Partition Full

Post by toleolu »

Thanks Andy, you can close this. As we say on the islands "Got choke disk space now brah!!!"

Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Locked