Re: kernel RBD where is /dev/rbd?

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

 



I found it. I'm not sure how the block device was created, but, I had the wrong image format. I thought that image format 2 was in 3.11+, and debian 8.5 is 3.16 ... but I attached to an image-format 1 image and /dev/rbd0 magically appeared...

    Best Regards,
    Nate


On 07/23/2016 10:15 AM, Ruben Kerkhof wrote:
On Sat, Jul 23, 2016 at 3:58 PM, Nathanial Byrnes <nate@xxxxxxxxx> wrote:
Hi All,
     I'm working with a debian 8.5 new install and I'm trying to, without
installing any additional software, mount an RBD image on my cluster using
the kernel module. When I run:

/bin/echo 10.88.28.23 name=admin,secret=<SECRET> xcp-vol-pool1 proxy-img1 >
/sys/bus/rbd/add

I see the following in dmesg:

[  924.396284] libceph: client492174 fsid
f7f42ded-2fd0-46c7-abc1-6e9923032fd4
[  924.398495] libceph: mon0 10.88.28.83:6789 session established

But, I do not get any device files in /dev to mkfs or later mount.

I have another system, xenserver7, where RBD mounts are working, but the
means to get there are abstracted by xapi and RBDSR.... the kernel output is
the same, and there are /dev/rbd? files, but no udev rules I could find
mentioning rbd....
Just a guess, but those rules your looking for are probably not in
upstream udev but installed by Ceph.
If you're not willing to install Ceph, you'll need to create them yourself.

Kind regards,

Ruben
_______________________________________________
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