Hey there!
So I tried to add my node to a cluster but learned that you can't do that with containers and VMs installed. I made backups, tested out a container I could stand to lose and it worked! So I deleted all my containers including my windows server VM that hosts DHCP/DNS - and that basically broke my network.
I added it to the cluster and was able to restart all the containers, but I couldn't find my backup VM. I remembered I backed it up to a secondary hard drive (which was a directory) and it looks like i can see the file using shell. (see bold below)
root@mars:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 3G 0 loop
loop1 7:1 0 6G 0 loop
loop2 7:2 0 4G 0 loop
loop3 7:3 0 2G 0 loop
sda 8:0 0 465.8G 0 disk
sdb 8:16 0 476.9G 0 disk
└─sdb1 8:17 0 476.9G 0 part /mnt/pve/Backups
nvme0n1 259:0 0 476.9G 0 disk
nvme1n1 259:1 0 476.9G 0 disk
├─nvme1n1p1 259:2 0 1007K 0 part
├─nvme1n1p2 259:3 0 1G 0 part /boot/efi
└─nvme1n1p3 259:4 0 475.9G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
└─pve-root 253:1 0 96G 0 lvm /
It seems like its mounted to the node, but needs to be added to the cluster for me to restore the VM from the hard drive? I know how to add it to the cluster after some research, I just wanted to be sure I don't break anything else! I've attempted to just restore the VM, but it looks like it'll need the storage space of the second hard drive
Do I need to unmount the old drive before adding it to the cluster storage? Am I overlooking anything?
So I tried to add my node to a cluster but learned that you can't do that with containers and VMs installed. I made backups, tested out a container I could stand to lose and it worked! So I deleted all my containers including my windows server VM that hosts DHCP/DNS - and that basically broke my network.
I added it to the cluster and was able to restart all the containers, but I couldn't find my backup VM. I remembered I backed it up to a secondary hard drive (which was a directory) and it looks like i can see the file using shell. (see bold below)
root@mars:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 3G 0 loop
loop1 7:1 0 6G 0 loop
loop2 7:2 0 4G 0 loop
loop3 7:3 0 2G 0 loop
sda 8:0 0 465.8G 0 disk
sdb 8:16 0 476.9G 0 disk
└─sdb1 8:17 0 476.9G 0 part /mnt/pve/Backups
nvme0n1 259:0 0 476.9G 0 disk
nvme1n1 259:1 0 476.9G 0 disk
├─nvme1n1p1 259:2 0 1007K 0 part
├─nvme1n1p2 259:3 0 1G 0 part /boot/efi
└─nvme1n1p3 259:4 0 475.9G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
└─pve-root 253:1 0 96G 0 lvm /
It seems like its mounted to the node, but needs to be added to the cluster for me to restore the VM from the hard drive? I know how to add it to the cluster after some research, I just wanted to be sure I don't break anything else! I've attempted to just restore the VM, but it looks like it'll need the storage space of the second hard drive
Do I need to unmount the old drive before adding it to the cluster storage? Am I overlooking anything?