Re: [ceph-users] question about FileStore read()/write()

2014-07-22 Thread Haomai Wang
Read will get the newest content. If the read arrives during the write interval, it will wait for the write applied. On Wed, Jul 23, 2014 at 10:22 AM, James Pan wrote: > Hi everyone, > > I am reading the FileStore source code and confused with the read() and > write() process. > > If journal is

Re: [ceph-users] Issues with federated gateway sync

2014-07-22 Thread Bachelder, Kurt
Great! Good luck, pay it forward in the Ceph community! Cheers, K Original message From: Justice London Date:07/22/2014 6:24 PM (GMT-05:00) To: "Bachelder, Kurt" Cc: Yehuda Sadeh , ceph-users@lists.ceph.com Subject: Re: [ceph-users] Issues with federated gateway sync That wa

[ceph-users] question about FileStore read()/write()

2014-07-22 Thread James Pan
Hi everyone,  I am reading the FileStore source code and confused with the read() and write() process. If journal is enable, write() will be acknowledged after the changes are committed to the journal device but before they are applied to the file system. However read() is always satisfied fro

Re: [ceph-users] Ceph-fuse remount

2014-07-22 Thread Scottix
Thanks for the info. I was able to do a lazy unmount and started back up fine if anyone wanted to know. On Wed, Jul 16, 2014 at 10:29 AM, Gregory Farnum wrote: > On Wed, Jul 16, 2014 at 9:20 AM, Scottix wrote: >> I wanted to update ceph-fuse to a new version and I would like to have >> it seamle

Re: [ceph-users] Mon won't start, possibly due to corrupt disk?

2014-07-22 Thread Gregory Farnum
On Thu, Jul 17, 2014 at 1:39 PM, Lincoln Bryant wrote: > Hi all, > > I tried restarting my mon today, but I find that it no longer starts. > Whenever I try to fire up the mon, I get errors of this nature: > >-3> 2014-07-17 15:12:32.738510 7f25b0921780 10 mon.a@-1(probing).auth > v1537 update

Re: [ceph-users] Issues with federated gateway sync

2014-07-22 Thread Justice London
That was it! Thanks! I don't quite understand why it doesn't use the source information so that way you only need a single user on each side, but... okay, it's at least working now! Thanks again for your help. If you want a T-shirt from our store or anything just let me know privately :) Justice

Re: [ceph-users] Ceph and Infiniband

2014-07-22 Thread Sage Weil
On Tue, 22 Jul 2014, Riccardo Murri wrote: > Hello, > > a few questions on Ceph's current support for Infiniband > > (A) Can Ceph use Infiniband's native protocol stack, or must it use > IP-over-IB? Google finds a couple of entries in the Ceph wiki related > to native IB support (see [1], [2]),

[ceph-users] Ceph and Infiniband

2014-07-22 Thread Riccardo Murri
Hello, a few questions on Ceph's current support for Infiniband (A) Can Ceph use Infiniband's native protocol stack, or must it use IP-over-IB? Google finds a couple of entries in the Ceph wiki related to native IB support (see [1], [2]), but none of them seems finished and there is no timeline.

Re: [ceph-users] Issues with federated gateway sync

2014-07-22 Thread Justice London
Okay, I created a new user and had it sync successfully. I created a bucket and it replicated correctly. Uploaded file successfully to the master zone, yet still getting an error like this: application/json; charset=UTF-8 Tue, 22 Jul 2014 20:08:26 GMT x-amz-copy-source:testfolder%2F12g_bios_tuni

Re: [ceph-users] Finding CephFS file from object ID

2014-07-22 Thread Gregory Farnum
On Tue, Jul 22, 2014 at 8:38 AM, Aaron Ten Clay wrote: > Hi Cephers, > > I'm trying to recover from an inconsistent object issue. I know which object > is inconsistent across its two replicas, but I'm having difficulty > determining which of the three copies is correct. Is there an easy way to > d

Re: [ceph-users] Issues with federated gateway sync

2014-07-22 Thread Justice London
Unfortunately I had tried that and was able to create a bucket on both ends and add an item to it with the user. Here are my us, us-west and us-east configs: http://pastebin.com/QwnKvvwD The us configuration is the same between east and west (west is supposed to be the master zone). I have also do

Re: [ceph-users] ceph tgt iscsi target can be discovered but not active.

2014-07-22 Thread 不坏阿峰
Thanks a lot. yes u are correct. i can use connect the upcase target name in Linux but can not in Windows. after i change the target name to lowcase. Windows work fine too. 2014-07-22 22:13 GMT+07:00 Uwe Grohnwaldt : > Hi, > > please try a targetname without uppercase characters and without a

[ceph-users] Finding CephFS file from object ID

