[ceph-users] Not able to map a striped RBD image - Format 2

2017-03-01 Thread Daleep Singh Bais
Hi,

I am using Ceph Jewel, version 10.2.2 and trying to map a RBD image
which has stripe parameters to test performance, however, when I try to
mount it, i get "rbd: map failed: (22) Invalid argument" . Please
confirm if we cannot use the stripe parameters with this version as well
and need to go with base stripe parameters as in Format 1.

I have gone through earlier mails and the issue was due to striping not
being supported.

~# ceph --version
ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)

root@ceph-host:~# rbd info Stripetest2 -p test-pool
rbd image 'Stripetest2':
size 500 GB in 128112 objects
order 22 (4096 kB objects)
block_name_prefix: rbd_data.fd3ca238e1f29
format: 2
features: layering, striping
flags:
stripe unit: 1024 kB
stripe count: 16
root@ceph-host:~# rbd map Stripetest2 -p test-pool
rbd: sysfs write failed
In some cases useful info is found in syslog - try "dmesg | tail" or so.
rbd: map failed: (22) Invalid argument

Any information about this would be appreciated.

Thanks,

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


[ceph-users] Fwd: iSCSI Lun issue after MON Out Of Memory

2016-11-15 Thread Daleep Singh Bais
Dear All,

Any suggestion in this regard will be helpful.

Thanks,
Daleep Singh Bais


 Forwarded Message 
Subject:iSCSI Lun issue after MON Out Of Memory
Date:   Tue, 15 Nov 2016 11:58:07 +0530
From:   Daleep Singh Bais 
To: ceph-users 



Hello friends,

I had RBD images mapped to Windows client through iSCSI, however, the
MON got OOM due to some unknown reason. After rebooting MON, I am able
to mount one of the image/ iSCSI LUN back to client, second image when
mapped is shown as unallocated on windows client. I have data on that
image,hence cannot reformat the LUN.

Please suggest.

I am able to see objects when I do rados ls for that pool with image id.

Thanks,

Daleep Singh Bais





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


[ceph-users] iSCSI Lun issue after MON Out Of Memory

2016-11-14 Thread Daleep Singh Bais

Hello friends,

I had RBD images mapped to Windows client through iSCSI, however, the
MON got OOM due to some unknown reason. After rebooting MON, I am able
to mount one of the image/ iSCSI LUN back to client, second image when
mapped is shown as unallocated on windows client. I have data on that
image,hence cannot reformat the LUN.

Please suggest.

I am able to see objects when I do rados ls for that pool with image id.

Thanks,

Daleep Singh Bais



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


[ceph-users] iSCSI Lun issue after MON Out Of Memory

2016-11-14 Thread Daleep Singh Bais
Hello friends,

I had RBD images mapped to Windows client through iSCSI, however, the
MON got OOM due to some unknown reason. After rebooting MON, I am able
to mount one of the image/ iSCSI LUN back to client, second image when
mapped is shown as unallocated on windows client. I have data on that
image,hence cannot reformat the LUN.

Please suggest.

I am able to see objects when I do rados ls for that pool with image id.

Thanks,

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


Re: [ceph-users] creating a rbd

2016-10-06 Thread Daleep Singh Bais
Hi,

Ceph uses other ports also for other daemons like OSD and MDS. Please
refer to

http://docs.ceph.com/docs/jewel/rados/configuration/network-config-ref/

This might help you to resolve the issue.

Thanks.

Daleep Singh Bais

