Once upon a time, Frank Bures <bur...@gmail.com> said:
> Question: is this solution OK or have I done something wrong?  Is
> there a better way of solving this?

It'd probably be better to do backups by copying files rather than
blocks.  There are a variety of things that look at filesystems by UUID,
and the plus of using them in /etc/fstab is that there are cases where
drive order is not deterministic or can change if there's a hardware
change (e.g. what is /dev/sda this boot could be /dev/sdc next boot).
The UEFI boot manager and GRUB also use UUIDs to find things, so having
duplicates is unpredictable.

It doesn't apply in this case (just noting it), but you should
definitely never do block backups of LVM like this, because LVM will
stop when it finds multiple devices with the same UUID.

Also, you are putting more wear on the SSD backup drive this way,
because you are writing all blocks (whether they're in use or not and
whether they've changed or not).  If you make new filesystems on your
backup drive, mount them somewhere, and then use something like rsync to
make your copies, you'll greatly reduce the writes to your SSD and
extend its life.
-- 
Chris Adams <li...@cmadams.net>
--
_______________________________________________
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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to