Re: Ceph RBD map debug: error -22 on auth protocol 2 init

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

 



So I can successfully map within the container, but when I try to `mkfs.ext4 -m0 /dev/rbd0` I get:

Oct 09 19:31:03 deis-2 sh[1569]: mke2fs 1.42.9 (4-Feb-2014)
Oct 09 19:31:03 deis-2 sh[1569]: mkfs.ext4: Operation not permitted while trying to determine filesystem size

Once the device is mapped within the container, though, I can successfully format the volume on the host.

Chris Armstrong
Head of Services
OpDemand / Deis.io

GitHub: https://github.com/deis/deis -- Docs: http://docs.deis.io/


On Thu, Oct 9, 2014 at 11:54 AM, Christopher Armstrong <chris@xxxxxxxxxxxx> wrote:
Adding `-v /dev:/dev` works as expected - after mapping, the device shows up as /dev/rbd0. Agreed, though - I thought --privileged should do this.

Chris Armstrong
Head of Services
OpDemand / Deis.io

GitHub: https://github.com/deis/deis -- Docs: http://docs.deis.io/


On Thu, Oct 9, 2014 at 11:36 AM, Ilya Dryomov <ilya.dryomov@xxxxxxxxxxx> wrote:
On Thu, Oct 9, 2014 at 9:23 PM, Christopher Armstrong
<chris@xxxxxxxxxxxx> wrote:
> Good point. I'll have to play around with it - was just excited to get past
> the blocking map issue.

This could be a docker bug - my understanding is that all devices have
to show up if running with --privileged, which I do on my test box.
I'll poke around some more as well.

Thanks,

                Ilya


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux