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.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.
Root Partition Full
Re: Root Partition Full
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Root Partition Full
Thanks to everyone, so to make sure that I'm thinking outside the Windows box
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
# 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
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Re: Root Partition Full
You need to run:
Code: Select all
lvresize /dev/mapper/VolGroup-lv_root /dev/sda2
resize2fs /dev/mapper/VolGroup-lv_rootBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Root Partition Full
Well blow my dress up, it worked. Thanks.
Now I guess I'll install the new update. Are you guys working late tonight??

Now I guess I'll install the new update. Are you guys working late tonight??
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Re: Root Partition Full
I suspect we may wish to leave this thread open until you report back the "all clear" . . .
Best 'o' Luck!
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.
"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.
Re: Root Partition Full
Thanks Andy, you can close this. As we say on the islands "Got choke disk space now brah!!!"
Mahalo
Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates