Re: RAID 1 with no data on it when accidentally switched HDD

Chris Murphy
2014-01-13T16:46:15Z

On Jan 13, 2014, at 1:18 AM, Duncan <1i5t5.duncan@cox.net> wrote:
>
> I use GPT partitioning (instead of MBR) for better fault tolerance and
> flexibility here, too,

Off topic but related to above, you might find it vaguely interesting/annoying in that the current kernel behavior actually makes GPT less reliable than MBR because it face plants if it finds a problem with the primary GPT, rather than use the backup:
https://bugzilla.kernel.org/show_bug.cgi?id=63591

> and it has partition names/labels which can be
> used in fstab, too. I use the same label and partlabel scheme, with the
> filesystem label generally reflecting the partlabel(s) it's created on,
> however, so it doesn't really matter which I use, except that PARTLABEL=
> is longer in fstab, so I use the shorter LABEL=, instead.

While considering how to make Btrfs snapshots bootable in a sane manner over on grub-devel@, I'm finding that fstab is almost entirely obsolete and we need a more dynamic approach. Any rootfs snapshot contains a wrong fstab. So it's almost like we need a revamped format that enables some entries to be static and others to be 2nd guessed/dynamically altered, so that the right subvolumes are mounted rather than prior ones.

Chris Murphy