Hi, I seek advice about howto upgrade my server to ubuntu lts 20.04. Currently it is on 16.04 with LXD 3.0.3-0ubuntu1~16.04.1 and zfs for container storage.
I did not find much info about LXD host upgrades on the net, probably due to the many options available.
My best option would be to perform a “do-release-upgrade” on the host, followed by upgrades of every single container with “lxc exec CONTAINERNAME – script /dev/null -c do-release-upgrade”. To my knowledge this is not the cleanest way because the size of the containers will grow dramatically in size, but it will be much more quick than start from scratch.
What is the best way to proceed?
• install snap and LXD 4.0 prior to OS upgrade? (or skip these steps?)
• make snapshots and export images form containers. (yes I need to do this )
• stop containers prior to actual OS upgrade? (or leave them running?)
• should the zpool be prepared prior to OS upgrade? (with zpool export or leave it active?)
any help is much appreciated, lxdblast