I've been reading through multiple other online tutorials with suggestions on how to accomplish this but I wanted to ask here if what I plan to do is correct. Currently my Proxmox VE install resides on a 500GB SSD that is starting to throw smart errors. I made a bonehead move early on and installed proxmox to a not-so-great consumer grade SSD. I have an Intel D3-S4610 on the way to replace it but its size is only 480GB. The existing PV spans the entirety of the 500GB SSD as well as the volume group and logical volumes. Thankfully I'm only using about 11G of the 500G on the disk. Currently lvdisplay is as follows:
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID Y2Cyaq-Wni4-kaYT-ekXi-zy1e-sgXQ-iifd28
LV Write Access read/write
LV Creation host, time proxmox, 2022-01-16 13:36:36 -0800
LV Status available
# open 2
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID raA5Tt-AfW8-uGfg-Q2Ph-e4ju-jeJP-vuVxvG
LV Write Access read/write
LV Creation host, time proxmox, 2022-01-16 13:36:36 -0800
LV Status available
# open 1
LV Size 96.00 GiB
Current LE 24576
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
And vgdisplay is as follows:
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 455
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size <465.26 GiB
PE Size 4.00 MiB
Total PE 119106
Alloc PE / Size 26624 / 104.00 GiB
Free PE / Size 92482 / <361.26 GiB
VG UUID nicLyb-cuZy-2yFR-BKeI-50R9-ImAB-adS4aH
And finally pvdisplay:
--- Physical volume ---
PV Name /dev/sdi3
VG Name pve
PV Size 465.26 GiB / not usable <3.01 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 119106
Free PE 92482
Allocated PE 26624
PV UUID 36G5HZ-dBgc-ddD2-mmQd-W0t0-cdBX-FYf4Mo
At this point I should be able to boot to a live cd or gparted and resize the volume group and physical volume? Then use clonezilla to clone the partitions over to the smaller, 480GB drive? Does this sound logical? Or am I just overcomplicating things by trying to move everything to a smaller SSD?
I would start from scratch on the new drive but this node is part of a cluster and I have some involved gpu passthrough settings and probably a whole host of other config that would be a sincere pain to set back up again. Any input is greatly appreciated.
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID Y2Cyaq-Wni4-kaYT-ekXi-zy1e-sgXQ-iifd28
LV Write Access read/write
LV Creation host, time proxmox, 2022-01-16 13:36:36 -0800
LV Status available
# open 2
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID raA5Tt-AfW8-uGfg-Q2Ph-e4ju-jeJP-vuVxvG
LV Write Access read/write
LV Creation host, time proxmox, 2022-01-16 13:36:36 -0800
LV Status available
# open 1
LV Size 96.00 GiB
Current LE 24576
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
And vgdisplay is as follows:
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 455
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size <465.26 GiB
PE Size 4.00 MiB
Total PE 119106
Alloc PE / Size 26624 / 104.00 GiB
Free PE / Size 92482 / <361.26 GiB
VG UUID nicLyb-cuZy-2yFR-BKeI-50R9-ImAB-adS4aH
And finally pvdisplay:
--- Physical volume ---
PV Name /dev/sdi3
VG Name pve
PV Size 465.26 GiB / not usable <3.01 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 119106
Free PE 92482
Allocated PE 26624
PV UUID 36G5HZ-dBgc-ddD2-mmQd-W0t0-cdBX-FYf4Mo
At this point I should be able to boot to a live cd or gparted and resize the volume group and physical volume? Then use clonezilla to clone the partitions over to the smaller, 480GB drive? Does this sound logical? Or am I just overcomplicating things by trying to move everything to a smaller SSD?
I would start from scratch on the new drive but this node is part of a cluster and I have some involved gpu passthrough settings and probably a whole host of other config that would be a sincere pain to set back up again. Any input is greatly appreciated.
Last edited: