Expand LVM-Thin pve-data

atca

New Member
May 10, 2024
2
0
1
What's the best way to add nvem0n1 to LVM-Thin and expand pve-data?

Or failing that for nvme0n1 to become pve-data?

Code:
NAME                         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda                            8:0    0  29.8G  0 disk
├─sda1                         8:1    0  1007K  0 part
├─sda2                         8:2    0   512M  0 part /boot/efi
└─sda3                         8:3    0  29.3G  0 part
  ├─pve-swap                 252:0    0   3.6G  0 lvm  [SWAP]
  ├─pve-root                 252:1    0  12.8G  0 lvm  /
  ├─pve-data_tmeta           252:2    0     1G  0 lvm 
  │ └─pve-data-tpool         252:4    0  10.8G  0 lvm 
  │   ├─pve-data             252:5    0  10.8G  1 lvm 
  │   └─pve-vm--100--disk--0 252:6    0    16G  0 lvm 
  └─pve-data_tdata           252:3    0  10.8G  0 lvm 
    └─pve-data-tpool         252:4    0  10.8G  0 lvm 
      ├─pve-data             252:5    0  10.8G  1 lvm 
      └─pve-vm--100--disk--0 252:6    0    16G  0 lvm 
nvme0n1                      259:0    0 931.5G  0 disk
 
You need to read up on LVM - you add a physical disk, then deal with VG, then LV

Recommend you install webmin (runs on port 10000) so you can see more of what's going on with LVM in browser instead of just commandline
 
Last edited: