Tag: linux

Moving lvm-thin volumes on proxmox between vm-s or ct-s

it’s pretty straight forward following this official howto: https://pve.proxmox.com/wiki/Moving_disk_image_from_one_KVM_machine_to_another lvs shows you all volumes in their volume group (in my case ‘ssd’) If the id of the new ct or vm is not equal to the id of the volume’s previous attachment, rename them, i.e. lvrename ssd/vm-101-disk-1 ssd/vm-117-disk-2 this will make vm-101-disk-1 available as vm-117-disk-2,

Continue Reading…

chroot and serial console to fix ubuntu distro upgrade gone wrong

I had to fix a do-distro-upgrade from 16.04 to 18.04 due to a severed ssh connection, and no screen running (apparently earlier distro upgrades used screen to prevent this kind of problem) the machine as a PCengine apu2, so no video. also, the root file system is sitting on a miniPCI ssd. eventually, my thinkpad

Continue Reading…