Re: [ceph-users] rbd: add failed: (34) Numerical result out of range

2014-06-10 Thread Chris
> > When I used CentOS osds, and tried to rbd map from arch linux or fedora,
> > I would get "rbd: add failed: (34) Numerical result out of range".  It
> > seemed to happen when the tool was writing to /sys/bus/rbd/add_single_major.
> > If I rebuild the osds using fedora (20 in this case), everything
> > works fine.
> > Is that expected?
> 
> No, it's most certainly not expected.  If you are willing to help debug this,
> let's start with the output of 'rbd info'.  Return to the failing setup, do
> 'rbd map ', make sure it fails, and, on the same box, do 'rbd info
> '.

Thank you for the reply.  I don't have access to the exact same
configuration at the moment, so I tried mimicking the setup with virtual
machines, and everything worked correctly.  Perhaps I just did something
dumb on the real boxes.

It might be next week before I get another chance to play with it,
but I will try to rebuild it just like I did before at work, and
see if I run into the same problem, or if it really was just me.

Cheers,
Chris

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


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range

2014-06-09 Thread Ilya Dryomov
On Mon, Jun 9, 2014 at 11:48 AM,   wrote:
> I was building a small test cluster and noticed a difference with trying
> to rbd map depending on whether the cluster was built using fedora or
> CentOS.
>
> When I used CentOS osds, and tried to rbd map from arch linux or fedora,
> I would get "rbd: add failed: (34) Numerical result out of range".  It
> seemed to happen when the tool was writing to /sys/bus/rbd/add_single_major.
>
> If I rebuild the osds using fedora (20 in this case), everything
> works fine.
>
> In each scenario, I used ceph-0.80.1 on all the boxes.
>
> Is that expected?

No, it's most certainly not expected.  If you are willing to help debug this,
let's start with the output of 'rbd info'.  Return to the failing setup, do
'rbd map ', make sure it fails, and, on the same box, do 'rbd info
'.

Thanks,

Ilya
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] rbd: add failed: (34) Numerical result out of range

2014-06-09 Thread lists+ceph

I was building a small test cluster and noticed a difference with trying
to rbd map depending on whether the cluster was built using fedora or
CentOS.

When I used CentOS osds, and tried to rbd map from arch linux or fedora,
I would get "rbd: add failed: (34) Numerical result out of range".  It
seemed to happen when the tool was writing to /sys/bus/rbd/add_single_major.

If I rebuild the osds using fedora (20 in this case), everything
works fine.

In each scenario, I used ceph-0.80.1 on all the boxes.

Is that expected?
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Srinivasa Rao Ragolu
Yes llya. From that command output only, I assumed this must be
rados_classes issue. After that copied in exact location and restarted all
the nodes.

Thanks,
Srinivas.



On Wed, Apr 16, 2014 at 5:50 PM, Ilya Dryomov wrote:

> On Wed, Apr 16, 2014 at 4:00 PM, Srinivasa Rao Ragolu
>  wrote:
> > Hi All,
> >
> > Thanks a lot to one and all.. Thank you so much for your support. I found
> > the issue with your clues.
> >
> > Issue is : root filesystem does not have /usr/lib64/rados_classes
> >
> > After adding rados_classes and restarting all the nodes, I could able map
> > the block devices.
>
> Great, I was just going to have you restart the osds.  Do you know why
> there wasn't a rados_classes on one (?) of the osds?  (I assume the
> 'find' result that you pasted came from the monitor and it is one or
> more osds that lacked rados_clases?)
>
> Thanks,
>
> Ilya
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Ilya Dryomov
On Wed, Apr 16, 2014 at 4:00 PM, Srinivasa Rao Ragolu
 wrote:
> Hi All,
>
> Thanks a lot to one and all.. Thank you so much for your support. I found
> the issue with your clues.
>
> Issue is : root filesystem does not have /usr/lib64/rados_classes
>
> After adding rados_classes and restarting all the nodes, I could able map
> the block devices.

Great, I was just going to have you restart the osds.  Do you know why
there wasn't a rados_classes on one (?) of the osds?  (I assume the
'find' result that you pasted came from the monitor and it is one or
more osds that lacked rados_clases?)

