Re: max rbd devices

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

 



OK, I misunderstood. It is not loaded by hand. We have permanent
mappings listed in /etc/ceph/rbdmap which then get mapped
automatically when the system boots.  So, in that case, shouldn't
single_major=Y since it essentially is just calling "rbd map" from an
init script?

On Tue, Jul 28, 2015 at 10:24 AM, Ilya Dryomov <idryomov@xxxxxxxxx> wrote:
> On Tue, Jul 28, 2015 at 5:19 PM, Wyllys Ingersoll
> <wyllys.ingersoll@xxxxxxxxxxxxxx> wrote:
>> Actually, its a 4.1rc8 kernel. And modinfo shows that the single_major
>> parameter defaults to false.
>>
>> $ sudo modinfo rbd
>> filename:       /lib/modules/4.1.0-040100rc8-generic/kernel/drivers/block/rbd.ko
>> license:        GPL
>> description:    RADOS Block Device (RBD) driver
>> author:         Jeff Garzik <jeff@xxxxxxxxxx>
>> author:         Yehuda Sadeh <yehuda@xxxxxxxxxxxxxxx>
>> author:         Sage Weil <sage@xxxxxxxxxxxx>
>> author:         Alex Elder <elder@xxxxxxxxxxx>
>> srcversion:     C0EF017464E250E25E466E8
>> depends:        libceph
>> intree:         Y
>> vermagic:       4.1.0-040100rc8-generic SMP mod_unload modversions
>> signer:         Build time autogenerated kernel key
>> sig_key:        FC:1C:37:16:92:C8:E7:E5:17:9C:06:C5:5F:C4:DF:7E:19:00:A9:0F
>> sig_hashalgo:   sha512
>> parm:           single_major:Use a single major number for all rbd
>> devices (default: false) (bool)
>
> Yes, it defaults to false.  But if rbd.ko isn't loaded by the time you
> do rbd map (which it shouldn't), rbd cli tool will load it for you with
> single_major=Y.  That's why I asked if you loaded it by hand.
>
> Thanks,
>
>                 Ilya
--
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