* how to create snapshots
@ 2012-11-21 14:07 Stefan Priebe - Profihost AG
2012-11-21 14:29 ` Wido den Hollander
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Priebe - Profihost AG @ 2012-11-21 14:07 UTC (permalink / raw)
To: ceph-devel
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?
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to create snapshots
2012-11-21 14:07 how to create snapshots Stefan Priebe - Profihost AG
@ 2012-11-21 14:29 ` Wido den Hollander
2012-11-22 10:42 ` Stefan Priebe - Profihost AG
0 siblings, 1 reply; 3+ messages in thread
From: Wido den Hollander @ 2012-11-21 14:29 UTC (permalink / raw)
To: Stefan Priebe - Profihost AG; +Cc: ceph-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to create snapshots
2012-11-21 14:29 ` Wido den Hollander
@ 2012-11-22 10:42 ` Stefan Priebe - Profihost AG
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Priebe - Profihost AG @ 2012-11-22 10:42 UTC (permalink / raw)
To: Wido den Hollander; +Cc: ceph-devel
Hi,
Am 21.11.2012 15:29, schrieb Wido den Hollander:
> 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
This does not work but:
rbd snap create kvmpool1/vm-113-disk-1@BACKUP
works fine. Thanks!
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-22 19:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21 14:07 how to create snapshots Stefan Priebe - Profihost AG
2012-11-21 14:29 ` Wido den Hollander
2012-11-22 10:42 ` Stefan Priebe - Profihost AG
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.