Cannot boot Proxmox 6.0 due to /dev/pve/data entry in fstab

JulioQc

Member
Feb 16, 2016
21
0
6
36
Hi,

Ok so basically I have this problem with the same workaround working: https://forum.proxmox.com/threads/upgrade-to-pve6-dev-pve-data-device-start-timed-out.57320/
Thing is I'm not sure what the permanent fix is from the whole post, and in my context... This is a home lab and I'd like to solve this before the upgrade at work! :)

Here some output that should help:

* '/etc/pve/storage.cfg'

Code:
dir: local
        path /var/lib/vz
        content images
        maxfiles 0
        shared 0

lvmthin: local-lvm
        thinpool data
        vgname pve
        content images

dir: vms
        path /mnt/raid0/6TB/vz
        content images
        maxfiles 0
        shared 0

dir: bkp
        path /mnt/usb/backup
        content images,iso,backup
        maxfiles 5
        shared 0

dir: tor
        path /mnt/usb/tor
        content images
        maxfiles 0
        shared 0

dir: media
        path /mnt/raid0/20TB
        content images
        nodes pve
        shared 0

* '/etc/fstab'

Code:
/dev/pve/root           /                       ext4    errors=remount-ro 0 1
UUID=816D-954B          /boot/efi               vfat    defaults 0 1
/dev/pve/data           /var/lib/vz             ext4    defaults 0 1
/dev/pve/swap           none                    swap    sw 0 0
proc                    /proc                   proc    defaults 0 0
#/dev/md0               /mnt/raid0/20TB         ext4    defaults 0 2
/dev/md1                /mnt/raid0/6TB          ext4    defaults 0 2
/dev/sdf1               /mnt/usb/backup         ext4    defaults 0 2
/dev/sdf2               /mnt/usb/tor                ext4    defaults 0 2

* output of 'pvs -a'

Code:
  PV         VG  Fmt  Attr PSize   PFree
  /dev/md1            ---       0       0
  /dev/sda1           ---       0       0
  /dev/sda9           ---       0       0
  /dev/sdb1           ---       0       0
  /dev/sdb9           ---       0       0
  /dev/sde2           ---       0       0
  /dev/sde3  pve lvm2 a--  232.38g <16.39g
  /dev/sdf1           ---       0       0
  /dev/sdf2           ---       0       0

* output of `vgs -a`

Code:
  VG  #PV #LV #SN Attr   VSize   VFree
  pve   1   3   0 wz--n- 232.38g <16.39g

* output of `lvs -a`

Code:
 LV              VG  Attr       LSize    Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data            pve twi-aotz-- <196.00g             0.00   0.83
  [data_tdata]    pve Twi-ao---- <196.00g
  [data_tmeta]    pve ewi-ao----    2.00g
  [lvol0_pmspare] pve ewi-------    2.00g
  root            pve -wi-ao----    8.00g
  swap            pve -wi-ao----    8.00g

* output of `lvdisplay`

Code:
--- Logical volume ---
LV Path                /dev/pve/swap
LV Name                swap
VG Name                pve
LV UUID                8u9vFq-uNi3-Bsni-pf89-pY9z-QTsY-3MbCXD
LV Write Access        read/write
LV Creation host, time proxmox, 2019-11-11 10:02:45 -0500
LV Status              available
# open                 2
LV Size                8.00 GiB
Current LE             2048
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                xEMzxy-lGBO-gziq-hAta-GHrV-XAli-aXBcK2
LV Write Access        read/write
LV Creation host, time proxmox, 2019-11-11 10:02:45 -0500
LV Status              available
# open                 1
LV Size                8.00 GiB
Current LE             2048
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                psObeX-SwFX-UTnl-4SCH-LrAA-XhEf-oKWH19
LV Write Access        read/write
LV Creation host, time proxmox, 2019-11-11 10:02:46 -0500
LV Pool metadata       data_tmeta
LV Pool data           data_tdata
LV Status              available
# open                 1
LV Size                <196.00 GiB
Allocated pool data    0.00%
Allocated metadata     0.83%
Current LE             50175
Segments               1
Allocation             inherit
Read ahead sectors     auto
- currently set to     256
Block device           253:4

So I did a fresh 6.1-3 install but did migrate much of the content of /etc/pve/ from my Proxmox 4.0 install so I suspect this is the cause of my troubles!
How do I solve this for good while keeping my content in /var/lib/vz accessible (a lot of VM disk are there)?

Thanks so much!
 
Last edited:
Hi,

please update to the current ProxmoxVE version.
PVE 6.0 is not the current one and so not supported.
 
Can you send the logs.

Code:
dmesg
journalctl --boot
 
Apologies for the delay. I've attached both files. They were taking from the system recovery after the boot failed.
 

Attachments

  • journalctl_01.log
    112.2 KB · Views: 1
  • dmesg_01.log
    80.9 KB · Views: 0
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!