On 10/07/2016 10:14 AM, Jaemyoun Lee wrote:
> Dear Laizer,
>
> Oh, I got it. the rbd was created successfully after I disabled the
> firewall.
> However, when the firewall is enabled and the 6789 port is allowed,
> the authentication error is occurred.
>
> Is there any other port?
>
> On Fri, Oct 7, 2016 at 1:23 PM Lomayani S. Laizer  <mailto:lomlai...@gmail.com>> wrote:
>
> Hello Lee,
> Yes check can be firewall. Make sure port used by ceph are open
>
> --
> Lomayani
>
> On Fri, Oct 7, 2016 at 6:44 AM, Jaemyoun Lee
> mailto:jaemy...@hanyang.ac.kr>> wrote:
>
> Dear Laizer,
>
> I did deploy the configuration and the key by '$ ceph-deploy
> admin client-node' on admin-node.
> jae@client-node$ ls /etc/ceph
> ceph.client.admin.keyring  ceph.conf  rbdmap  tmpoWLFTb
>
>
>
>
> On Fri, Oct 7, 2016 at 12:33 PM Lomayani S. Laizer
> mailto:lomlai...@gmail.com>> wrote:
>
> Hello Lee,
> Make sure you have copied configuration and key for
> authentication (ceph.client.admin.keyring) to client node.
> Looks it is an authentication issue due to missing client key
>
>
> --
> Lomayani
>
> On Fri, Oct 7, 2016 at 5:25 AM, Jaemyoun Lee
> mailto:jaemy...@hanyang.ac.kr>>
> wrote:
>
> Hi, 
> I would like to create a rbd on client-node.
>
> I created a cluster on admin-node successfully.
> jae@admin-node$ ceph health
> HEALTH_OK
>
> A rbd was created on admin-node successfully.
> jae@admin-node$ rbd created foo --size 1024
>
>
> However, when I created a rbd on client-node, the
> error was occurred:
> jae@client-node$ rbd create foo --size 1024
> 2016-10-06 05:15:35.773242 7f3a52f367c0  0
> monclient(hunting): authenticate timed out after 300
> 2016-10-06 05:15:35.775497 7f3a52f367c0  0
> librados: client.admin authentication error (110)
> Connection timed out
>
> I guess the firewall is right because I can connect
> from client-node to admin-node by ssh.
>
> May you talk me what is wrong?
>
> I referred the following
> site: http://docs.ceph.com/docs/master/start/quick-rbd/
>
> Best regards,
> Jae
>
> 
> 
>
>
> 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되
> 는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타
> 사유로 공개가 금지된 정보가 포함돼 있을 수 있습니다.
>
> 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에
> 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거
> 나 제3자에게 공개, 복사, 전송, 배포해서는 안 됩니다.
>
> 본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락
> 해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해
> 주셔서 감사합니다.
>
>
> This e-mail is intended only for the named recipient.
>
> Dissemination, distribution, forwarding, or copying of
> this e-mail by anyone other than the intended
> recipient is prohibited.
>
> If you have received it in error, please notify the
> sender by e-mail and completely delete it. Thank you
> for your cooperation.
>
> 
> 
>
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> <mailto:ceph-users@lists.ceph.com>
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> 
> 
>
>
> 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으
> 로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금
> 지된 정보가 포함돼 있을 수 있습니다.
>
> 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된
> 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공
> 개, 복사, 전송, 배포해서는 안 됩니다.
>
> 본 메일이 잘못 전송되었다면, 

Re: [ceph-users] 答复: Ceph user manangerment question

2016-09-28 Thread Daleep Singh Bais
Hi Dillon,

Please check
http://docs.ceph.com/docs/firefly/rados/operations/auth-intro/#ceph-authorization-caps
 


http://docs.ceph.com/docs/jewel/rados/operations/user-management/

This might provide some information on permissions.

Thanks,
Daleep Singh Bais

On 09/28/2016 11:28 AM, 卢 迪 wrote:
>
> Hi Daleep,
>
>  
>
> Thank you for reply. 
>
> I have read the document for a moment. Let me try to clarify this. 
>
>  
>
> In my case, I only assgin “mon ‘allow r” permission to account
> appuser. But, I still can mount cephfs and see the directory created
> before(the folder name is “test”).
>
>
> And, I can create a folder under this folder too. (the folder is “test2”)
>
> However, when I created and edited an text file(“test.txt”) with aread
> onlyerror.When I quit with "q!", I still see the file with 0 bytes.
>
>  
>
> I'm wondering I must misunderstand something. I thought I shouldn't
> see this folder "test" because the user didn't have the read/write
> permission against any pool in this cluster. I shouldn't create the
> "test.txt" in this folder too because of premission.(But, I CREATED it
> with nothing)
>
>  
>
> Let's say assigning an OS user permission(for example, Linux). I have
> to give read permission if a user want to read a file; If it has to
> execute a script, I have to grant the exeucte permission. I want to
> understand when and why I should assign which permssion to an user by
> meeting a special task. Can I find this kind of document?
>
>  
>
> Thanks,
>
> Dillon
>
> 
> *发件人:* Daleep Singh Bais 
> *发送时间:* 2016年9月27日 6:55:10
> *收件人:* 卢 迪; ceph-users@lists.ceph.com
> *主题:* Re: [ceph-users] Ceph user manangerment question
>  
> Hi Dillon,
>
> Ceph uses CephX authentication, which gives permission to users on
> selected Pools  to read / write.  We give mon 'allow r'
>  to get cluster/Crush map for client.
>
> You can refer to below URL for more information on CephX and creating
> user keyrings for access to selected / specific pools.
>
> http://docs.ceph.com/docs/jewel/rados/configuration/auth-config-ref/
> Cephx Config Reference — Ceph Documentation
> <http://docs.ceph.com/docs/jewel/rados/configuration/auth-config-ref/>
> docs.ceph.com
> Deployment Scenarios¶ There are two main scenarios for deploying a
> Ceph cluster, which impact how you initially configure Cephx. Most
> first time Ceph users use ceph ...
>
>
>
>
> The below URL will give you information on various permissions which
> can be applied while creating a CephX authentication key.
>
> http://docs.ceph.com/docs/firefly/rados/operations/auth-intro/
> Ceph Authentication & Authorization — Ceph Documentation
> <http://docs.ceph.com/docs/firefly/rados/operations/auth-intro/>
> docs.ceph.com
> Ceph Authentication & Authorization¶ Ceph is a distributed storage
> system where a typical deployment involves a relatively small quorum
> of monitors, scores of ...
>
>
>
>
> Hope this will give some insight and way forward to proceed.
>
> Thanks,
>
> Daleep Singh Bais
>
> On 09/27/2016 12:02 PM, 卢 迪 wrote:
>>
>> Hello all,
>>
>>
>> I'm a newbie of Ceph. I read the document and created a ceph cluster
>> against VM. I have a question about how to apply user managerment to
>> the cluster. I'm not asking how to create or modify users or user
>> privileges. I have found this in the Ceph document.
>>
>>
>> I want to know:
>>
>>
>> 1. Is there a way to know the usage of all privileges? For example, I
>> created an user client.appuser with mon "allow r", this user can
>> accsess the Ceph; If I removed the mon "allow r", it will be time
>> out. (in this case, I mount the cluster with cephfs). If someone has
>> these information, could you please share with me?
>>
>>
>> 2. What kind of situation would you create differnet users for
>> cluster? In currently, I user admin user to access the all cluster,
>> such as start cluster, mount file system and etc. It looks like the
>> appuser( I created above) can mount file system too. Is it possible
>> to create an user liking the OS user or database user? So, one user
>> upload some data, the others can't see them or can only read them.
>>
>>
>> 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] Ceph user manangerment question

2016-09-26 Thread Daleep Singh Bais
Hi Dillon,

Ceph uses CephX authentication, which gives permission to users on
selected Pools  to read / write.  We give mon 'allow r'
 to get cluster/Crush map for client.

You can refer to below URL for more information on CephX and creating
user keyrings for access to selected / specific pools.

http://docs.ceph.com/docs/jewel/rados/configuration/auth-config-ref/

