All of lore.kernel.org
 help / color / mirror / Atom feed
* [newb] btrfs send problem
@ 2014-01-16 15:38 Neal Becker
  2014-01-16 16:56 ` Duncan
  2014-01-16 20:05 ` Chris Murphy
  0 siblings, 2 replies; 4+ messages in thread
From: Neal Becker @ 2014-01-16 15:38 UTC (permalink / raw)
  To: linux-btrfs

I hope this is an appropriate place to ask user questions.

I'm trying out snapshot and replication.  I have

/dev/sda3 on / type btrfs (rw,relatime,ssd,space_cache)
/dev/sda3 on /home type btrfs (rw,relatime,ssd,space_cache)

create a subvolume for snapshots:

#btrfs sub create /.snapshots
Create subvolume '//.snapshots'

[root@nbecker1 nbecker]# btrfs subvolume list /
ID 256 gen 563396 top level 5 path home
ID 258 gen 563396 top level 5 path root
ID 372 gen 563396 top level 258 path .snapshots

[root@nbecker1 nbecker]# btrfs sub snapshot -r /home /.snapshots
Create a readonly snapshot of '/home' in '/.snapshots/home'

[root@nbecker1 nbecker]# btrfs subvolume list /
ID 256 gen 563398 top level 5 path home
ID 258 gen 563398 top level 5 path root
ID 372 gen 563398 top level 258 path .snapshots
ID 373 gen 563398 top level 258 path .snapshots/home

[root@nbecker1 nbecker]# btrfs send /.snapshots/home > /dev/null
At subvol /.snapshots/home
ERROR: open root/.snapshots/home failed. No such file or directory



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

end of thread, other threads:[~2014-01-16 20:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-16 15:38 [newb] btrfs send problem Neal Becker
2014-01-16 16:56 ` Duncan
2014-01-16 18:11   ` Neal Becker
2014-01-16 20:05 ` Chris Murphy

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.