Virtual Disks disappear

neocode

New Member
Apr 18, 2023
3
0
1
Hello, I'm getting this error when trying to start a container or vm. I don't know what exactly happened, it was all working before.
Code:
run_buffer: 314 Script exited with status 32

lxc_init: 798 Failed to run lxc.hook.pre-start for container "108"
__lxc_start: 1945 Failed to initialize container "108"
TASK ERROR: startup for container '108' failed

They are also missing in /dev/pve
Code:
root@server1:~# ls /dev/pve/
data_meta0  data_meta1  root  swap
root@server1:~#

They show up in the local thin-lvm
1681847653587.png

But the usage of the local thin-lvm is at 0
1681847691141.png
 
You could check what lvdisplay and vgdisplay are reporting. Looks like there is a problem with your thin pool.
 
Last edited:
lvdisplay:
Code:
root@server1:~# lvdisplay
  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                wIbKLm-cqyk-670Z-4AWq-Xbms-W6LW-FAnbHq
  LV Write Access        read/write
  LV Creation host, time proxmox, 2020-06-12 15:31:14 +0200
  LV Status              available
  # open                 2
  LV Size                7.00 GiB
  Current LE             1792
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
  
  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                DfqJaL-TzKa-CkWC-Lau3-dQC1-MC4t-9dtMTx
  LV Write Access        read/write
  LV Creation host, time proxmox, 2020-06-12 15:31:14 +0200
  LV Status              available
  # open                 1
  LV Size                96.00 GiB
  Current LE             24576
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
  
  --- Logical volume ---
  LV Name                data
  VG Name                pve
  LV UUID                u1y12U-1Rg5-t4Ps-JkBK-P2uv-mYif-cUBRSp
  LV Write Access        read/write
  LV Creation host, time proxmox, 2020-06-12 15:31:15 +0200
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 1
  LV Size                <795.77 GiB
  Allocated pool data    0.00%
  Allocated metadata     0.24%
  Current LE             203717
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:4
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-105-disk-0
  LV Name                vm-105-disk-0
  VG Name                pve
  LV UUID                ks80ae-fFee-QxMW-OPWD-njLN-HfQD-5NgsxJ
  LV Write Access        read/write
  LV Creation host, time server1, 2020-06-19 22:05:22 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                32.00 GiB
  Current LE             8192
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-105-state-Clean
  LV Name                vm-105-state-Clean
  VG Name                pve
  LV UUID                2653Dn-aVZo-2S6f-4AXh-Ltpy-GUBC-xfmJDi
  LV Write Access        read/write
  LV Creation host, time server1, 2020-07-17 00:53:52 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                <4.49 GiB
  Current LE             1149
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-106-disk-0
  LV Name                vm-106-disk-0
  VG Name                pve
  LV UUID                uLlhl2-YIMA-fsYA-LahH-GQfk-1Xt4-Mz1h6d
  LV Write Access        read/write
  LV Creation host, time server1, 2020-09-12 10:14:45 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                32.00 GiB
  Current LE             8192
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-105-disk-1
  LV Name                vm-105-disk-1
  VG Name                pve
  LV UUID                BqfS0X-duIT-awgl-VTe0-10oP-7QK3-DUIUbU
  LV Write Access        read/write
  LV Creation host, time server1, 2020-09-13 13:46:43 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                47.00 GiB
  Current LE             12032
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-107-disk-0
  LV Name                vm-107-disk-0
  VG Name                pve
  LV UUID                IzqlFV-lTXN-vKY2-dSVU-gB82-DfNc-PtB0pc
  LV Write Access        read/write
  LV Creation host, time server1, 2021-04-30 17:17:46 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                32.00 GiB
  Current LE             8192
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-108-disk-0
  LV Name                vm-108-disk-0
  VG Name                pve
  LV UUID                Ij0aqf-xEbI-b3BQ-d1aK-JYeb-nBmI-QNuV11
  LV Write Access        read/write
  LV Creation host, time server1, 2021-06-21 19:14:21 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-111-disk-0
  LV Name                vm-111-disk-0
  VG Name                pve
  LV UUID                tuBuPT-muPW-q02F-dDZ1-Urpl-Dh1a-CoLHn4
  LV Write Access        read/write
  LV Creation host, time server1, 2021-12-04 23:20:13 +0100
  LV Pool name           data
  LV Status              NOT available
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-113-disk-0
  LV Name                vm-113-disk-0
  VG Name                pve
  LV UUID                lLuM3I-5HkF-Irow-N88s-MI2x-ECeP-QJQVOm
  LV Write Access        read/write
  LV Creation host, time server1, 2022-02-27 12:22:14 +0100
  LV Pool name           data
  LV Status              NOT available
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-103-disk-0
  LV Name                vm-103-disk-0
  VG Name                pve
  LV UUID                mLmDPG-UiW5-35Qv-wc0C-fQRG-QOWC-fE3qsi
  LV Write Access        read/write
  LV Creation host, time server1, 2022-04-11 16:31:54 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                150.00 GiB
  Current LE             38400
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-116-disk-0
  LV Name                vm-116-disk-0
  VG Name                pve
  LV UUID                iZisZP-d5jh-eFLu-PrdP-iuhd-39EP-tAvndN
  LV Write Access        read/write
  LV Creation host, time server1, 2022-05-20 10:38:20 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                32.00 GiB
  Current LE             8192
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-119-disk-0
  LV Name                vm-119-disk-0
  VG Name                pve
  LV UUID                e5U9nX-nAKQ-TQAv-ireC-SQ1K-AzLP-DlGvRg
  LV Write Access        read/write
  LV Creation host, time server1, 2022-08-27 14:51:07 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-120-disk-0
  LV Name                vm-120-disk-0
  VG Name                pve
  LV UUID                O2Q33x-9YDS-eOOP-CdFc-hA4z-WPtu-2fuu5f
  LV Write Access        read/write
  LV Creation host, time server1, 2022-09-26 10:29:02 +0200
  LV Pool name           data
  LV Status              NOT available
  LV Size                32.00 GiB
  Current LE             8192
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-122-disk-0
  LV Name                vm-122-disk-0
  VG Name                pve
  LV UUID                Hba8p7-oru7-pz9J-Xk2G-QzVW-HH58-AB4oCD
  LV Write Access        read/write
  LV Creation host, time server1, 2022-11-14 14:47:59 +0100
  LV Pool name           data
  LV Status              NOT available
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-123-disk-0
  LV Name                vm-123-disk-0
  VG Name                pve
  LV UUID                cCMKzT-c2wy-tgLE-hMfR-ua07-gTPa-ZDVm0Q
  LV Write Access        read/write
  LV Creation host, time server1, 2023-02-05 21:58:45 +0100
  LV Pool name           data
  LV Status              NOT available
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/data_meta0
  LV Name                data_meta0
  VG Name                pve
  LV UUID                aKAXYZ-9orw-ixXr-BRXU-YJxJ-1zPt-GXugvF
  LV Write Access        read/write
  LV Creation host, time proxmox, 2020-06-12 15:31:15 +0200
  LV Status              available
  # open                 0
  LV Size                8.12 GiB
  Current LE             2079
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:6
  
  --- Logical volume ---
  LV Path                /dev/pve/data_meta1
  LV Name                data_meta1
  VG Name                pve
  LV UUID                5ysSZl-vh2v-bhLt-KDUK-ie3T-NK4G-6c7FPt
  LV Write Access        read/write
  LV Creation host, time proxmox, 2020-06-12 15:31:15 +0200
  LV Status              available
  # open                 0
  LV Size                8.12 GiB
  Current LE             2079
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:7
  
root@server1:~#

vgdisplay:
Code:
root@server1:~# vgdisplay
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  239
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                19
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <931.01 GiB
  PE Size               4.00 MiB
  Total PE              238338
  Alloc PE / Size       236322 / 923.13 GiB
  Free  PE / Size       2016 / <7.88 GiB
  VG UUID               zmaF4c-HWad-ZSy8-LzkW-tgWa-e1Q2-IqKljj
  
root@server1:~#
 
Last edited:
I think the last thing I did was a backup of my Nextcloud VM.
When I do vgchange -a y it gives me theese errors and after pvscan won't change anything

Code:
root@server1:~# vgchange -a y
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  device-mapper: reload ioctl on  (253:8) failed: No data available
  5 logical volume(s) in volume group "pve" now active
root@server1:~#
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!