The below URL will give you information on various permissions which can
be applied while creating a CephX authentication key.

http://docs.ceph.com/docs/firefly/rados/operations/auth-intro/

Hope this will give some insight and way forward to proceed.

Thanks,

Daleep Singh Bais

On 09/27/2016 12:02 PM, 卢 迪 wrote:
>
> Hello all,
>
>
> I'm a newbie of Ceph. I read the document and created a ceph cluster
> against VM. I have a question about how to apply user managerment to
> the cluster. I'm not asking how to create or modify users or user
> privileges. I have found this in the Ceph document.
>
>
> I want to know:
>
>
> 1. Is there a way to know the usage of all privileges? For example, I
> created an user client.appuser with mon "allow r", this user can
> accsess the Ceph; If I removed the mon "allow r", it will be time out.
> (in this case, I mount the cluster with cephfs). If someone has these
> information, could you please share with me?
>
>
> 2. What kind of situation would you create differnet users for
> cluster? In currently, I user admin user to access the all cluster,
> such as start cluster, mount file system and etc. It looks like the
> appuser( I created above) can mount file system too. Is it possible to
> create an user liking the OS user or database user? So, one user
> upload some data, the others can't see them or can only read them.
>
>
> Thanks,
>
>  Dillon
>
>
>
> ___
> 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


[ceph-users] Cephfs quota implement

2016-08-03 Thread Daleep Singh Bais
Dear all,

Further to my Cephfs testing, I am trying to put quota on the mount I
have done on client end. I am getting error message when querying the same.

ceph-fuse  fuse.ceph-fuse  2.8T  5.5G  2.8T   1% /cephfs

# setfattr -n ceph.quota.max_bytes -v 1 /cephfs/test1/

# getfattr -n ceph.quota.max_bytes /cephfs/test1/
*/cephfs/test1/: ceph.quota.max_bytes: No such attribute*
 
Can you please suggest the correct way to implement the quota and
resolve the above issue?
I am using Ceph Jewel for my test.

Thanks.

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


[ceph-users] Cephfs issue - able to mount with user key, not able to write

2016-08-03 Thread Daleep Singh Bais
Dear All,

I am trying to use CephFS in my setup. I have created a test setup with
01 MON and 03 OSD's.

I have created a MDS server and able to mount it on client using FUSE.
Using admin keyring, I am able to write to cephfs and sub-dir also.

I am experiencing issue when I try to write to cephfs using another
user. I have created the reqd keys with permissions.

When I try to write, I see that metadata object count increase, but no
change in data pool.

Also this is what i see in logs

2016-08-03 08:17:20.771597 b16feff0  0 log_channel(cluster) log [INF] :
closing stale session client.165552 192.168.1.29:0/5671 after 302.321097
2016-08-03 08:19:16.049985 accfeff0  0 -- 192.168.1.201:6800/7088 >>
192.168.1.29:0/5707 pipe(0x8549ed00 sd=22 :6800 s=2 pgs=2 cs=1 l=0
c=0x857342e0).fault with nothing to send, going to standby

My cephx key is client.test1 created like :

ceph auth get-or-create client.test1 mon 'allow r' mds 'allow r, allow
rw path=/test1' osd 'allow rw pool=data' -o
/etc/ceph/ceph.client.test1.keyring

#ceph mds stat
e11: 1/1/1 up {0=mon1=up:active}

# ceph --version
ceph version 10.2.2-1-g502540f (502540faf67308fa595e03f9f446b4ba67df731d)


Any suggestion would be helpful.

Thanks.

Daleep Singh Bais

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


[ceph-users] Criteria for Ceph journal sizing

2016-06-20 Thread Daleep Singh Bais
Dear All,

Is their some criteria for deciding on Ceph journal size to be used,
whether in respect to Data partition size etc? I have noticed that if
not specified, it takes the journal size to be 5GB.

Any insight in this regard will be helpful for my understanding.

Thanks.

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