Thanks,

Ilya
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Srinivasa Rao Ragolu
Hi All,

Thanks a lot to one and all.. Thank you so much for your support. I found
the issue with your clues.

*Issue is : root filesystem does not have /usr/lib64/rados_classes*

After adding rados_classes and restarting all the nodes, I could able map
the block devices.

Thanks,
Srinivas.


On Wed, Apr 16, 2014 at 5:12 PM, Srinivasa Rao Ragolu wrote:

> root@node1:/etc/ceph# ceph daemon osd.0 config get osd_class_dir
> { "osd_class_dir": "\/usr\/lib64\/rados-classes"}
>
> Thanks,
> Srinivas.
>
>
> On Wed, Apr 16, 2014 at 4:37 PM, Ilya Dryomov wrote:
>
>> On Wed, Apr 16, 2014 at 2:45 PM, Srinivasa Rao Ragolu
>>  wrote:
>> > root@mon:/etc/ceph# find / -name "libcls_rbd.so"
>> > /usr/lib64/rados-classes/libcls_rbd.so
>> > root@mon:/etc/ceph# echo $osd_class_dir
>> >
>> > root@mon:/etc/ceph#
>> >
>> > Please let me know how to find osd_class_dir value
>>
>> ceph daemon osd.0 config get osd_class_dir
>>
>> Thanks,
>>
>> Ilya
>>
>
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Srinivasa Rao Ragolu
root@node1:/etc/ceph# ceph daemon osd.0 config get osd_class_dir
{ "osd_class_dir": "\/usr\/lib64\/rados-classes"}

Thanks,
Srinivas.


On Wed, Apr 16, 2014 at 4:37 PM, Ilya Dryomov wrote:

> On Wed, Apr 16, 2014 at 2:45 PM, Srinivasa Rao Ragolu
>  wrote:
> > root@mon:/etc/ceph# find / -name "libcls_rbd.so"
> > /usr/lib64/rados-classes/libcls_rbd.so
> > root@mon:/etc/ceph# echo $osd_class_dir
> >
> > root@mon:/etc/ceph#
> >
> > Please let me know how to find osd_class_dir value
>
> ceph daemon osd.0 config get osd_class_dir
>
> Thanks,
>
> Ilya
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Ilya Dryomov
On Wed, Apr 16, 2014 at 2:45 PM, Srinivasa Rao Ragolu
 wrote:
> root@mon:/etc/ceph# find / -name "libcls_rbd.so"
> /usr/lib64/rados-classes/libcls_rbd.so
> root@mon:/etc/ceph# echo $osd_class_dir
>
> root@mon:/etc/ceph#
>
> Please let me know how to find osd_class_dir value

ceph daemon osd.0 config get osd_class_dir

Thanks,

Ilya
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Srinivasa Rao Ragolu
root@mon:/etc/ceph# find / -name "libcls_rbd.so"
/usr/lib64/rados-classes/libcls_rbd.so
root@mon:/etc/ceph# echo $osd_class_dir

root@mon:/etc/ceph#

Please let me know how to find osd_class_dir value

Thanks,
Srinivas.


On Wed, Apr 16, 2014 at 4:00 PM, Ilya Dryomov wrote:

> On Wed, Apr 16, 2014 at 2:13 PM, Srinivasa Rao Ragolu
>  wrote:
> > Thanks. Please see the output of above command
> >
> > root@mon:/etc/ceph# rbd ls -l
> > rbd: error opening blk2: (95) Operation not supported2014-04-16
> > 10:12:13.947625 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
> > Operation not supported
> >
> > rbd: error opening blk3: (95) Operation not supported2014-04-16
> > 10:12:13.961595 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
> > Operation not supported
> >
> > rbd: error opening ceph-block1: (95) Operation not supported2014-04-16
> > 10:12:13.974869 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
> > Operation not supported
> >
> > rbd: error opening sample: (95) Operation not supported
> > NAME SIZE PARENT FMT PROT LOCK
> > 2014-04-16 10:12:13.986056 7f3a2a0c7780 -1 librbd: Error listing
> snapshots:
> > (95) Operation not supported
>
> OK, so the kernel is not to blame here.  This is probably a class path
> issue.
>
> - Can you try to locate a libcls_rbd.so library on your
> system?
>
> - What's the value of osd_class_dir conf variable?
>
> Thanks,
>
> Ilya
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Ilya Dryomov
On Wed, Apr 16, 2014 at 2:13 PM, Srinivasa Rao Ragolu
 wrote:
