Extendind lvm-thin size after converting raid

sahostking

Renowned Member
I have converted successfully a HW RAID 6 partition to a RAID 5 for more space:

a0 PERC H700 Integrated encl:1 ldrv:1 batt:good
a0d0 2791GiB RAID 5 1x6 optimal

Trying to increase the lvm-thin volume pve/data with the extra space.
Anyone know exact steps? Trying not to break this server.

PV VG Fmt Attr PSize PFree
/dev/sda pve lvm2 a-- <953.87g <378.87g
/dev/sdb3 pve lvm2 a-- 2.18t <16.38g

VG #PV #LV #SN Attr VSize VFree
pve 2 12 0 wz--n- 3.11t 395.24g

LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <2.08t 96.99 5.71
root pve -wi-ao---- 50.00g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-aotz-- 200.00g data 49.31
vm-112-disk-1 pve Vwi-aotz-- 600.00g data 78.15
vm-112-disk-2 pve Vwi-aotz-- 50.00g data 26.06
vm-113-disk-0 pve Vwi-aotz-- 100.00g data 90.10
vm-113-disk-1 pve Vwi-aotz-- 600.00g data 94.19
vm-113-disk-2 pve Vwi-aotz-- 50.00g data 38.62
vm-114-disk-0 pve Vwi-aotz-- 100.00g data 77.24
vm-114-disk-1 pve Vwi-aotz-- 800.00g data 87.33
vm-114-disk-2 pve Vwi-aotz-- 50.00g data 63.90


root@pve-1:~# fdisk -l
Disk /dev/sda: 953.9 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: SanDisk SD8SB8U1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 2.2 TiB, 2398202363904 bytes, 4683988992 sectors
Disk model: PERC H700
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F2CD8054-CC43-43AF-BEE2-D09CEF41B3DC

Device Start End Sectors Size Type
/dev/sdb1 34 2047 2014 1007K BIOS boot
/dev/sdb2 2048 1050623 1048576 512M EFI System
/dev/sdb3 1050624 4683988958 4682938335 2.2T Linux LVM


Thanks for the help.
 

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!