Node1 from my cluster going after upgrade from 5 to 6 to emergency mode...with old core is booting up corectly. The problem is my LVM.
If I want to boot in version 6 I have to comment the last line /dev/pve/data...
Now I can boot correctly...after login I can coment out the last line again and run mount -a and /dev/pve/data is mounted correctly.
Where is the problem?
Why I can`t mount this lvm partition during boot but I can do it after boot?
I`m litltle confused.
Code:
root@pve1:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.7T 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 256M 0 part
└─sda3 8:3 0 3.7T 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 96G 0 lvm /
├─pve-data_tmeta 253:2 0 112M 0 lvm
│ └─pve-data 253:4 0 3.5T 0 lvm
└─pve-data_tdata 253:3 0 3.5T 0 lvm
└─pve-data 253:4 0 3.5T 0 lvm
sr0 11:0 1 1024M 0 rom
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/pve/root / ext4 errors=remount-ro 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
/dev/pve/data /var/lib/vz ext4 defaults 0 2
If I want to boot in version 6 I have to comment the last line /dev/pve/data...
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/pve/root / ext4 errors=remount-ro 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
#/dev/pve/data /var/lib/vz ext4 defaults 0 2
Now I can boot correctly...after login I can coment out the last line again and run mount -a and /dev/pve/data is mounted correctly.
Where is the problem?
Why I can`t mount this lvm partition during boot but I can do it after boot?
I`m litltle confused.