v !!! POST-MIGRATION EDIT !!! v

I shrunk the LVM partition by 5000 MiB and just ran dd overnight. I had to shuffle my boot-order around a bunch to find the one partition that would boot properly but it all just works.

,

,

v !!! ORIGINAL POST !!! v

Hi! My Proxmox machine has 3 disks (see pic). I wish to migrate sdc to a 2TB SSD. I have LXCs on all drives and I would really like to avoid having to restart from backups. I don’t have any special configuration on my proxmox, it’s pretty clean and basic.

Is it safe to simply dd the old disk to the new one? I can’t find an explicit answer to this question that doesn’t also have a lot of other variables not relevant to me.

If not, what else can I do?

  • astrsk
    link
    fedilink
    52 months ago

    I’d prefer GNU’s ddrescue just because I find it more robust and has better progress output. It’s functionally the same interface but lets you use a mapfile to resume sessions should anything happen to interrupt the copy.

    Arguably I’m against this because you never know what’s going to happen and the conventional wisdom for appliances like this is to just backup any important configs, backup your containers and vms, then do a fresh install from the latest install media on the new disk followed by a restore of the backups. It might take a little more time but it’s negligible and allows you an opportunity to review your current configs, make necessary changes, and ensure your backups are working as intended.

    • @[email protected]OP
      link
      fedilink
      English
      1
      edit-2
      2 months ago

      The issue is that I can’t really fit all of the data somewhere else. Can I shove it onto the 4TB drive and then mount it on a new proxmox install and recover from there?

      The answer was a resounding no