My question is, can I disconnect the two SSD drives, move them to the PROXMOX server, physically connect them, and import the pool on the existing zpool zfspool on that system without losing the data? I wonder if will be possible. Adding an existing mirror into another existing zpool zfspool for a total of two mirrors mirror-0 and mirror-1 both with two 4TB SSD drives each.
It depends on the versions of ZFS in use on the platforms and I see you have included that information. One wrinkle is that the module and utility versions on Ubuntu do not match and that makes the hair on my neck crawl, but it may be normal for Ubuntu.
If the pool was created with a lower version than what is on Proxmox and never upgraded (*) it should import w/out difficulty. If the pool has features not supported by the Proxmox version, it may import readonly. In that case you need to create a pool on another device, copy your pool to that and then recreate the pool on the desired devices.
(*) I almost never upgrade a pool unless there is a new feature I really want/need. My servers are often running older versions (of Debian) than my desktop/laptop and by not upgrading, the pools are usually compatible.
Thank you for the input @HankB would you mind pointing me to a reliable tutorial or if you can provide the commands for how would you proceed would be appreciated, if you cannot, no big deal. I think I will give it a try testing with some dummy data in the pool, move the drives physically to my PROXMOX mirror and see if I can add it to it as a second mirror to the primary zpool. Thanks again!
I’m happy to help. Lacking familiarity with Proxmox I’m reluctant to suggest commands, but at the end of your first post you have
zpool add zfspool mirror disk/by-id disk/by-id
I’m pretty sure if you want to import the pool you want
zpool import -d /dev/disk/by-id
zpool add will add disks (vdevs) to an existing pool in a way that cannot always be undone.
It is often very wise to try things out on test pools (created from files) before you actually perform the operation. You can find some of my explorations scripted at https://github.com/HankB/Fun-with-ZFS
Hello, @tvcvt correct, as I mentioned in the original post, my goal is to add the existing mirror to an existing zpool in PROXMOX that is used currently as a data store for Disk image and Container