CEPH filesystem development
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@widodh.nl>
To: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: how to create snapshots
Date: Wed, 21 Nov 2012 22:29:10 +0800	[thread overview]
Message-ID: <50ACE536.8040809@widodh.nl> (raw)
In-Reply-To: <50ACE037.5010806@profihost.ag>

Hi,

On 11/21/2012 10:07 PM, Stefan Priebe - Profihost AG wrote:
> Hello list,
>
> i tried to create a snapshot of my disk vm-113-disk-1:
>
> [: ~]# rbd -p kvmpool1 ls
> vm-113-disk-1
>
> [: ~]# rbd -p kvmpool1 snap create BACKUP vm-113-disk-1
> rbd: extraneous parameter vm-113-disk-1
>
> [: ~]# rbd -p kvmpool1 snap create vm-113-disk-1 BACKUP
> rbd: extraneous parameter BACKUP
>
> What's wrong here?

Use:

$ rbd -p kvmpool1 snap create --image vm-113-disk-1 BACKUP

"rbd -h" also tells:

<image-name>, <snap-name> are [pool/]name[@snap], or you may specify
individual pieces of names with -p/--pool, --image, and/or --snap.

Never tried it, but you might be able to use:

$ rbd -p kvmpool1 snap create vm-113-disk-1@BACKUP

I don't have access to a running Ceph cluster now to verify this.

Wido

>
> Stefan
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-11-21 14:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-21 14:07 how to create snapshots Stefan Priebe - Profihost AG
2012-11-21 14:29 ` Wido den Hollander [this message]
2012-11-22 10:42   ` Stefan Priebe - Profihost AG

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=50ACE536.8040809@widodh.nl \
    --to=wido@widodh.nl \
    --cc=ceph-devel@vger.kernel.org \
    --cc=s.priebe@profihost.ag \
    /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