> Thanks. Please see the output of above command
>
> root@mon:/etc/ceph# rbd ls -l
> rbd: error opening blk2: (95) Operation not supported2014-04-16
> 10:12:13.947625 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
> Operation not supported
>
> rbd: error opening blk3: (95) Operation not supported2014-04-16
> 10:12:13.961595 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
> Operation not supported
>
> rbd: error opening ceph-block1: (95) Operation not supported2014-04-16
> 10:12:13.974869 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
> Operation not supported
>
> rbd: error opening sample: (95) Operation not supported
> NAME SIZE PARENT FMT PROT LOCK
> 2014-04-16 10:12:13.986056 7f3a2a0c7780 -1 librbd: Error listing snapshots:
> (95) Operation not supported

OK, so the kernel is not to blame here.  This is probably a class path
issue.

- Can you try to locate a libcls_rbd.so library on your
system?

- What's the value of osd_class_dir conf variable?

Thanks,

Ilya
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Karan Singh
You ceph.conf please 


Karan Singh 
Systems Specialist , Storage Platforms
CSC - IT Center for Science,
Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
mobile: +358 503 812758
tel. +358 9 4572001
fax +358 9 4572302
http://www.csc.fi/


On 16 Apr 2014, at 13:13, Srinivasa Rao Ragolu  wrote:

> Thanks. Please see the output of above command
> 
> root@mon:/etc/ceph# rbd ls -l 
> rbd: error opening blk2: (95) Operation not supported2014-04-16 
> 10:12:13.947625 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95) 
> Operation not supported
> 
> rbd: error opening blk3: (95) Operation not supported2014-04-16 
> 10:12:13.961595 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95) 
> Operation not supported
> 
> rbd: error opening ceph-block1: (95) Operation not supported2014-04-16 
> 10:12:13.974869 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95) 
> Operation not supported
> 
> rbd: error opening sample: (95) Operation not supported
> NAME SIZE PARENT FMT PROT LOCK 
> 2014-04-16 10:12:13.986056 7f3a2a0c7780 -1 librbd: Error listing snapshots: 
> (95) Operation not supported
> 
> 
> Thanks,
> Srinivas.
> 
> 
> On Wed, Apr 16, 2014 at 3:37 PM, Ирек Фасихов  wrote:
> Show command output rbd ls -l.
> 
> 
> 2014-04-16 13:59 GMT+04:00 Srinivasa Rao Ragolu :
> 
> Hi Wido,
> 
> Output of info command is given below
> 
> root@mon:/etc/ceph# rbd info sample
> rbd: error opening image sample: (95) Operation not supported2014-04-16 
> 09:57:24.575279 7f661c6e5780 -1 librbd: Error listing snapshots: (95) 
> Operation not supported
> 
> root@mon:/etc/ceph# ceph status
> cluster a7f64266-0894-4f1e-a635-d0aeaca0e993
>  health HEALTH_OK
>  monmap e1: 1 mons at {mon=192.168.0.102:6789/0}, election epoch 1, 
> quorum 0 mon
>  osdmap e13: 2 osds: 2 up, 2 in
>   pgmap v68: 192 pgs, 3 pools, 513 bytes data, 5 objects
> 2077 MB used, 9113 MB / 11837 MB avail
>  192 active+clean
>   client io 13 B/s rd, 0 op/s
> 
> After this monitor daemon getting killed. Need to start it again.
> 
> Thanks,
> Srinivas.
> 
> 
> On Wed, Apr 16, 2014 at 3:18 PM, Wido den Hollander  wrote:
> On 04/16/2014 11:41 AM, Srinivasa Rao Ragolu wrote:
> HI all,
> 
> I have created ceph cluster with 1 monitor node and 2 OSd nodes. Cluster
> health is OK and Active.
> 
> My deployment is on our private distribution of Linux kernel 3.10.33 and
> ceph version is 0.72.2
> 
> I could able to create image with command " rbd create sample --size 200".
> 
> What is the RBD format of the image?
> 
> $ rbd info sample
> 
> I don't think it's the problem, but it could be that the krbd doesn't support 
> format 2 yet.
> 
> inserted rbd.ko successfully with modprobe command " modprobe rbd"
> 
> Now when I try to map it with command:
> 
> #*rbd map sample
> *
> *[10584.497492] libceph: client4301 fsid
> 
> a7f64266-0894-4f1e-a635-d0aeaca0e993
> [10584.535926] libceph: mon0 192.168.0.102:6789
>  session established
> rbd: add failed: (34) Numerical result out of range*
> 
> 
> 
> Please help me in solving this issue.
> 
> Thanks,
> Srinivas.
> 
> 
> 
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
> 
> -- 
> Wido den Hollander
> Ceph consultant and trainer
> 42on B.V.
> 
> Phone: +31 (0)20 700 9902
> Skype: contact42on
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
> 
> 
> -- 
> С уважением, Фасихов Ирек Нургаязович
> Моб.: +79229045757
> 
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

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


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Srinivasa Rao Ragolu
Thanks. Please see the output of above command

root@mon:/etc/ceph# rbd ls -l
rbd: error opening blk2: (95) Operation not supported2014-04-16
10:12:13.947625 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
Operation not supported

rbd: error opening blk3: (95) Operation not supported2014-04-16
10:12:13.961595 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
Operation not supported

rbd: error opening ceph-block1: (95) Operation not supported2014-04-16
10:12:13.974869 7f3a2a0c7780 -1 librbd: Error listing snapshots: (95)
Operation not supported

rbd: error opening sample: (95) Operation not supported
NAME SIZE PARENT FMT PROT LOCK
2014-04-16 10:12:13.986056 7f3a2a0c7780 -1 librbd: Error listing snapshots:
(95) Operation not supported


Thanks,
Srinivas.


On Wed, Apr 16, 2014 at 3:37 PM, Ирек Фасихов  wrote:

> Show command output rbd ls -l.
>
>
> 2014-04-16 13:59 GMT+04:00 Srinivasa Rao Ragolu :
>
> Hi Wido,
>>
>> Output of info command is given below
>>
>> root@mon:/etc/ceph#
>> * rbd info sample rbd: error opening image sample: (95) Operation not
>> supported2014-04-16 09:57:24.575279 7f661c6e5780 -1 librbd: Error listing
>> snapshots: (95) Operation not supported*
>>
>> root@mon:/etc/ceph# ceph status
>> cluster a7f64266-0894-4f1e-a635-d0aeaca0e993
>>  health HEALTH_OK
>>  monmap e1: 1 mons at {mon=192.168.0.102:6789/0}, election epoch 1,
>> quorum 0 mon
>>  osdmap e13: 2 osds: 2 up, 2 in
>>   pgmap v68: 192 pgs, 3 pools, 513 bytes data, 5 objects
>> 2077 MB used, 9113 MB / 11837 MB avail
>>  192 active+clean
>>   client io 13 B/s rd, 0 op/s
>>
>> After this monitor daemon getting killed. Need to start it again.
>>
>> Thanks,
>> Srinivas.
>>
>>
>> On Wed, Apr 16, 2014 at 3:18 PM, Wido den Hollander wrote:
>>
>>> On 04/16/2014 11:41 AM, Srinivasa Rao Ragolu wrote:
>>>
 HI all,

 I have created ceph cluster with 1 monitor node and 2 OSd nodes. Cluster
 health is OK and Active.

 My deployment is on our private distribution of Linux kernel 3.10.33 and
 ceph version is 0.72.2

 I could able to create image with command " rbd create sample --size
 200".

