Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Can I convert an existing directory into a subvolume?
@ 2014-04-15 13:10 Bob Williams
  2014-04-15 14:16 ` Hugo Mills
  2014-04-15 14:46 ` Chris Murphy
  0 siblings, 2 replies; 4+ messages in thread
From: Bob Williams @ 2014-04-15 13:10 UTC (permalink / raw)
  To: linux-btrfs

Hi,

I'm new to btrfs, just dipping my toes in the water...

I've got two partitions, / on /dev/sda2 and /home on /dev/sda3, both
formatted as btrfs in a new openSUSE 13.1 installation. I copied the
whole of /home (4 users) into the btrfs formatted /home partition from
an ext4 backup.

I would like to create snapshots of /home/user/Documents for example,
but I understand these have to be subvolumes first. Googling tells me I
can't convert a conventional subdirectory into a subvolume, so I'm
guessing I'll have to create a new /home/user/Documents subvolume and
then copy all the contents from the subdirectory. Correct? Then delete
the subdirectory?

Can the subvolume have the same name as the subdirectory it is
replacing, or should it be called something like 'tempDocs', and then
renamed back to 'Documents' after the original has gone?

Bob


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

end of thread, other threads:[~2014-04-15 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15 13:10 Can I convert an existing directory into a subvolume? Bob Williams
2014-04-15 14:16 ` Hugo Mills
2014-04-15 14:23   ` Bob Williams
2014-04-15 14:46 ` Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox