[Help] Data LV got 'activated read only' after update & Reboot

Jun 25, 2024
1
0
1
Hi,
I bought a license key and applied the key. Then did a update from web ui. Upon reboot (which was suggested by update), I can not start the VMs since the disk are missing. Apparently my /dev/pve/data has become read only. And storage pool size has reduced to 100GB from ~1TB. I added 'event_timeout=600' to /etc/udev/udev.conf and update-initramfs -u and reboot. No luck yet. Please help.


Code:
root@pve1:~# lsblk
NAME                         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda                            8:0    0   1.1T  0 disk
└─sda1                         8:1    0   1.1T  0 part
sdb                            8:16   0   1.1T  0 disk
├─sdb1                         8:17   0  1007K  0 part
├─sdb2                         8:18   0     1G  0 part /boot/efi
└─sdb3                         8:19   0   1.1T  0 part
  ├─pve-swap                 252:0    0     8G  0 lvm  [SWAP]
  ├─pve-root                 252:1    0    96G  0 lvm  /
  ├─pve-data_tmeta           252:2    0    10G  0 lvm 
  │ └─pve-data-tpool         252:4    0 976.3G  0 lvm 
  │   ├─pve-data             252:5    0 976.3G  1 lvm 
  │   ├─pve-vm--100--disk--0 252:6    0   300G  0 lvm 
  │   └─pve-vm--100--disk--1 252:7    0   300G  0 lvm 
  └─pve-data_tdata           252:3    0 976.3G  0 lvm 
    └─pve-data-tpool         252:4    0 976.3G  0 lvm 
      ├─pve-data             252:5    0 976.3G  1 lvm 
      ├─pve-vm--100--disk--0 252:6    0   300G  0 lvm 
      └─pve-vm--100--disk--1 252:7    0   300G  0 lvm 
sr0                           11:0    1  1024M  0 rom 
root@pve1:~#

Code:
root@pve1:~# uname -a
Linux pve1 6.8.4-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-3 (2024-05-02T11:55Z) x86_64 GNU/Linux

Code:
root@pve1:~# lvdisplay
  --- Logical volume ---
  LV Name                data
  VG Name                pve
  LV UUID                r1marP-nHbq-cYlO-WyR7-jBxI-nDFZ-oto0Yy
  LV Write Access        read/write (activated read only)
  LV Creation host, time proxmox, 2024-05-28 15:21:28 +0530
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 0
  LV Size                976.32 GiB
  Allocated pool data    24.65%
  Allocated metadata     0.82%
  Current LE             249938
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:5
  
  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                3iCsau-AeVv-5md5-GtlM-1JJE-22Fp-oCegHB
  LV Write Access        read/write
  LV Creation host, time proxmox, 2024-05-28 15:19:01 +0530
  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           252:0
  
  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                H5JKSd-NB5R-7OMu-XJqc-p26Z-fCBv-afW223
  LV Write Access        read/write
  LV Creation host, time proxmox, 2024-05-28 15:19:01 +0530
  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           252:1
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-100-disk-0
  LV Name                vm-100-disk-0
  VG Name                pve
  LV UUID                OLQg6u-ezg5-NJ3l-1fwU-nHpg-e292-a2EJAY
  LV Write Access        read/write
  LV Creation host, time pve1, 2024-05-28 15:52:00 +0530
  LV Pool name           data
  LV Status              available
  # open                 0
  LV Size                300.00 GiB
  Mapped size            28.71%
  Current LE             76800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:6
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-100-disk-1
  LV Name                vm-100-disk-1
  VG Name                pve
  LV UUID                FRfcQN-sMEi-4Orw-rwwN-nt7P-63xC-i02eFh
  LV Write Access        read/write
  LV Creation host, time pve1, 2024-05-28 16:47:08 +0530
  LV Pool name           data
  LV Status              available
  # open                 0
  LV Size                300.00 GiB
  Mapped size            51.53%
  Current LE             76800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:7
  
root@pve1:~#
 

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!