From: Josef Bacik <josef@redhat.com>
To: Jim <jim@webstarts.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: can't snapshot
Date: Mon, 10 Oct 2011 11:40:50 -0400 [thread overview]
Message-ID: <4E931202.4030405@redhat.com> (raw)
In-Reply-To: <4E930BC2.4080405@webstarts.com>
On 10/10/2011 11:14 AM, Jim wrote:
> Good morning Btrfs list,
> I am trying to create a subvolume of a directory tree (approximately 1.1
> million subvolumes under nfs1). The following error is thrown and
> without the wiki I don't know what argument is needed. I am running
> kernel 3.1.0-rc4.
>
> [root@btrfs ~]# btrfs sub snapshot /btrfs/nfs1/ /btrfs/snaps/
> Invalid arguments for subvolume snapshot
> [root@btrfs ~]# btrfs sub list /btrfs | head
> ID 256 top level 5 path nfs1
> ID 257 top level 5 path nfs2
> ID 258 top level 5 path nfs2/data
> ID 259 top level 5 path nfs1/data
> ID 260 top level 5 path nfs1/data/sites
> ID 261 top level 5 path nfs2/data/sites
> ID 262 top level 5 path nfs2/data/sites/0420
> ID 263 top level 5 path nfs2/data/sites/0421
> ID 264 top level 5 path nfs2/data/sites/0422
> ID 265 top level 5 path nfs2/data/sites/0423
>
I think you have to do
btrfs sub snapshot /btrfs/nfs1 /btrfs/nfs1/snaps
Thanks,
Josef
next prev parent reply other threads:[~2011-10-10 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-10 15:14 can't snapshot Jim
2011-10-10 15:40 ` Josef Bacik [this message]
2011-10-10 15:41 ` Mitch Harder
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=4E931202.4030405@redhat.com \
--to=josef@redhat.com \
--cc=jim@webstarts.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