
Sent from my Galaxy -------- Original message --------From: Russell Coker <russell@coker.com.au> Date: 30/11/20 3:46 pm (GMT+10:00) To: luv-main@luv.asn.au, Andrew Greig <pushin.linux@gmail.com> Subject: Re: Upgrading Ubuntu with a RAID drive On Sunday, 29 November 2020 9:45:11 AM AEDT Jason White via luv-main wrote:> On 11/28/20 5:33 PM, Andrew Greig via luv-main wrote:> > I have a Ubuntu 18.04.5 LTS distro with a RAID 1 pair under btrfs.And> > now I am considering upgrading to another LTS release.> > > > Will the commands relating to the RAID survive the upgrade, will the> > script work from Ed survive the upgrade?> > I would expect the RAID configuration to continue to work following the> upgrade. I'm obviously not familiar with the contents of the scripts, so> I can't be sure, except to say that the Linux command line interface and> directory hierarchy tend to remain fairly stable across distribution> releases. If you have a good backup of everything, you can always> downgrade if there are problems, or resolve them after the upgrade if> they aren't too severe.Yes, I've upgraded Debian BTRFS systems since 2012 without any problems and as Ubuntu is based on Debian it should work the same way.BTRFS supports the subvol= mount option, so you can mount a subvol as root. You can make a read-write snapshot of root, upgrade the regular root, and then boot from the subvol if something goes really wrong with the upgrade. Also you can use systemd-nspawn to run a chroot environment if you need to use old versions of apps. I have old distributions running with systemd-nspawn and ssh to them to run older apps.-- My Main Blog http://etbe.coker.com.au/My Documents Blog http://doc.coker.com.au/Thanks Russell,I will keep this info handy, I appreciate it.Andrew