Hello,
Following the creation of two VM (263 and 264) and the addition of disk, these two disks are now as PV and VG on the nodes:
This has been a problem loading volumes on PVE and migrate disk:
But VM working
Here are the commands launched on the VM to integrate the disks:
I don't know why I see the VG and PV on the nodes, the commands launched on the VM are independent of the PVE, do you have an explanation?
Thank you
Romain B.
Proxmox Virtual Environment 5.1-41
Following the creation of two VM (263 and 264) and the addition of disk, these two disks are now as PV and VG on the nodes:
This has been a problem loading volumes on PVE and migrate disk:
But VM working
Here are the commands launched on the VM to integrate the disks:
Code:
220 pvdisplay
221 df -h
222 vgdisplay
223 pvs
224 vgdisplay
225 pvdisplay
226 fdisk -l
227 pvcreate /dev/sdb
228 pvdisplay
229 vgdisplay
230 vgcreate backup /dev/sdb
231 vgdisplay
232 lvdisplay
233 lvcreate -n backup -L 20G backup
234 lvdisplay
235 df -h
236 mkfs.ext4 /dev/backup/backup
237 resize2fs /dev/backup/backup
238 fdisk -l
239 df -h
240 vi /etc/fstab
241 mount -a
242 df –h
I don't know why I see the VG and PV on the nodes, the commands launched on the VM are independent of the PVE, do you have an explanation?
Thank you
Romain B.
Proxmox Virtual Environment 5.1-41