z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

100 % fulls space used

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.

100 % fulls space used

Postby Gio71 » Tue Sep 20, 2022 1:54 am

hello,
how can i extend space c-root

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/cl-root 17G 17G 299M 99% /
devtmpfs 908M 0 908M 0% /dev
tmpfs 918M 0 918M 0% /dev/shm
tmpfs 918M 33M 886M 4% /run
tmpfs 918M 0 918M 0% /sys/fs/cgroup
/dev/sda1 1014M 139M 876M 14% /boot
tmpfs 918M 11M 908M 2% /opt/omd/sites/aurore/tmp
tmpfs 184M 0 184M 0% /run/user/0

[root@omd ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 40G 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 39G 0 part
├─cl-root 253:0 0 17G 0 lvm /
└─cl-swap 253:1 0 2G 0 lvm [SWAP]
sr0 11:0 1 1024M 0 rom
[root@omd ~]# lvextend /dev/mapper/cl-root -l+100%FREE
New size (4351 extents) matches existing size (4351 extents).

[root@omd ~]# sudo lvextend --resizefs --extents +2000 /dev/mapper/cl-root
Insufficient free space: 2000 extents needed, but only 0 available

thanks in advance
Gio71
 
Posts: 3
Joined: Mon Sep 19, 2022 1:06 am

Re: 100 % fulls space used

Postby erano » Sat Sep 24, 2022 5:47 pm

Hi Gio71,

you need to extend the disk in the virtual disk first, did you do that?
you can also boot the vm with a gparted image, this will help you understant your partition and the free space available.
erano
 
Posts: 2
Joined: Fri Sep 23, 2022 1:14 am

Re: 100 % fulls space used

Postby Gio71 » Tue Sep 27, 2022 11:07 am

thanks for your replay
i extended the disk, and then
i free some space from the logs and then i extended the cl-root
know is working fin



thanks
Gio71
 
Posts: 3
Joined: Mon Sep 19, 2022 1:06 am


Return to Open Source Nagios Projects

Who is online

Users browsing this forum: nagisami and 13 guests