Re: [ceph-users] rbd on CoreOS

2015-08-04 Thread Ilya Dryomov
On Tue, Aug 4, 2015 at 3:30 PM, Anton Ivanov wrote: > Also I can confirm that doing echo > /sys/bus/rbd/remove does unmap > the device, though not rbd unmap Yeah, that much was clear from the beginning. I'll look into it. Thanks, Ilya _

[ceph-users] rbd on CoreOS

2015-08-04 Thread Anton Ivanov
Hi all, I am running Kubernetes on CoreOS and use rbd binary exctracted from ceph/ceph-docker/config image to map images to CoreOS host. Everything works just fine except when trying to unmap the volume. It doesn't unmap and gives following error: $ rbd showmapped id pool imagesnap device

Re: [ceph-users] rbd on CoreOS

2015-08-04 Thread Anton Ivanov
Also I can confirm that doing echo > /sys/bus/rbd/remove does unmap the device, though not rbd unmap -Original Message- From: Ilya Dryomov [mailto:idryo...@gmail.com] Sent: 03 August 2015 19:12 To: Ivanov, Anton Cc: ceph-us...@ceph.com Subject: Re: [ceph-users] rbd on CoreOS On

Re: [ceph-users] rbd on CoreOS

2015-08-04 Thread Anton Ivanov
Hi Ilya, Please see the info you asked for attached below. Thanks! $ cat /sys/module/rbd/parameters/single_major N # ltrace rbd unmap /dev/rbd1 __libc_start_main([ "rbd", "unmap", "/dev/rbd1" ] _ZNSt8ios_base4InitC1Ev(0x630918, 0x7ffd4a4a39c8, 0x7ffd4a4a39e8, 512) = 118 __cxa_atexit(0x7f8f69ef

Re: [ceph-users] rbd on CoreOS

2015-08-03 Thread Ilya Dryomov
On Mon, Aug 3, 2015 at 2:55 PM, Anton Ivanov wrote: > Hi all, > > > > I am running Kubernetes on CoreOS and use rbd binary exctracted from > ceph/ceph-docker/config image to map images to CoreOS host. Everything works > just fine except when trying to unmap the volume. It doesn’t unmap and gives >

[ceph-users] rbd on CoreOS

2015-08-03 Thread Anton Ivanov
Hi all, I am running Kubernetes on CoreOS and use rbd binary exctracted from ceph/ceph-docker/config image to map images to CoreOS host. Everything works just fine except when trying to unmap the volume. It doesn't unmap and gives following error: $ rbd showmapped id pool imagesnap device