From: "Jérôme Poulin" <jeromepoulin@gmail.com>
To: Felix Blanke <felixblanke@gmail.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs and raid1 (restore)
Date: Tue, 7 Sep 2010 20:46:19 -0400 [thread overview]
Message-ID: <-3598551969956434661@unknownmsgid> (raw)
In-Reply-To: <20100907222807.GA3546@scooter>
Now that we know the facts, what is the problem? Some simple questions first;
Is the data still accessible?
What did the rebalance do?
Output of btrfsck/dmesg?
mkfs.vfat does not write much on disk so if the rebalance was also
made before the mkfs I guess most data is still present.
Sent from my mobile device.
On 2010-09-07, at 18:28, Felix Blanke <felixblanke@gmail.com> wrote:
> Hi,
>
> I made a REALLY bad mistake today.
>
> I've two hdds which are running at raid1 via btrfs. Today I mistyped a device-node
> and did a "mkfs.vfat" on one of them.
>
> Then I simply did a "btrfs filesystem balance /path/". "btrfs filesystem show /path/"
> now looks like this:
>
> Label: 'home1' uuid: c3c38f32-f176-4479-8c44-e832ea64639f
> Total devices 2 FS bytes used 226.12GB
> devid 2 size 465.76GB used 114.38GB path /dev/loop3
> devid 1 size 465.76GB used 114.39GB path /dev/loop4
>
>
> Before my mistake the "FS bytes used" were all three the same, now the bottom two are
> only half of the size. Am I right that those devices didnt run in raid1 mode anymore?
> :(
>
>
> Is there a way, without copying back all data from my backup, to get those 2 running in
> raid1 mode?
> Or do I have to make a "mkfs.btrfs -m raid1 -d raid1 /dev/1", "btrfs device add /dev/2" and
> "btrfs filesystem balance /path/"? :/ That would cost a lot of time.
>
>
> Thanks for your help!
>
>
> Regards,
> Felix
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-09-08 0:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 22:28 btrfs and raid1 (restore) Felix Blanke
2010-09-08 0:46 ` Jérôme Poulin [this message]
2010-09-08 6:43 ` Felix Blanke
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=-3598551969956434661@unknownmsgid \
--to=jeromepoulin@gmail.com \
--cc=felixblanke@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.