linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rasmus Abrahamsen <btrfs@rasmusa.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Add big device, remove small device, read-only
Date: Wed, 06 Jan 2016 12:04:16 +0100	[thread overview]
Message-ID: <1452078256.371119.484306690.4F4014FE@webmail.messagingengine.com> (raw)
In-Reply-To: <pan$8f979$3e11d093$c11f0907$776df255@cox.net>



On Wed, Jan 6, 2016, at 07:45 AM, Duncan wrote:
> Rasmus Abrahamsen posted on Fri, 01 Jan 2016 21:20:13 +0100 as excerpted:
> 
> > I accidentically sent my messages directly to Duncan, I am copying them
> > in here.
> > 
> > Hello Duncan,
> > 
> > Thank you for the amazing response. Wow, you are awesome.
> 
> Just a note to mention that real life (TM) got in the way, and I'm a few 
> days and a couple hundred posts behind on the list, now.  Sounds like you 
> have a backup tho, and if worse comes to worse, you can simply blow away 
> the filesystem and start over.  Between that and Chris Murphy helping you 
> now, I read the thread to date but am simply marking it read without 
> further replies as it exists ATM, but might reply to new posts to the 
> thread from now, if I think I can be helpful.
> 
> (Which is why I try to discourage direct replies, too.  With direct 
> replies to a single person, if that person doesn't get back...  While if 
> it's to the list, there's more that can take up the thread, it's not on 
> just one person.  Of course the just to me was an accident, but...)
> 
> -- 
> 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
> 
> --
> 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

Yeah, I have made many mistakes as this is my first time participating
on a mailing list :)

I decided to blow away the filesystem and start over. I did so by
physically removing the new 4 TB drive, mounting -o degraded and then
running:

find . -type f -exec cat {} >> /dev/null \;

In all folders that matter to me to make sure everything is readable
without the new drive. I then formatted the new drive as BTRFS and moved
over all my data. Then I added my old 4 TB drive to the new filesystem
and did balance -dconvert=raid1 -mconvert=raid1. I am now online with
the new filesystem and things are good.

I was expecting btrfs to just work (tm) when adding the new drive and
removing the old, so that made me a little sad. However, it's awesome
that no data was lost and my method actually worked.

Thanks for a great place and product.

      reply	other threads:[~2016-01-06 11:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01 11:47 Add big device, remove small device, read-only Rasmus Abrahamsen
2016-01-01 16:39 ` Duncan
2016-01-01 20:07 ` Chris Murphy
2016-01-01 20:20   ` Rasmus Abrahamsen
2016-01-02 10:08     ` Rasmus Abrahamsen
2016-01-02 11:03       ` Rasmus Abrahamsen
     [not found]       ` <13CBB600-0779-40B7-BD20-ED571A3336D7@rasmusa.net>
2016-01-02 16:45         ` Rasmus Abrahamsen
2016-01-02 19:47           ` Rasmus Abrahamsen
2016-01-02 19:57             ` Chris Murphy
2016-01-02 19:56     ` Chris Murphy
2016-01-02 19:58       ` Rasmus Abrahamsen
2016-01-02 20:15         ` Chris Murphy
2016-01-02 20:32           ` Chris Murphy
2016-01-02 20:39             ` Rasmus Abrahamsen
2016-01-02 21:28               ` Chris Murphy
2016-01-02 21:30                 ` Rasmus Abrahamsen
2016-01-02 21:37                   ` Chris Murphy
2016-01-02 21:42                     ` Rasmus Abrahamsen
2016-01-02 22:46                       ` Chris Murphy
2016-01-03 10:29                         ` Rasmus Abrahamsen
2016-01-06  6:45     ` Duncan
2016-01-06 11:04       ` Rasmus Abrahamsen [this message]

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=1452078256.371119.484306690.4F4014FE@webmail.messagingengine.com \
    --to=btrfs@rasmusa.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;
as well as URLs for NNTP newsgroup(s).