>>>
>>> What is the RBD format of the image?
>>>
>>> $ rbd info sample
>>>
>>> I don't think it's the problem, but it could be that the krbd doesn't
>>> support format 2 yet.
>>>
>>>  inserted rbd.ko successfully with modprobe command " modprobe rbd"

 Now when I try to map it with command:

 #*rbd map sample
 *
 *[10584.497492] libceph: client4301 fsid

 a7f64266-0894-4f1e-a635-d0aeaca0e993
 [10584.535926] libceph: mon0 192.168.0.102:6789
  session established
 rbd: add failed: (34) Numerical result out of range*



 Please help me in solving this issue.

 Thanks,
 Srinivas.



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


>>>
>>> --
>>> Wido den Hollander
>>> Ceph consultant and trainer
>>> 42on B.V.
>>>
>>> Phone: +31 (0)20 700 9902
>>> Skype: contact42on
>>> ___
>>> ceph-users mailing list
>>> ceph-users@lists.ceph.com
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>>
>>
>> ___
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>
>
> --
> С уважением, Фасихов Ирек Нургаязович
> Моб.: +79229045757
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Ирек Фасихов
Show command output rbd ls -l.


2014-04-16 13:59 GMT+04:00 Srinivasa Rao Ragolu :

> Hi Wido,
>
> Output of info command is given below
>
> root@mon:/etc/ceph#
> * rbd info samplerbd: error opening image sample: (95) Operation not
> supported2014-04-16 09:57:24.575279 7f661c6e5780 -1 librbd: Error listing
> snapshots: (95) Operation not supported*
>
> root@mon:/etc/ceph# ceph status
> cluster a7f64266-0894-4f1e-a635-d0aeaca0e993
>  health HEALTH_OK
>  monmap e1: 1 mons at {mon=192.168.0.102:6789/0}, election epoch 1,
> quorum 0 mon
>  osdmap e13: 2 osds: 2 up, 2 in
>   pgmap v68: 192 pgs, 3 pools, 513 bytes data, 5 objects
> 2077 MB used, 9113 MB / 11837 MB avail
>  192 active+clean
>   client io 13 B/s rd, 0 op/s
>
> After this monitor daemon getting killed. Need to start it again.
>
> Thanks,
> Srinivas.
>
>
> On Wed, Apr 16, 2014 at 3:18 PM, Wido den Hollander  wrote:
>
>> On 04/16/2014 11:41 AM, Srinivasa Rao Ragolu wrote:
>>
>>> HI all,
>>>
>>> I have created ceph cluster with 1 monitor node and 2 OSd nodes. Cluster
>>> health is OK and Active.
>>>
>>> My deployment is on our private distribution of Linux kernel 3.10.33 and
>>> ceph version is 0.72.2
>>>
>>> I could able to create image with command " rbd create sample --size
>>> 200".
>>>
>>
>> What is the RBD format of the image?
>>
>> $ rbd info sample
>>
>> I don't think it's the problem, but it could be that the krbd doesn't
>> support format 2 yet.
>>
>>  inserted rbd.ko successfully with modprobe command " modprobe rbd"
>>>
>>> Now when I try to map it with command:
>>>
>>> #*rbd map sample
>>> *
>>> *[10584.497492] libceph: client4301 fsid
>>>
>>> a7f64266-0894-4f1e-a635-d0aeaca0e993
>>> [10584.535926] libceph: mon0 192.168.0.102:6789
>>>  session established
>>> rbd: add failed: (34) Numerical result out of range*
>>>
>>>
>>>
>>> Please help me in solving this issue.
>>>
>>> Thanks,
>>> Srinivas.
>>>
>>>
>>>
>>> ___
>>> ceph-users mailing list
>>> ceph-users@lists.ceph.com
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>>>
>>
>> --
>> Wido den Hollander
>> Ceph consultant and trainer
>> 42on B.V.
>>
>> Phone: +31 (0)20 700 9902
>> Skype: contact42on
>> ___
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>


-- 
С уважением, Фасихов Ирек Нургаязович
Моб.: +79229045757
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Srinivasa Rao Ragolu
Hi Wido,

Output of info command is given below