2014-07-22 Thread Aaron Ten Clay
Hi Cephers, I'm trying to recover from an inconsistent object issue. I know which object is inconsistent across its two replicas, but I'm having difficulty determining which of the three copies is correct. Is there an easy way to determine which file in CephFS the object is a part of? (I know how

Re: [ceph-users] ceph tgt iscsi target can be discovered but not active.

2014-07-22 Thread Uwe Grohnwaldt
Hi, please try a targetname without uppercase characters and without any other special characters: "Uppercase characters are always mapped to lowercase characters." http://technet.microsoft.com/en-us/library/ee338474(v=ws.10).aspx Mit freundlichen Grüßen / Best Regards, -- Consultant Dipl.-Inf.

[ceph-users] ceph tgt iscsi target can be discovered but not active.

2014-07-22 Thread 不坏阿峰
Dear all , i have install tgt from http://ceph.com/packages/ceph-extras/debian have create pool and image for iscsi. but when i want to connect this iscsi from windows 2008 iscsi initiator, can find, but status is not active . i do not know why? some step i made for ceph iscsi targe

Re: [ceph-users] radosgw-agent failed to parse

2014-07-22 Thread Bachelder, Kurt
It certainly doesn’t hurt to reload your zone and region configurations on your RGWs and re-run the regionmap update for the instances tied to each zone, just to ensure consistency. From: Peter [mailto:ptier...@tchpc.tcd.ie] Sent: Tuesday, July 22, 2014 10:20 AM To: Bachelder, Kurt; Craig Lewis

Re: [ceph-users] decreasing pg_num?

2014-07-22 Thread Wido den Hollander
On 07/22/2014 04:11 PM, Chad Seys wrote: Hi All, Is it possible to decrease pg_num? I was able to decrease pgp_num, but when I try to decrease pg_num I get an error: No, the pg splitting is supported, so increasing. But merging PGs is not supported yet. # ceph osd pool set tibs pg_num

Re: [ceph-users] radosgw-agent failed to parse

2014-07-22 Thread Peter
thanks for the suggestion. ive attempted a regionmap update but im hitting this error: failed to list regions: (2) No such file or directory 2014-07-22 14:13:04.096601 7ff825ac77c0 -1 failed to list objects pool_iterate_begin() returned r=-2 so perhaps i do have some issue with my configurat

[ceph-users] decreasing pg_num?

2014-07-22 Thread Chad Seys
Hi All, Is it possible to decrease pg_num? I was able to decrease pgp_num, but when I try to decrease pg_num I get an error: # ceph osd pool set tibs pg_num 1024 specified pg_num 1024 <= current 2048 Thanks! C. ___ ceph-users mailing list ceph-users

Re: [ceph-users] radosgw-agent failed to parse

2014-07-22 Thread Bachelder, Kurt
I’m sure you’ve already tried this, but we’ve gotten burned a few times by not running radosgw-admin regionmap update after making region/zone changes. Bouncing the RGW’s probably wouldn’t hurt either. From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Peter Sent: Tuesday,

Re: [ceph-users] Ceph OSDs failing to start after upgrade to kernel 3.13

2014-07-22 Thread Sage Weil
Try increasing /proc/sys/fs/aio-max-nr and see if that helps? It's teh io_setup syscall that is failing. sage On Tue, 22 Jul 2014, Dane Elwell wrote: > Hi, > > We recently tried to switch to kernel 3.13 (from 3.5) using the Ubuntu > Precise backported kernels (e.g. package linux-generic-lt

Re: [ceph-users] Issues with federated gateway sync

2014-07-22 Thread Bachelder, Kurt
We had similar issues with our configuration – since you’re getting an HTTP 403, it seems like something is misconfigured with the system account, or with the destination zone. I would recommend using the API/Secret keys with an S3 client (Cloudberry Explorer, s3cmd, or whatever) to do some tro

Re: [ceph-users] radosgw-agent failed to parse

2014-07-22 Thread Peter
yes, im scratching my head over this too. It doesn't seem to be an authentication issue as the radosgw-agent never reaches the us-secondary gateway (i've kept an eye on us-secondary logs as i execute radosgw-agent on us-master). On 22/07/14 03:51, Craig Lewis wrote: I was hoping for some eas

Re: [ceph-users] problem in ceph installation

2014-07-22 Thread Vincenzo Pii
Ceph packages are already in Ubuntu 14.04 repositories, no need to add more into any sources.list. So, undo your changes there and just proceed with the installation of the packages. Going through the installation of Ceph with Ceph deploy, I have collected some notes here: http://blog.zhaw.ch/iccl

[ceph-users] Ceph OSDs failing to start after upgrade to kernel 3.13

2014-07-22 Thread Dane Elwell
Hi, We recently tried to switch to kernel 3.13 (from 3.5) using the Ubuntu Precise backported kernels (e.g. package linux-generic-lts-trusty), as we're having problems with memory fragmentation with the 3.5 kernel (3.8 was worse!). After upgrading to 3.13, some - but not all - OSDs fail to start w