[ceph-users] Issue while building Jewel on ARM

2016-06-20 Thread Daleep Singh Bais
Dear All,

I am getting below error message while trying to build Jewel on ARM. Any
help / suggestion will be appreciated.

g++: error: unrecognized command line option '-momit-leaf-frame-pointer'
g++: error: unrecognized command line option '-momit-leaf-frame-pointer'
  CC   db/builder.o
g++: error: unrecognized command line option '-momit-leaf-frame-pointer'
Makefile:1189: recipe for target 'db/builder.o' failed
make[5]: *** [db/builder.o] Error 1
make[5]: *** Waiting for unfinished jobs
  CC   db/c.o
g++: _/*error: unrecognized command line option
'-momit-leaf-frame-pointer'*/_
Makefile:1189: recipe for target 'db/c.o' failed
make[5]: *** [db/c.o] Error 1
make[5]: Leaving directory '/ceph_build/ceph/src/rocksdb'
Makefile:32669: recipe for target 'rocksdb/librocksdb.a' failed
make[4]: *** [rocksdb/librocksdb.a] Error 2
make[4]: *** Waiting for unfinished jobs


Thanks,

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


[ceph-users] s3cmd with RGW

2016-04-12 Thread Daleep Singh Bais
Hi All,

I am trying to create a bucket using s3cmd on ceph radosgw. I am able to
get list of buckets using

#s3cmd ls
2016-04-12 07:02  s3://my-new-bucket
2016-04-11 14:46  s3://new-bucket-6f2327c1

However, while creating bucket using *s3cmd mb s3://buck *gives error
message

DEBUG: ConnMan.get(): creating new connection:
http://buck.s3.amazonaws.com:7480
ERROR: [Errno 110] Connection timed out

Can anyone show forward path to check this further?

Thanks.

Daleep Singh Bais

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


Re: [ceph-users] Modifying Crush map

2016-04-10 Thread Daleep Singh Bais
Thanks a lot Christian!!

Regards,
Daleep Singh Bais

On 04/11/2016 11:04 AM, Christian Balzer wrote:
> Hello,
>
> If you mean 3x replication in total over 2 racks/failure domains. that has
> of course come up several times in the past, for example:
> ---
> https://www.mail-archive.com/ceph-users@lists.ceph.com/msg19140.html
> http://lists.opennebula.org/pipermail/ceph-users-ceph.com/2014-September/043039.html
> ---
>
> I don't think you can do this via the CLI, the simple in "create-simple"
> is a clear hint.
>
> I you actually mean 3x replication PER RACK, so 6x replication total,
> that's just a variation of the  of the above, using a pool with 6
> replicas.
>
> Christian
>
> On Mon, 11 Apr 2016 10:06:14 +0530 Daleep Singh Bais wrote:
>
>> Hi All,
>>
>> I am trying to modify a crush map to accommodate replication to two
>> separate racks. I am able to get that done using
>>
>> #*ceph osd crush rule create-simple mytest mycr rack firstn**
>> *
>> To create the replicated pool using modified crush, I use
>>
>> #*ceph osd pool create testpool 64 replicated mytest ; ceph osd pool set
>> testpool size 2**
>> *
>> However, this makes just a single copy of data on each rack i.e using
>> single OSD. How can I attain further 3X replication in separate racks of
>> the same data.
>>
>> I want to do this using commands. (Don't want to modify crush map using
>> decompile and recompile path)
>>
>> Any guidance in this regard will be helpful.
>>
>>
>> Thanks.
>>
>> Daleep Singh Bais
>

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


[ceph-users] Modifying Crush map

2016-04-10 Thread Daleep Singh Bais
Hi All,

I am trying to modify a crush map to accommodate replication to two
separate racks. I am able to get that done using

#*ceph osd crush rule create-simple mytest mycr rack firstn**
*
To create the replicated pool using modified crush, I use

#*ceph osd pool create testpool 64 replicated mytest ; ceph osd pool set
testpool size 2**
*
However, this makes just a single copy of data on each rack i.e using
single OSD. How can I attain further 3X replication in separate racks of
the same data.

I want to do this using commands. (Don't want to modify crush map using
decompile and recompile path)

Any guidance in this regard will be helpful.


Thanks.

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


[ceph-users] Fwd: Erasure code Plugins

2016-02-24 Thread Daleep Singh Bais
hi All,

Any help in this regard will be appreciated.

Thanks..
Daleep Singh Bais


 Forwarded Message 
Subject:Erasure code Plugins
Date:   Fri, 19 Feb 2016 12:13:36 +0530
From:   Daleep Singh Bais 
To: ceph-users 



Hi All,

I am experimenting with erasure profiles and would like to understand
more about them. I created an LRC profile based on
*http://docs.ceph.com/docs/master/rados/operations/erasure-code-lrc/*

The LRC profile created by me is

*ceph osd erasure-code-profile get lrctest1*
k=2
l=2
m=2
plugin=lrc
ruleset-failure-domain=host
ruleset-locality=host
ruleset-root=default

However, when I create a pool based on this profile, I see a health
warning in ceph -w ( 128 pgs stuck inactive and 128 pgs stuck unclean).
This is the first pool in cluster.

As i understand, m is parity bit and l will create additional parity bit
for data bit k. Please correct me if I am wrong.

Below is output of ceph -w

health HEALTH_WARN
*128 pgs stuck inactive**
**128 pgs stuck unclean*
 monmap e7: 1 mons at {node1=192.168.1.111:6789/0}
election epoch 101, quorum 0 node1
 osdmap e928: *6 osds: 6 up, 6 in*
flags sortbitwise
  pgmap v54114: 128 pgs, 1 pools, 0 bytes data, 0 objects
10182 MB used, 5567 GB / 5589 GB avail
 *128 creating*


Any help or guidance in this regard is highly appreciated.

Thanks,

Daleep Singh Bais


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


[ceph-users] Erasure code Plugins

2016-02-18 Thread Daleep Singh Bais
Hi All,

I am experimenting with erasure profiles and would like to understand
more about them. I created an LRC profile based on
*http://docs.ceph.com/docs/master/rados/operations/erasure-code-lrc/*

The LRC profile created by me is

*ceph osd erasure-code-profile get lrctest1*
k=2
l=2
m=2
plugin=lrc
ruleset-failure-domain=host
ruleset-locality=host
ruleset-root=default

However, when I create a pool based on this profile, I see a health
warning in ceph -w ( 128 pgs stuck inactive and 128 pgs stuck unclean).
This is the first pool in cluster.

As i understand, m is parity bit and l will create additional parity bit
for data bit k. Please correct me if I am wrong.

Below is output of ceph -w

health HEALTH_WARN
*128 pgs stuck inactive**
**128 pgs stuck unclean*
 monmap e7: 1 mons at {node1=192.168.1.111:6789/0}
election epoch 101, quorum 0 node1
 osdmap e928: *6 osds: 6 up, 6 in*
flags sortbitwise
  pgmap v54114: 128 pgs, 1 pools, 0 bytes data, 0 objects
10182 MB used, 5567 GB / 5589 GB avail
 *128 creating*


Any help or guidance in this regard is highly appreciated.

Thanks,

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


Re: [ceph-users] Infernalis for Debian 8 armhf

2015-12-08 Thread Daleep Singh Bais
Hi,

I tried following the steps as you had mentioned and I am stuck while
building the package using dpkg-buildpackage -j4 with below mentioned
error message :

*Submodule path 'src/rocksdb': checked out
'dcdb0dd29232ece43f093c99220b0eea7ead51ff'**
**Unable to checkout 'b0d1137d31e4b36b72ccae9c0a9a13de2ec82faa' in
submodule path 'ceph-erasure-code-corpus'**
**Unable to checkout '67383cc060dd9f90d398eed5a00e31eb70845dd8' in
submodule path 'ceph-object-corpus'*

