add lvm as storage

leksand

Active Member
Aug 28, 2020
77
1
28
38
There is an ssd system drive with a capacity of ~446 GB, a total of 2 disks (mdraid1 /dev/md0):
/dev/pve/root 96 GB
lvm thin data deleted, just a few pops
/dev/pve/pve2-local-data - lvm, 342 GB.

How to attach it to the qualities of lvm? Accessibility is also suitable only for this node.

First, try to fix it, maybe he will choose a large group of volumes and see a large volume - 446 GB, a large disk volume combined with a system lvm partition - in fact, this is an intersection and the web interface began to blunt, and I found out about it.

I would like to have a separate local storage for virtual machines, there will be no highly loaded VMs there. How to attach it (/dev/pve/pve2-local-data) to the datacenter?

The node is under load and there is no way to reformat it, now:
Device start and end sector size type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 2099199 2097152 1G EFI system
/dev/sda3 2099200 937703054 935603855 446.1G Linux RAID

pvs
PV VG Fmt Attr PSize PFree
/dev/md0 pve lvm2 a-- 446.00g 0
/dev/md1 pve2-nvme lvm2 a-- <1.46t <190.29g

vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- 446.00g 0
pve2-nvme 1 9 0 wz--n- <1.46t <190.29g

lvs |grep pve
pve2-local data pve -wi-a----- 342.00 g
root pve -wi-ao---- 96.00 g
swap pve -wi-ao---- 8.00 g
 
Last edited:
Maybe this helps.

As a storage, I can only add the VG - volume group. And the essence of the question is how to safely separate a piece from the system VG for a separate storage
 

Attachments

  • 2024-02-02_10-26-35.png
    2024-02-02_10-26-35.png
    15.3 KB · Views: 8

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!