Hi, is there a consensus on the best way to do a fresh, clean install of proxmox while preserving VM zvols/configurations? I have a 600GB ZFS RAID10 rpool with 3 VM zvols and a few ISOs I want to preserve. I also have a secondary zpool called "nas" that has a few TB of free space.
In the GUI, proxmox thinks that this is only for VM/CT disks and there doesn't seem to be a way to add it as a backup target.
Is there a safe way to blow away my existing rpool, while saving:
- VM disks (raw zvols)
- VM configurations
- custom configuration files such as smartd.conf, vdev_id.conf, postfix configuration, etc
- files in my home folder
The best idea I've had so far is to manually copy these files on the cmd line with rsync to my "nas" zpool and then on a fresh install move them back into place. I don't want to miss anything important though.
Background:
I recently installed proxmox 6.3 just before 6.4 dropped. Did an apt dist-upgrade and all seemed fine.
Unfortunately, today on a reboot and because of a bad SATA cable, my rpool degraded. One drive was throwing checksum errors so I powered down and swapped the cable. All was well until reboot.
At this point, I got a grub rescue prompt. Used the USB installer in debug mode and did a zpool import -f rpool (forgot -N -R). Did a zpool scrub and errors repaired! Now I'm able to boot.
After successful boot, unfortunately the GUI wouldn't load and pveproxy wouldn't start. I tried several different steps here and at one point decided to reinstall all of the pve core packages with:
Eventually the only way I was able to get the GUI to come back up and get pveproxy to start was to delete "ipv6.disable=1" from the kernel cmdline in /etc/default/grub.
At this point, I'm getting enough weirdness with the system at boot that I don't feel confident in the stability of this install going forward and want to do a fresh, clean install to get back to a known good state.
In the GUI, proxmox thinks that this is only for VM/CT disks and there doesn't seem to be a way to add it as a backup target.
Is there a safe way to blow away my existing rpool, while saving:
- VM disks (raw zvols)
- VM configurations
- custom configuration files such as smartd.conf, vdev_id.conf, postfix configuration, etc
- files in my home folder
The best idea I've had so far is to manually copy these files on the cmd line with rsync to my "nas" zpool and then on a fresh install move them back into place. I don't want to miss anything important though.
Background:
I recently installed proxmox 6.3 just before 6.4 dropped. Did an apt dist-upgrade and all seemed fine.
Unfortunately, today on a reboot and because of a bad SATA cable, my rpool degraded. One drive was throwing checksum errors so I powered down and swapped the cable. All was well until reboot.
At this point, I got a grub rescue prompt. Used the USB installer in debug mode and did a zpool import -f rpool (forgot -N -R). Did a zpool scrub and errors repaired! Now I'm able to boot.
After successful boot, unfortunately the GUI wouldn't load and pveproxy wouldn't start. I tried several different steps here and at one point decided to reinstall all of the pve core packages with:
Code:
apt install --reinstall $(apt list --installed | grep pve | sed 's/\/.*$//g')
Eventually the only way I was able to get the GUI to come back up and get pveproxy to start was to delete "ipv6.disable=1" from the kernel cmdline in /etc/default/grub.
At this point, I'm getting enough weirdness with the system at boot that I don't feel confident in the stability of this install going forward and want to do a fresh, clean install to get back to a known good state.