* add, remove; how about merge?
@ 2012-12-21 18:16 Gene Czarcinski
2012-12-21 18:18 ` Remco Hosman - Yerf IT
2012-12-21 18:36 ` Hugo Mills
0 siblings, 2 replies; 3+ messages in thread
From: Gene Czarcinski @ 2012-12-21 18:16 UTC (permalink / raw)
To: linux-btrfs
I am new at this btrfs stuff!
As I understand it, you can add a physical disk or partition and have
data spread into the new space. You can also move data off a disk or
partition and then remove it.
Has any though been given to being able merge to existing (separate)
btrfs "volumes" into a single volume?
Alternatively, how about at tool for transfering a subvolume from one
pool to another? I tried using fsarchiver but that did not work out too
well.
Gene
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: add, remove; how about merge?
2012-12-21 18:16 add, remove; how about merge? Gene Czarcinski
@ 2012-12-21 18:18 ` Remco Hosman - Yerf IT
2012-12-21 18:36 ` Hugo Mills
1 sibling, 0 replies; 3+ messages in thread
From: Remco Hosman - Yerf IT @ 2012-12-21 18:18 UTC (permalink / raw)
To: Gene Czarcinski; +Cc: linux-btrfs
I think thats possible with btrfs-send/receive
Remco
On Dec 21, 2012, at 7:16 PM, Gene Czarcinski <gene@czarc.net> wrote:
> I am new at this btrfs stuff!
>
> As I understand it, you can add a physical disk or partition and have data spread into the new space. You can also move data off a disk or partition and then remove it.
>
> Has any though been given to being able merge to existing (separate) btrfs "volumes" into a single volume?
>
> Alternatively, how about at tool for transfering a subvolume from one pool to another? I tried using fsarchiver but that did not work out too well.
>
> Gene
> --
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: add, remove; how about merge?
2012-12-21 18:16 add, remove; how about merge? Gene Czarcinski
2012-12-21 18:18 ` Remco Hosman - Yerf IT
@ 2012-12-21 18:36 ` Hugo Mills
1 sibling, 0 replies; 3+ messages in thread
From: Hugo Mills @ 2012-12-21 18:36 UTC (permalink / raw)
To: Gene Czarcinski; +Cc: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]
On Fri, Dec 21, 2012 at 01:16:59PM -0500, Gene Czarcinski wrote:
> I am new at this btrfs stuff!
>
> As I understand it, you can add a physical disk or partition and
> have data spread into the new space. You can also move data off a
> disk or partition and then remove it.
>
> Has any though been given to being able merge to existing
> (separate) btrfs "volumes" into a single volume?
This would be difficult to do in kernel space -- you'd have to
change the UUIDs on all the metadata on at least one of the
filesystems, plus handle (correctly) all of the numberspace clashes
correctly -- subvolume trees, virtual address space, and probably a
load that I've forgotten as well. Given what I'm about to say, I can't
see this happening any time soon.
> Alternatively, how about at tool for transfering a subvolume from
> one pool to another? I tried using fsarchiver but that did not work
> out too well.
You want send/receive. It's in the mainline kernel, and you'll need
a recent userspace, but it allows you to transfer subvolumes cleanly
and losslessly between filesystems.
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
--- "You are not stuck in traffic: you are traffic." ---
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-21 18:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-21 18:16 add, remove; how about merge? Gene Czarcinski
2012-12-21 18:18 ` Remco Hosman - Yerf IT
2012-12-21 18:36 ` Hugo Mills
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox