I have spent the last couple of weeks getting my small used PC into my Proxmox server and it’s going great! …Until I quickly ran into the 256GB SSD size limit of the included drive. So I have ordered a much larger (2tb) one so I can expand much more.
Ideally, I would like to make an exact clone of what I have now just on my bigger SSD to avoid having to rebuild my VMs
One issue is that the computer has room for one drive only. I was hoping to get an exact clone to a USB drive then clone to the new drive once replaced with the new one.
Any suggestions or tips would be appreciated, thank you.
EDIT: Took another look in the guts of my system managed to get another 2tb SSD in there.
Disconnected cd drive and got a power splitter and boom. Could probably get another one even with another splitter as it’s got a 3rd sata port.
room for one drive only.
I suggest to free yourself from this limit, because it is your worst one.
Get a case that can have multiple disc drives (an old one will do). Get a mainboard that can host 2 SSD’s plus several HD’s.
Also SSDs don’t even need to be mounted. You can just leave it flapping in the breeze until you get something set up. As long as it’s not literally flapping in the breeze and hitting things it’s probably fine.
the computer has room for one drive only
The case might, but are you sure there isn’t a second SATA port on the motherboard? In which case, and assuming you’re using LVM, it would be easy to plug the 2 drives simultaneously while the case is open, create the appropriate partitions/LVM
pvcreate/vgextend
on the new drive,pvmove
everything to the new drive,vgreduce/pvremove
to remove the old drive, done.If it’s really impossible to add an extra drive, are you able to attach an external drive or map a networked drive that has space for your VMs and LXCs?
In your situation, what I would probably do is back up all my VMs to my NAS, replace the hard drive in my Proxmox hypervisor, re-install a fresh copy of Proxmox on the new drive, and restore the VMs back to my new Proxmox installation. If you don’t have a NAS, you could do this with a USB-attached hard drive, too.
Ideally, though, you should have separate drives for your Proxmox boot drive and your VMs. Even if you’re using a SFF PC that doesn’t have an extra drive bay, could you double-sided-tape a SSD to the bottom of the case and use this as your storage drive? I’ve certainly done it before.
If you manage to fit the second drive, I’d keep the OS on the first drive and put your VM data on the second.
Get an external USB AAA adapter for like $20 or a SATA expander for about the same price.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters LXC Linux Containers NAS Network-Attached Storage SATA Serial AT Attachment interface for mass storage SSD Solid State Drive mass storage
4 acronyms in this thread; the most compressed thread commented on today has 9 acronyms.
[Thread #229 for this sub, first seen 22nd Oct 2023, 03:05] [FAQ] [Full list] [Contact] [Source code]