This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
lccouncil
Posts: 25 Joined: Mon Jun 14, 2010 6:05 pm
Post
by lccouncil » Thu Nov 28, 2013 10:23 pm
After following the Nagios XI - Resizing the VM Disk Size documentation step by step, we have come to a halt at resizing the logical volume (LV).
With the following command:
Code: Select all
# lvresize /dev/mapper/VolGroup00-LogVol00 /dev/sda2
The following error appears and the partition has not been resized.
Volume group "VolGroup00" not found
We are unable to the continuing steps to complete resize after this. Can you please assist?
sreinhardt
-fno-stack-protector
Posts: 4366 Joined: Mon Nov 19, 2012 12:10 pm
Post
by sreinhardt » Sat Nov 30, 2013 10:54 am
Is this install from our provided CentOS VM or your own install? We can start with:
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
lccouncil
Posts: 25 Joined: Mon Jun 14, 2010 6:05 pm
Post
by lccouncil » Sun Dec 01, 2013 5:43 pm
Yes this is from your provided CentOS VM. I want to resize to the partition to 25GB
I have the following after starting the instructions again:
Code: Select all
[root@issmonitor ~]# lvresize /dev/mapper/volgroup00-logvol00 /dev/sda2
Volume group "volgroup00" not found
[root@issmonitor ~]# ls -lv /dev/mapper/
total 0
lrwxrwxrwx 1 root root 7 Dec 1 17:33 VolGroup-lv_root -> ../dm-0
lrwxrwxrwx 1 root root 7 Dec 1 17:33 VolGroup-lv_swap -> ../dm-1
crw-rw---- 1 root root 10, 58 Dec 1 17:33 control
[root@issmonitor ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
7.5G 2.3G 4.9G 32% /
tmpfs 498M 0 498M 0% /dev/shm
/dev/sda1 485M 50M 410M 11% /boot
[root@issmonitor ~]#
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Mon Dec 02, 2013 11:38 am
Replace all instances of "/dev/mapper/VolGroup00-LogVol00" with "/dev/mapper/VolGroup-lv_root" in the document's commands.
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!
lccouncil
Posts: 25 Joined: Mon Jun 14, 2010 6:05 pm
Post
by lccouncil » Mon Dec 02, 2013 9:37 pm
Success! Thanks for your assistance.