I have attached the log file also for your reference.

Please suggest.
Thanks.

Daleep Singh Bais

On 12/03/2015 01:36 AM, ceph new wrote:
> for now the prosses for me was :
> git clone https://github.com/ceph/ceph.git
> git checkout infernalis
> cd ceph
> apt-get install debhelper autoconf automake autotools-dev libbz2-dev
> cmake default-jdk gdisk javahelper junit4 libaio-dev libatomic-ops-dev
> libbabeltrace-ctf-dev libbabeltrace-dev libblkid-dev libboost-dev
> libboost-program-options-dev libboost-system-dev libboost-thread-dev
> libboost-regex-dev libboost-random-dev libcurl4-gnutls-dev libedit-dev
> libfcgi-dev libfuse-dev libkeyutils-dev libleveldb-dev libnss3-dev
> libsnappy-dev liblttng-ust-dev libtool libudev-dev libxml2-dev
> python-nose python-sphinx python-virtualenv uuid-runtime xfslibs-dev
> xfsprogs xmlstarlet libtcmalloc-minimal4 libgoogle-perftools-dev
> libgoogle-perftools4
> ./install-deps.sh
> dpkg-buildpackage -j3
>
> i get kill-OOM so i will add swap space and run it
>
> On Wed, Dec 2, 2015 at 12:30 PM, Swapnil Jain  <mailto:swap...@linux.com>> wrote:
>
> If you can point me to some documention, I can do that. 
>
> —
> *Swapnil Jain*
>
>> On 02-Dec-2015, at 7:31 pm, Alfredo Deza  wrote:
>>
>> On Tue, Dec 1, 2015 at 11:58 PM, Swapnil Jain > <mailto:swap...@linux.com>> wrote:
>>>
>>> Hi,
>>>
>>> Any plans to release Infernalis Debian 8 binary packages for
>>> armhf. As I only see it for amd64.
>>
>> This would be pretty simple to do but we don't have any ARM boxes
>> around and nothing is immediately available for us
>> to setup any.
>>
>>>
>>>
>>>
>>> —
>>>
>>> Swapnil Jain
>>>
>>> ___
>>> ceph-users mailing list
>>> ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com <mailto: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

 dpkg-source -b ceph
dpkg-source: info: using source format `1.0'
dpkg-source: warning: source directory 'ceph' is not 
- 'ceph-9.2.0'
dpkg-source: info: building ceph in ceph_9.2.0-1.tar.gz
dpkg-source: info: building ceph in ceph_9.2.0-1.dsc
 debian/rules build
dh_testdir
./autogen.sh
+ set -e
+ test -f src/ceph.in
+ which libtoolize
+ [ /usr/bin/libtoolize ]
+ LIBTOOLIZE=libtoolize
+ test -d .git
+ + gitgrep submodule --quiet usage
 update.*--force
+ echo --force
+ force=--force
+ git submodule sync
Synchronizing submodule url for 'ceph-erasure-code-corpus'
Synchronizing submodule url for 'ceph-object-corpus'
Synchronizing submodule url for 'src/civetweb'
Synchronizing submodule url for 'src/erasure-code/jerasure/gf-complete'
Synchronizing submodule url for 'src/erasure-code/jerasure/jerasure'
Synchronizing submodule url for 'src/gmock'
Synchronizing submodule url for 'src/rocksdb'
+ git submodule update --force --init --recursive
fatal: Unable to create 
'/root/ceph/.git/modules/ceph-erasure-code-corpus/index.lock': File exists.

If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
fatal: Unable to create '/root/ceph/ceph-object-corpus/.git/index.lock': File 
exists.

If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
Submodule path 'src/civetweb': checked out 
'8d271315a541218caada366f84a2690fdbd474a2'
Submodule path 'src/erasure-code/jerasure/gf-com