From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: RAID 1 with no data on it when accidentally switched HDD
Date: Mon, 13 Jan 2014 08:18:42 +0000 (UTC) [thread overview]
Message-ID: <pan$137$6980616b$bce212bf$29519e1a@cox.net> (raw)
In-Reply-To: EF449A1E-2C53-43BB-883E-98EE848E60CB@colorremedies.com
Chris Murphy posted on Sun, 12 Jan 2014 14:50:03 -0700 as excerpted:
> This change in block device designation is why using /dev/X in fstab is
> not a good idea, it's an ambiguous entry. I don't know what file system
> was actually mounted by fstab, and to what volume sdc was added. I
> suggest changing fstab to use fs UUID from blkid.
FWIW, I use labels here. They work as well (as long as you don't
duplicate them) and are much more human-friendly than UUIDs. I have a
particular labeling scheme that guarantees they're unique within my
setup, and are extremely likely to be unique with the set of any other
hardware I'd use, as well.
I use GPT partitioning (instead of MBR) for better fault tolerance and
flexibility here, too, 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.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2014-01-13 8:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-12 21:40 RAID 1 with no data on it when accidentally switched HDD Ingo Ebel
2014-01-12 21:50 ` Chris Murphy
2014-01-13 8:18 ` Duncan [this message]
2014-01-13 16:46 ` Chris Murphy
2014-01-14 9:10 ` Duncan
-- strict thread matches above, loose matches on Subject: below --
2014-01-12 19:35 Ingo Ebel
2014-01-12 20:54 ` Chris Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='pan$137$6980616b$bce212bf$29519e1a@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox