linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cloning single-device btrfs file system onto multi-device one
@ 2011-03-21 16:24 Stephane Chazelas
  2011-03-22  9:22 ` Stephane Chazelas
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Stephane Chazelas @ 2011-03-21 16:24 UTC (permalink / raw)
  To: linux-btrfs

Hiya,

I'm trying to move a btrfs FS that's on a hardware raid 5 (6TB
large, 4 of which are in use) to another machine with 3 3TB HDs
and preserve all the subvolumes/snapshots.

Is there a way to do that without using a software/hardware raid
on the new machine (that is just use btrfs multi-device).

If fewer than 3TB were occupied, I suppose I could just resize
it so that it fits on one 3TB hd, then copy device to device
onto a 3TB disk, add the 2 other ones and do a "balance", but
here, I can't do that.

I suspect that if compression was enabled, the FS could fit on
3 TB, but AFAICT, compression is enabled at mount time and would
only apply to newly created files. Is there a way to compress
files already in a btrfs filesystem?

Any help would be appreciated.
Stephane


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-04-17 15:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21 16:24 cloning single-device btrfs file system onto multi-device one Stephane Chazelas
2011-03-22  9:22 ` Stephane Chazelas
2011-03-23  0:06   ` cwillu
2011-03-28 13:17     ` Stephane Chazelas
2011-04-06  5:45       ` Evert Vorster
2011-04-06  6:30         ` Helmut Hullen
2011-04-06  6:57       ` Helmut Hullen
2011-04-06  8:25       ` Arne Jansen
2011-04-06 12:05         ` Stephane Chazelas
2011-04-06 13:43           ` Arne Jansen
2011-04-06 11:57       ` Stephane Chazelas
2011-03-23  5:13 ` Fajar A. Nugraha
2011-03-28 13:24   ` Stephane Chazelas
2011-03-30 11:58     ` Stephane Chazelas
2011-04-17 15:12 ` Hubert Kario

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).