I have two nethservers holding quite some data (3-500GB each), and would like to separate them on a second disk. In particular I would like to move the content of /var/lib/nethserver/ibay, and maybe also /var/lib/nethserver/profiles and /var/lib/nethserver/home to a separate disk. Reason is I’d like to do vzdumps in proxmox before I update nethserver, which take way to long with those big disks.
Will it work, if I just attach an additional disk and rsync the files and folders over and than mount ibay, profiles and home from second disk? What will be the recomended way to mount. Can this be done in cockpit or do I add those directly in fstab, and if so - what are the needed mount options? Will the premade configurations created when everything was on the same disk, like shares and userhomes continue to work or will I have to take further actions?
I am asking as sometime ago, when I was still testing nethserver, I already had made an attempt copying (did not use rsync but cp) everything under /var/lib/nethserver to a separate disk and then just mounting the second disk to /var/lib/nethserver, and that did not go very well. I was only able to have this setup when I reinstalled and had the mountpoint created before installing nethserver. Thus I thought, it might be easier putting /var/lib/nethserver/ibay, and maybe also home and profiles to separate disk instead of /var/lib/nethserver…
I need, shared folders, userhomes and profiles still working as before.