root@mon:/etc/ceph#
* rbd info samplerbd: error opening image sample: (95) Operation not
supported2014-04-16 09:57:24.575279 7f661c6e5780 -1 librbd: Error listing
snapshots: (95) Operation not supported*

root@mon:/etc/ceph# ceph status
cluster a7f64266-0894-4f1e-a635-d0aeaca0e993
 health HEALTH_OK
 monmap e1: 1 mons at {mon=192.168.0.102:6789/0}, election epoch 1,
quorum 0 mon
 osdmap e13: 2 osds: 2 up, 2 in
  pgmap v68: 192 pgs, 3 pools, 513 bytes data, 5 objects
2077 MB used, 9113 MB / 11837 MB avail
 192 active+clean
  client io 13 B/s rd, 0 op/s

After this monitor daemon getting killed. Need to start it again.

Thanks,
Srinivas.


On Wed, Apr 16, 2014 at 3:18 PM, Wido den Hollander  wrote:

> On 04/16/2014 11:41 AM, Srinivasa Rao Ragolu wrote:
>
>> HI all,
>>
>> I have created ceph cluster with 1 monitor node and 2 OSd nodes. Cluster
>> health is OK and Active.
>>
>> My deployment is on our private distribution of Linux kernel 3.10.33 and
>> ceph version is 0.72.2
>>
>> I could able to create image with command " rbd create sample --size 200".
>>
>
> What is the RBD format of the image?
>
> $ rbd info sample
>
> I don't think it's the problem, but it could be that the krbd doesn't
> support format 2 yet.
>
>  inserted rbd.ko successfully with modprobe command " modprobe rbd"
>>
>> Now when I try to map it with command:
>>
>> #*rbd map sample
>> *
>> *[10584.497492] libceph: client4301 fsid
>>
>> a7f64266-0894-4f1e-a635-d0aeaca0e993
>> [10584.535926] libceph: mon0 192.168.0.102:6789
>>  session established
>> rbd: add failed: (34) Numerical result out of range*
>>
>>
>>
>> Please help me in solving this issue.
>>
>> Thanks,
>> Srinivas.
>>
>>
>>
>> ___
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>
> --
> Wido den Hollander
> Ceph consultant and trainer
> 42on B.V.
>
> Phone: +31 (0)20 700 9902
> Skype: contact42on
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Wido den Hollander

On 04/16/2014 11:41 AM, Srinivasa Rao Ragolu wrote:

HI all,

I have created ceph cluster with 1 monitor node and 2 OSd nodes. Cluster
health is OK and Active.

My deployment is on our private distribution of Linux kernel 3.10.33 and
ceph version is 0.72.2

I could able to create image with command " rbd create sample --size 200".


What is the RBD format of the image?

$ rbd info sample

I don't think it's the problem, but it could be that the krbd doesn't 
support format 2 yet.



inserted rbd.ko successfully with modprobe command " modprobe rbd"

Now when I try to map it with command:

#*rbd map sample
*
*[10584.497492] libceph: client4301 fsid
a7f64266-0894-4f1e-a635-d0aeaca0e993
[10584.535926] libceph: mon0 192.168.0.102:6789
 session established
rbd: add failed: (34) Numerical result out of range*


Please help me in solving this issue.

Thanks,
Srinivas.



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




--
Wido den Hollander
Ceph consultant and trainer
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] rbd: add failed: (34) Numerical result out of range ( Please help me)

2014-04-16 Thread Srinivasa Rao Ragolu
HI all,

I have created ceph cluster with 1 monitor node and 2 OSd nodes. Cluster
health is OK and Active.

My deployment is on our private distribution of Linux kernel 3.10.33 and
ceph version is 0.72.2

I could able to create image with command " rbd create sample --size 200".
inserted rbd.ko successfully with modprobe command " modprobe rbd"

Now when I try to map it with command:

#
*rbd map sample *


*[10584.497492] libceph: client4301 fsid
a7f64266-0894-4f1e-a635-d0aeaca0e993[10584.535926] libceph: mon0
192.168.0.102:6789  session establishedrbd: add
failed: (34) Numerical result out of range*


Please help me in solving this issue.

Thanks,
Srinivas.
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com