From: hopper@omnifarious.org
To: linux-btrfs@vger.kernel.org
Subject: Rendering a btrfs filesystem unmountable with the btrfs command
Date: Tue, 15 Jan 2013 12:44:36 -0800 [thread overview]
Message-ID: <20130115204436.GC18291@omnifarious.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
mkfs.btrfs /dev/sdb
mkdir /tmp/mnt
mount /dev/sdb /tmp/mnt
cd /tmp/mnt
btrfs quota enable .
btrfs subvol create foo
btrfs qgroup create 1/0
btrfs qgroup assign 0/257 1/0
btrfs subvol snapshot foo bar
btrfs qgroup assign 0/258 1/0
cd ..
umount /dev/sdb
mount /dev/sdb /tmp/mnt
# Still mountable!
cd mnt
btrfs qgroup destroy 1/0
cd ..
umount /dev/sdb
mount /dev/sdb /tmp/mnt
# Oops, no longer mountable, even in recovery mode!
Help! BTW, I'm not a mailing list subscriber.
Thanks,
--
"They who can give up essential liberty to obtain a little temporary
safety, deserve neither liberty nor safety." -- Benjanmin Franklin
-- Eric Hopper (http://www.omnifarious.org/~hopper) --
[-- Attachment #2: Type: application/pgp-signature, Size: 665 bytes --]
next reply other threads:[~2013-01-15 20:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-15 20:44 hopper [this message]
2013-01-15 22:06 ` Rendering a btrfs filesystem unmountable with the btrfs command hopper
2013-01-16 15:42 ` Eric Hopper
2013-01-17 8:26 ` Arne Jansen
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=20130115204436.GC18291@omnifarious.org \
--to=hopper@omnifarious.org \
--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 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.