public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Ebel <ingo.ebel@ingoebel.de>
To: <linux-btrfs@vger.kernel.org>
Subject: Re: RAID 1 with no data on it when accidentally switched HDD
Date: Sun, 12 Jan 2014 22:40:34 +0100	[thread overview]
Message-ID: <b93a253364541dd18356eaefb64d3168@www.jitmail.de> (raw)

Hi,

> I don't understand the exact sequence. How does a 3rd drive appear as 
> sdc when
> the 2nd drive is sdc and sdc1 is part of a Btrfs file system already? 
> Did you
> reboot and the 3rd drive became sdc? This needs to be explained 
> better,
> including the exact commands you used.

Ok i try to.

I made the btrfs with:
mkfs.btrfs -f -m raid1 -d raid1 /dev/sdb1 /dev/sdc1

part of my /etc/fstab:

/dev/sdb1	/data	btrfs	defaults,compress	0 0
/dev/sdb1 /usr/src/packages btrfs	defaults,compress,subvol=packages	0 0

No other special commands used.

Hardware Setup:

SATA-Port 1 - HDD with opensuse
SATA-Port 2 - HDD /dev/sdb
SATA-Port 3 - DVD
SATA-Port 4 - HDD /dev/sdc

Put at SATA Port 3 an HDD instead an DVD and it got /dev/sdc after 
rebooting my system.

Regards

Ingo

             reply	other threads:[~2014-01-12 21:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-12 21:40 Ingo Ebel [this message]
2014-01-12 21:50 ` RAID 1 with no data on it when accidentally switched HDD Chris Murphy
2014-01-13  8:18   ` Duncan
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=b93a253364541dd18356eaefb64d3168@www.jitmail.de \
    --to=ingo.ebel@ingoebel.de \
    --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