Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: K Richard Pixley <rpixley@graphitesystems.com>
To: linux-btrfs@vger.kernel.org
Subject: syntax for deleting subvolumes?
Date: Wed, 18 Mar 2015 13:42:55 -0700	[thread overview]
Message-ID: <5509E34F.6010504@graphitesystems.com> (raw)

I'm having trouble deleting a subvolume.

[root@new-alfred ~]# uname -a
Linux new-alfred.corp.graphitesystems.com 3.10.0-123.el7.x86_64 #1 SMP 
Mon May 5 11:16:57 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@new-alfred ~]#   btrfs --version
Btrfs v3.16.2
[root@new-alfred ~]#   btrfs fi show
Label: 'rhel_bark'  uuid: d3c6c783-c190-4675-99f2-b83f3c462656
         Total devices 2 FS bytes used 14.25GiB
         devid    1 size 461.38GiB used 7.03GiB path /dev/sda2
         devid    2 size 465.76GiB used 12.01GiB path /dev/sdb1

Btrfs v3.16.2
[root@new-alfred ~]#   btrfs fi df /
Data, single: total=15.01GiB, used=13.19GiB
System, RAID1: total=8.00MiB, used=16.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, RAID1: total=2.00GiB, used=1.07GiB
Metadata, single: total=8.00MiB, used=0.00
[root@new-alfred ~]# btrfs subvolume list /
ID 257 gen 1483 top level 5 path root
ID 258 gen 1466 top level 5 path home
[root@new-alfred ~]# btrfs subvolume delete home
Transaction commit: none (default)
ERROR: error accessing 'home'
[root@new-alfred ~]# btrfs subvolume delete /home
Transaction commit: none (default)
ERROR: error accessing '/home'

What format do I need to use to delete the "home" subvolume?

--rich

             reply	other threads:[~2015-03-18 20:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 20:42 K Richard Pixley [this message]
2015-03-18 21:06 ` syntax for deleting subvolumes? Chris Murphy
2015-03-18 21:39   ` K Richard Pixley
2015-03-18 21:55     ` Hugo Mills
2015-03-18 23:01       ` K Richard Pixley
2015-03-18 23:33         ` Chris Murphy
2015-03-19  0:47           ` Jeff Mahoney
2015-03-19  2:55             ` Chris Murphy
2015-03-18 22:15     ` Chris Murphy
2015-03-18 23:22       ` K Richard Pixley
2015-03-18 23:50         ` Chris Murphy
2015-03-19  7:18         ` Erkki Seppala
2015-03-21  3:20           ` Russell Coker
2015-03-19 19:09         ` Chris Murphy
2015-03-20  4:18           ` Duncan
2015-03-21  3:17             ` Russell Coker
2015-03-18 21:09 ` Hugo Mills

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=5509E34F.6010504@graphitesystems.com \
    --to=rpixley@graphitesystems.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