On 03/11/2020 07:13, Chris Murphy wrote:
On Mon, Nov 2, 2020 at 5:45 AM Patrick O'Callaghan
<pocallag...@gmail.com>  wrote:
I'd normally upgrade, but my /dev/sda uses LVM to handle root, /home
etc. and from what I read this cannot be converted directly to BTRFS,
which I'm interested in using.
ext4 can be converted to Btrfs but I can't strongly recommend it
because you're not going to get the same layout as a default
installation. The conversion won't remove LVM, and it won't add the
subvolume layout we're using where "home" and "root" subvolumes are
assigned to /home and / mountpoints respectively.

What would be the best way to approach this?:
[snip]
2) Do a complete system install and then restore from backups.

I'm guessing that (2) is the simplest answer, but I'd appreciate any
comments, especially from people who have actually done either of
these.
Top choice:
Backup /home. Optionally /etc. And hand it over to the installer for
complete wipe and clean install. From scratch setup. And after going
through initial setup, restore /home (specifically restore the
contents of ~/ for each user). Probably the most straightforward.


Is this the best advice for complicated setups too? My main computer has been upgraded again and again since about Fedora 18, with parts being changed out as and when. When new disks are added the old ones remain until they die; where I have multiple disks of the same size I RAID them for performance. My current disk setup looks like this:

root@snoopy 09:22:35 ~ # lsblk --merge
          NAME               MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
          sda                  8:0    0 111.8G  0 disk
          ├─sda1               8:1    0   500M  0 part  /boot
      ┌┈▶ └─sda2               8:2    0 111.3G  0 part
      ┆   sdb                  8:16   0 111.8G  0 disk
      ┆   ├─sdb1               8:17   0    64G  0 part  [SWAP]
      └┬▶ └─sdb2               8:18   0  47.8G  0 part
       └┈┈fedora_snoopy-root 253:0    0 159.1G  0 lvm   /
          sdc                  8:32   1  14.6T  0 disk
          └─sdc1               8:33   1  14.6T  0 part  /backup
          sdd                  8:48   0 931.5G  0 disk
      ┌┈▶ └─sdd1               8:49   0 931.5G  0 part
      ┆   sde                  8:64   0 931.5G  0 disk
      ├┈▶ └─sde1               8:65   0 931.5G  0 part
      ┆   sdf                  8:80   1   3.7T  0 disk
   ┌┈▶┆   └─sdf1               8:81   1   3.7T  0 part
   ┆  ┆   sdg                  8:96   1   3.7T  0 disk
   └┬▶┆   └─sdg1               8:97   1   3.7T  0 part
┌┈▶ └┈┆┈┈┈md1                  9:1    0   7.3T  0 raid0
┆     ┆   sdh                  8:112  0 931.5G  0 disk
┆     ├┈▶ └─sdh1               8:113  0 931.5G  0 part
┆     ┆   sdi                  8:128  0 931.5G  0 disk
┆     └┬▶ └─sdi1               8:129  0 931.5G  0 part
└┬▶    └┈┈md0                  9:0    0   3.7T  0 raid0
 └┈┈┈┈┈┈┈┈vg_home-lv_home    253:1    0  10.9T  0 lvm   /home
          sr0                 11:0    1 496.7M  0 rom

If I do a clean install of Fedora 33 onto this will it cope? I am hoping that BTRFS / Anaconda will spot all those disks and make optimal use of them, better even than my manual arrangement. Is that a fair assumption, or would I be better just upgrading F32 -> F33 as previously?

Many thanks,
Chris R.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to