Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Ilya Dryomov <idryomov@gmail.com>
To: Jordan Windsor <jordanw2@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Find RAID level, Change RAID level.
Date: Sun, 30 Oct 2011 16:42:57 +0200	[thread overview]
Message-ID: <20111030144257.GA31831@zambezi.lan> (raw)
In-Reply-To: <CACCfv7rE+1v5bAo4aDDq1i-_4BG8VRCTowDQt1uWDaZ=czgCyQ@mail.gmail.com>

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> w=
rote:
> > On Mon, Oct 31, 2011 at 12:10:34AM +1030, Jordan Windsor wrote:
> >> Thanks, It currently shows this:
> >>
> >> Data: total=3D195.01GB, used=3D193.93GB
> >> System, DUP: total=3D8.00MB, used=3D28.00KB
> >> System: total=3D4.00MB, used=3D0.00
> >> Metadata, DUP: total=3D1.75GB, used=3D385.41MB
> >> Metadata: total=3D8.00MB, used=3D0.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 ? =C2=A0If it's o=
nly 1 then
> > add another one (btrfs device add <dev> <path to FS>) and run balan=
ce
> > (btrfs fi balance <path to FS>). =C2=A0That should give you raid0 f=
or data
> > across two drives w/o applying any patches.
> >
> > Thanks,
> >
> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ilya
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-bt=
rfs" in
> >> the body of a message to majordomo@vger.kernel.org
> >> More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info=
=2Ehtml
> >
>=20
> 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 volum=
e
> or overwritten in the newly added one?

A device can only be part of another btrfs FS, not sure what you mean b=
y
volume.  If you add a device which is part of another btrfs FS you'll
break that FS and the data on that device will be overwritten.

Thanks,

		Ilya
--
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

      parent reply	other threads:[~2011-10-30 14:42 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
2011-10-30 14:42                 ` Ilya Dryomov [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=20111030144257.GA31831@zambezi.lan \
    --to=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