public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Neu <proclivity76@yahoo.com>
To: linux-btrfs@vger.kernel.org
Subject: removing a snapshot that is outside the subvolume directory fails, sorta
Date: Wed, 20 Jan 2010 17:11:15 -0800 (PST)	[thread overview]
Message-ID: <593044.1345.qm@web51908.mail.re2.yahoo.com> (raw)

Well, it fails the way that I'm trying to do it.
kernel:            2.6.31.9-174.fc12.x86_64
btrfs-progs:     btrfs-progs-0.19-9.fc12.x86_64

On a new filesystem:

$ cd /mnt/btrfs1
$ btrfsctl -S subvol1 .
operation complete
Btrfs Btrfs v0.19
$ btrfsctl -s snapofsubvol1 subvol1
operation complete
Btrfs Btrfs v0.19
$ btrfsctl -D snapofsubvol1 subvol1
ioctl:: No such file or directory



$ btrfsctl -S subvol2 .
operation complete
Btrfs Btrfs v0.19
--------> # cd subvol2    <------------
$ btrfsctl -s snapofsubvol2 subvol2
operation complete
Btrfs Btrfs v0.19
$ btrfsctl -D snapofsubvol2 subvol2
operation complete
Btrfs Btrfs v0.19


AHA, I figured it out!

$ btrfsctl -D snapofsubvol1 subvol1/..

I don't know if that's the intended syntax or if it's accidental, but I'll go ahead and send this as an FYI if anyone has the same issue.  Maybe it's obvious to some, but it wasn't to me.

             reply	other threads:[~2010-01-21  1:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21  1:11 Brian Neu [this message]
2010-01-21 18:43 ` removing a snapshot that is outside the subvolume directory fails, sorta Goffredo Baroncelli

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=593044.1345.qm@web51908.mail.re2.yahoo.com \
    --to=proclivity76@yahoo.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