Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Neal Becker <ndbecker2@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: [newb] btrfs send problem
Date: Thu, 16 Jan 2014 10:38:52 -0500	[thread overview]
Message-ID: <lb8ue0$hic$1@ger.gmane.org> (raw)

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



             reply	other threads:[~2014-01-16 15:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-16 15:38 Neal Becker [this message]
2014-01-16 16:56 ` [newb] btrfs send problem Duncan
2014-01-16 18:11   ` Neal Becker
2014-01-16 20:05 ` Chris Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lb8ue0$hic$1@ger.gmane.org' \
    --to=ndbecker2@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox