Re: rbd snapshot copy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 19, 2011 at 01:46, Christian Brunner <chb@xxxxxx> wrote:
> I tried using rbd snapshots for the first time today. Creating a
> snapshot works, but I'm not able to copy the snapshot to a new volume
> (I'm still using 0.32).
>
> Here is what I get:
>
> # rbd snap create --snap=mysnapshot myimage
> # rbd cp --snap=mysnapshot myimage mysnapcopy
> *** Caught signal (Segmentation fault) **
>  in thread 0x7fd91280a720
>  ceph version 0.32 (commit:c08d08baa6a945d989427563e46c992f757ad5eb)
>  1: rbd() [0x449034]
>  2: (()+0xf520) [0x7fd911e00520]
>  3: (librbd::snap_set(librbd::ImageCtx*, char const*)+0x10) [0x7fd9123eb6a0]
>  4: (main()+0x49f) [0x443bcf]
>  5: (__libc_start_main()+0xfd) [0x7fd9109f4c9d]
>  6: rbd() [0x440f29]
> Segmentation fault
>
>
> Is this a bug or am I using the wrong syntax?

I'm not 100% sure whether that syntax is meant to work, but it most
definitely should not crash.

The crash is completely reproducible. On my vstart dev environment:

$ ./rbd create test --size=10
$ ./rbd ls
test
$ ./rbd snap create --snap=stest test
$ ./rbd cp --snap=stest test stest2
*** Caught signal (Segmentation fault) **
 in thread 0x7f03b296d720
 ceph version 0.32-238-g75e6731
(commit:75e673180ad48398b6995a4c27d973bf27ee376f)
 1: /home/tv/src/ceph.git/src/.libs/lt-rbd() [0x446d24]
 2: (()+0xfb40) [0x7f03b1f69b40]
 3: (librbd::snap_set(librbd::ImageCtx*, char const*)+0x10) [0x7f03b25682f0]
 4: (main()+0x47f) [0x44197f]
 5: (__libc_start_main()+0xfe) [0x7f03b098fd8e]
 6: /home/tv/src/ceph.git/src/.libs/lt-rbd() [0x43ed49]

Segmentation fault (core dumped)


I opened a ticket for this: http://tracker.newdream.net/issues/1416
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux