Hi
Today a reboot server and all containes appears stopped.
contatogs@zeus:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
contatogs@zeus:~$ incus version
Client version: 6.3
Server version: 6.3
contatogs@zeus:~$ incus list
±--------------±--------±-----±-----±----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±--------------±--------±-----±-----±----------±----------+
| base | STOPPED | | | CONTAINER | 0 |
±--------------±--------±-----±-----±----------±----------+
| cerberus | STOPPED | | | CONTAINER | 1 |
±--------------±--------±-----±-----±----------±----------+
| cloud | STOPPED | | | CONTAINER | 1
ok lets see what is happening:
contatogs@zeus:~$ incus storage list
±--------±-----------±------------±--------±------------+
| NAME | DRIVER | DESCRIPTION | USED BY | STATE |
±--------±-----------±------------±--------±------------+
| dados | lvm | | 1 | CREATED |
±--------±-----------±------------±--------±------------+
| default | lvmcluster | | 13 | UNAVAILABLE |
±--------±-----------±------------±--------±------------+
Humm lvmcluster storage unavailable…
contatogs@zeus:~$ incus storage info default
info:
description: “”
driver: lvmcluster
name: default
space used: 260.51GiB
** total space: 300.00GiB**
used by:
instances:
- base
- cerberus
- cloud
- hades
- hercules
- inventario
- lamp
- monitoramento
- painel
- siem
- squid
- topworkrh
profiles: - default
Humm space is not the problem.
contatogs@zeus:~$ incus storage volume list default
±---------------------±--------------------±------------±-------------±--------+
| TYPE | NAME | DESCRIPTION | CONTENT-TYPE | USED BY |
±---------------------±--------------------±------------±-------------±--------+
| container | base | | filesystem | 1 |
±---------------------±--------------------±------------±-------------±--------+
| container | cerberus | | filesystem | 1 |
±---------------------±--------------------±------------±-------------±--------+
| container (snapshot) | cerberus/snap0 | | filesystem | 0 |
±---------------------±--------------------±------------±-------------±--------+
| container | cloud | | filesystem | 1 |
±---------------------±--------------------±------------±-------------±--------+
| container (snapshot) | cloud/snap0 | | filesystem | 0 |
time=“2024-07-29T10:08:40-03:00” level=error msg=“Failed mounting storage pool” err=“Error starting lock manager: Failed to run: vgchange --lockstart: exit status 5 (Start a lock manager, lvmlockd did not find one running.\n Skipping global lock: lockspace not found or started\n VG teste start failed : lock manager dlm is not running)” pool=default
time=“2024-07-29T10:08:43-03:00” level=error msg=“Failed mounting storage pool” err=“Error starting lock manager: Failed to run: vgchange --lockstart: exit status 5 (Start a lock manager, lvmlockd did not find one running.\n Skipping global lock: lockspace not found or started\n VG teste start failed : lock manager dlm is not running)” pool=default
time=“2024-07-29T10:09:43-03:00” level=error msg=“Failed mounting storage pool” err=“Error starting lock manager: Failed to run: vgchange --lockstart: exit status 5 (Start a lock manager, lvmlockd did not find one running.\n Skipping global lock: lockspace not found or started\n VG teste start failed : lock manager dlm is not running)” pool=default
ok error at teste vg which is another storage with lmvlocker that Iḿ testing… but no clues about default…
time=“2024-07-29T10:18:32-03:00” level=error msg=“Error getting disk usage” err=“Storage pool is unavailable on this server” instance=base instanceType=container project=default
time=“2024-07-29T10:18:32-03:00” level=error msg=“Error getting disk usage” err=“Storage pool is unavailable on this server” instance=monitoramento instanceType=container project=default
time=“2024-07-29T10:18:32-03:00” level=error msg=“Error getting disk usage” err=“Storage pool is unavailable on this server” instance=painel instanceType=container project=default
clear message… default storage is unavailable…
What is next ? How can start default storage as available?
More informatrion about VG
root@zeus:~# vgdisplay incus
— Volume group —
VG Name incus
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1275
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 22
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <300,00 GiB
PE Size 4,00 MiB
Total PE 76799
Alloc PE / Size 66690 / <260,51 GiB
Free PE / Size 10109 / <39,49 GiB
VG UUID 1LLz3M-g4bv-pq6x-OX01-0pui-hp5o-v8P4Sq
root@zeus:~# lvdisplay incus
— Logical volume —
LV Path /dev/incus/containers_base
LV Name containers_base
VG Name incus
LV UUID SYBB8n-1vKH-1tyT-ZiTd-Vk5Y-gGdf-LLVyj7
LV Write Access read/write
LV Creation host, time zeus, 2024-06-17 16:43:21 -0300
LV Status NOT available
LV Size 10,00 GiB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
best regards