All of lore.kernel.org
 help / color / mirror / Atom feed
* Can moving data to a subvolume not take as long as a fully copy?
@ 2013-01-14 17:32 Marc MERLIN
  2013-01-14 17:41 ` Hugo Mills
  2013-01-15  6:48 ` David Brown
  0 siblings, 2 replies; 7+ messages in thread
From: Marc MERLIN @ 2013-01-14 17:32 UTC (permalink / raw)
  To: linux-btrfs

I made a mistake and copied data in the root of a new btrfs filesystem.
I created a subvolume, and used mv to put everything in there.
Something like:
cd /mnt
btrfs subvolume create dir
mv * dir

Except it's been running for over a day now (ok, it's 5TB of data)

Looks like mv is really copying all the data as if it were an entirely
different filesystem.

Is there not a way to short circuit this and only update the metadata?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

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

end of thread, other threads:[~2013-01-15 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 17:32 Can moving data to a subvolume not take as long as a fully copy? Marc MERLIN
2013-01-14 17:41 ` Hugo Mills
2013-01-14 18:00   ` Marc MERLIN
2013-01-14 18:13     ` Hugo Mills
2013-01-15  6:48 ` David Brown
2013-01-15 14:49   ` Marc MERLIN
2013-01-15 17:45     ` Mitch Harder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.