Moving Proxmox VE to smaller SSD

mshorey

Member
Dec 24, 2021
18
0
6
43
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.
 
Last edited:
Clone/copy just the root/boot logical volume. Make sure you can boot from it.
Once booted, create new data logical volume. You can then activate both disks in PVE and use "disk move" functionality to migrate your disk images. Make sure to name your data LV differently.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: mshorey
Clone/copy just the root/boot logical volume. Make sure you can boot from it.
Once booted, create new data logical volume. You can then activate both disks in PVE and use "disk move" functionality to migrate your disk images. Make sure to name your data LV differently.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Thank you very much! I will try this out and see how it goes.
 
Clone/copy just the root/boot logical volume. Make sure you can boot from it.
Once booted, create new data logical volume. You can then activate both disks in PVE and use "disk move" functionality to migrate your disk images. Make sure to name your data LV differently.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Hey I'm currently trying to do the same thing expect with a 120gb ssd as the current drive and 2x108gb ssd in a mirrored array.

How would you go about just copying the root/boot volumes? I was able to make Bootable partitions for the bios boot and efi but not copy the LVM root.

Would just copying all the data from the root dir in proxmox host work?
 

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!