All of lore.kernel.org
 help / color / mirror / Atom feed
* A question about subvolumes
@ 2014-07-04 14:38 Bob Williams
  2014-07-04 20:38 ` Goffredo Baroncelli
  0 siblings, 1 reply; 7+ messages in thread
From: Bob Williams @ 2014-07-04 14:38 UTC (permalink / raw)
  To: linux-btrfs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a disc formatted as btrfs, on which is mounted /home.

/home/bob is a regular directory.

/home/bob/Documents is a btrfs subvolume

/home is btrfs root

If I do

# mv /home/bob /home/bob_original
# btrfs subvolume create /home/bob
# mv /home/bob_original/* /home/bob/
# rm /home/bob_original

will the original subvolume /home/bob/Documents survive this
operation, and will it now exist as a subvolume under the new
subvolume /home/bob?

I realise it's best to create subvolumes progressively from the top of
the filesystem tree, but this system originated as an ext4fs which was
migrated to btrfs, and some sensible things got missed in all the
excitement. ;-)

Bob
- -- 
Bob Williams
System:  Linux 3.11.10-17-desktop
Distro:  openSUSE 13.1 (x86_64) with KDE Development Platform: 4.13.2
Uptime:  06:00am up 5 days 20:14, 3 users, load average: 0.00, 0.04, 0.08
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlO2vGQACgkQ0Sr7eZJrmU6CPACgoLTFUxx68+z/H30C5wd/MPe4
6rcAoKpqxoETgkbgMd+MAbHEL7BWpLBs
=Cbmm
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2014-07-05 23:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-04 14:38 A question about subvolumes Bob Williams
2014-07-04 20:38 ` Goffredo Baroncelli
2014-07-04 21:06   ` Bob Williams
2014-07-05  6:27     ` Goffredo Baroncelli
2014-07-05 11:43       ` Bob Williams
2014-07-05 16:06         ` Austin S Hemmelgarn
2014-07-05 23:49           ` Chris Samuel

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.