Hello everyone,
what is the best way to exchange the disk on which proxmox is currently installed?
The actual setup:
a couple of weeks ago i set up a cluster of two Proxmox hosts (two physical Dell servers). I store all VMs on a ZFS raid-z2 pool on /dev/sdb - /dev/sdi. The OS is installed on a 1 TB ssd on /dev/sda:
(sda4 and sda5 are not used, i can easily delete them)
When we got these to physical servers, we were still waiting for the shipment of 400 GB SSDs, on which we planned to install the OS (two of them as a mirror for each host. Installing the OS on this 1 TB SSD /dev/sda was just a temporarily solution.
Possible ways of migration
1. Install Proxmox fresh and clean from scratch
-> will it easily find the existing ZFS Pools on /dev/sdb - /dev/sdi ? with
-> am i correctly assuming that i only have to install networking, linux user and certificates and all the rest is coming by integrating the host into the cluster with the other host?
-> is it easier to first backup /etc/pve and then copy it to the freshly setup host? Will this interfere with the cluster afterwards?
2. Using
-> Problem: the new disks are smaller
-> how to have two of the new disks running as a mirror afterwards?
Has anyone done something similar yet? Thank you for your advices!
what is the best way to exchange the disk on which proxmox is currently installed?
- actually installed on single 1 TB SSD, but just using partition of 150 GB
- want to move to 2 mirrored 400 GB SSDs
- Don't care if it the new setup is ZFS or LVM
The actual setup:
a couple of weeks ago i set up a cluster of two Proxmox hosts (two physical Dell servers). I store all VMs on a ZFS raid-z2 pool on /dev/sdb - /dev/sdi. The OS is installed on a 1 TB ssd on /dev/sda:
Code:
root@one:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 894.3G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 512M 0 part /boot/efi
├─sda3 8:3 0 149.5G 0 part
│ ├─pve-root 253:0 0 37.3G 0 lvm /
│ ├─pve-data_tmeta 253:1 0 1G 0 lvm
│ │ └─pve-data 253:3 0 94.3G 0 lvm
│ └─pve-data_tdata 253:2 0 94.3G 0 lvm
│ └─pve-data 253:3 0 94.3G 0 lvm
├─sda4 8:4 0 64G 0 part
└─sda5 8:5 0 64G 0 part
...
...
(sda4 and sda5 are not used, i can easily delete them)
When we got these to physical servers, we were still waiting for the shipment of 400 GB SSDs, on which we planned to install the OS (two of them as a mirror for each host. Installing the OS on this 1 TB SSD /dev/sda was just a temporarily solution.
Possible ways of migration
1. Install Proxmox fresh and clean from scratch
-> will it easily find the existing ZFS Pools on /dev/sdb - /dev/sdi ? with
zfs import
?-> am i correctly assuming that i only have to install networking, linux user and certificates and all the rest is coming by integrating the host into the cluster with the other host?
-> is it easier to first backup /etc/pve and then copy it to the freshly setup host? Will this interfere with the cluster afterwards?
2. Using
dd
or clonezilla
to copy the old /dev/sda to a new disk-> Problem: the new disks are smaller
-> how to have two of the new disks running as a mirror afterwards?
Has anyone done something similar yet? Thank you for your advices!