Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: Jordan Windsor <jordanw2@gmail.com>
Cc: Ilya Dryomov <idryomov@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: Find RAID level, Change RAID level.
Date: Sun, 30 Oct 2011 14:31:50 +0000	[thread overview]
Message-ID: <20111030143150.GR29548@carfax.org.uk> (raw)
In-Reply-To: <CACCfv7rE+1v5bAo4aDDq1i-_4BG8VRCTowDQt1uWDaZ=czgCyQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]

On Mon, Oct 31, 2011 at 12:56:51AM +1030, Jordan Windsor wrote:
> On Mon, Oct 31, 2011 at 12:36 AM, Ilya Dryomov <idryomov@gmail.com> wrote:
> > On Mon, Oct 31, 2011 at 12:10:34AM +1030, Jordan Windsor wrote:
> >> Thanks, It currently shows this:
> >>
> >> Data: total=195.01GB, used=193.93GB
> >> System, DUP: total=8.00MB, used=28.00KB
> >> System: total=4.00MB, used=0.00
> >> Metadata, DUP: total=1.75GB, used=385.41MB
> >> Metadata: total=8.00MB, used=0.00
> >>
> >> I didn't specify any RAID levels during creation. I'd like to have a
> >> RAID0 installation across two hard drives.
> >
> > How many devices do you have in your FS right now ?  If it's only 1 then
> > add another one (btrfs device add <dev> <path to FS>) and run balance
> > (btrfs fi balance <path to FS>).  That should give you raid0 for data
> > across two drives w/o applying any patches.
> 
> Thanks, I was wondering if I added a device that was already part of
> another btrfs volume, then would I have the files merged as one volume
> or overwritten in the newly added one?

   You'll lose the original data on the disk you're adding. No merging
will take place.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
                        --- argc, argv, argh! ---                        

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

  reply	other threads:[~2011-10-30 14:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-29 13:58 Find RAID level, Change RAID level Jordan Windsor
2011-10-29 14:13 ` Hugo Mills
2011-10-29 14:25   ` Jordan Windsor
2011-10-29 14:34     ` Hugo Mills
2011-10-29 14:36       ` Jordan Windsor
2011-10-29 14:44         ` Hugo Mills
2011-10-29 15:05           ` Jordan Windsor
2011-10-29 20:10         ` Helmut Hullen
2011-10-30 13:40           ` Jordan Windsor
2011-10-30 14:06             ` Ilya Dryomov
2011-10-30 14:26               ` Jordan Windsor
2011-10-30 14:31                 ` Hugo Mills [this message]
2011-10-30 14:42                 ` Ilya Dryomov

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=20111030143150.GR29548@carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=idryomov@gmail.com \
    --cc=jordanw2@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox