Newbie here (obviously).
I've got a very simple PVE setup with a 1TB internal SSD set up in a default mode, so my Summary says something like:
I would like to create a volume in that 850GB area and mount that in my Ubuntu client.
On pve in a shell, I can see:
I have a bit of trouble getting clarity in my head. For one, I am struggling to understand the LV 'data' versus the Pool 'data' in the LVS output. And I am not quite clear about how to create a 100GB volume on nvme0n1p3 that is mounted inside the Ubuntu client on, say, directory /mnt/CData. I guess this starts with the top left 'Datacenter' entry in PVE, Storage, but then? Isn't that large part of the internal disk (nvme0n1p3) not already fully assigned to a LVM-Thin?
I've got a very simple PVE setup with a 1TB internal SSD set up in a default mode, so my Summary says something like:
Code:
100 (ubuntu-vm-name)
local (pve)
local-lvm (pve)
local (pve)
is 100GB (LVM) and holds the Debian Linux with PVE and the Ubuntu iso, local-lvm (pve)
(LVM-Thin) is the rest (850GB) and holds the vm-100-disk-0
disk image (root disk for the Ubuntu client). The rest of that 850GB is currently unused. I would like to create a volume in that 850GB area and mount that in my Ubuntu client.
On pve in a shell, I can see:
Code:
root@pve:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.7T 0 disk
└─sda1 8:1 0 1.7T 0 part
└─luks-fa1483bd-f599-4dcf-9732-c09069472150 253:7 0 1.7T 0 crypt
├─rna--mepdm--1-vm--100--disk--0 253:8 0 500G 0 lvm
└─rna--mepdm--1-rna--pbs--mepdm--1 253:9 0 500G 0 lvm /mnt/pbs-backup-1
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 1007K 0 part
├─nvme0n1p2 259:2 0 512M 0 part /boot/efi
└─nvme0n1p3 259:3 0 931G 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 8.1G 0 lvm
│ └─pve-data-tpool 253:4 0 794.8G 0 lvm
│ ├─pve-data 253:5 0 794.8G 1 lvm
│ └─pve-vm--100--disk--0 253:6 0 32G 0 lvm
└─pve-data_tdata 253:3 0 794.8G 0 lvm
└─pve-data-tpool 253:4 0 794.8G 0 lvm
├─pve-data 253:5 0 794.8G 1 lvm
└─pve-vm--100--disk--0 253:6 0 32G 0 lvm
root@pve:~# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/luks-fa1483bd-f599-4dcf-9732-c09069472150 rna-mepdm-1 lvm2 a-- <1.75t 788.36g
/dev/nvme0n1p3 pve lvm2 a-- <931.01g 15.99g
root@pve:~# vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 4 0 wz--n- <931.01g 15.99g
rna-mepdm-1 1 2 0 wz--n- <1.75t 788.36g
root@pve:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <794.79g 1.59 0.29
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-aotz-- 32.00g data 39.54
rna-pbs-mepdm-1 rna-mepdm-1 -wi-ao---- 500.00g
vm-100-disk-0 rna-mepdm-1 -wi-ao---- 500.00g