Re: [ceph-users] Minimal io block in rbd

2014-06-07 Thread Timofey Koolin
l stripe has to be > read or write. > > Cheers > > -- > Cédric Lemarchand > > > Le 5 juin 2014 à 22:56, Timofey Koolin a écrit : > > > > Do for every read/write rbd read/write full block of data (4MB) or rbd can > > read/wite part of block? > > >

[ceph-users] Minimal io block in rbd

2014-06-05 Thread Timofey Koolin
Do for every read/write rbd read/write full block of data (4MB) or rbd can read/wite part of block? For example - I have a 500MB file (database) and need random read/write by blocks about 1-10Kb. Do for every read 1 Kb rbd will read 4MB from hdd? for write? ___

Re: [ceph-users] What happened if rbd lose a block?

2014-04-29 Thread Timofey Koolin
Is this mean about I can stop updates for any potential downtime operation, then update to next release without downtime? > On Tue, Apr 29, 2014 at 01:13:25PM +0200, Wido den Hollander wrote: >> When you go from the major release to another one there is no >> problem. Dumpling -> Emperor -> Firef

Re: [ceph-users] What happened if rbd lose a block?

2014-04-29 Thread Timofey Koolin
tor instance. Similar incompatible changes was few times. You can find it by word “protocol” on the release notes page. I want reserve storage for the situation when rolling update with incompatible components will fail. > > >> Le 28 avr. 2014 à 17:59, Timofey Koolin a écrit :

Re: [ceph-users] What happened if rbd lose a block?

2014-04-29 Thread Timofey Koolin
04/28/2014 05:59 PM, Timofey Koolin wrote: >> Is a setting for change the behavior to return read error instead of block >> read? >> >> I think it is more reasonable behavior because it is similar to bad block on >> HDD: it can’t be read. >> >> Or may b

Re: [ceph-users] What happened if rbd lose a block?

2014-04-28 Thread Timofey Koolin
monitors 1 down monitor 2 old monitors. > On 04/28/2014 02:35 PM, Timofey Koolin wrote: >> What will happened if RBD lose all copied of data-block and I read the block? >> > > The read to the object will block until a replica comes online to serve it. > > Remember this w

[ceph-users] What happened if rbd lose a block?

2014-04-28 Thread Timofey Koolin
What will happened if RBD lose all copied of data-block and I read the block? Context: I want use RDB as main storage with replication factor 1 and drbd for replication on non rbd storage by client side. For example: Computer1: 1. connect rbd as /dev/rbd15 2. use rbd as disk for drbd Computer2:

Re: [ceph-users] Lost rbd image

2013-09-18 Thread Timofey Koolin
ample -backups). 2013/9/18 Laurent Barbe > Sorry, I don't really know where is the problem. > I hope someone from the mailing you will be able to respond. I am > interested to understand. > > Laurent > > Le 18/09/2013 18:08, Timofey Koolin a écrit : > >>

[ceph-users] Lost osd-journal

2013-09-09 Thread Timofey Koolin
Is lost journal mean that I lost all data from this osd? And I must have HA (raid-1 or similar) journal storage if I use data without replication? -- Blog: www.rekby.ru ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo

[ceph-users] few port per ceph-osd

2013-09-09 Thread Timofey Koolin
I use ceph 0.67.2. When I start ceph-osd -i 0 or ceph-osd -i 1 it start one process, but it process open few tcp-ports, is it normal? netstat -nlp | grep ceph tcp0 0 10.11.0.73:6789 0.0.0.0:* LISTEN 1577/ceph-mon - mon tcp0 0 10.11.0.73:6800

[ceph-users] ceph and python3 by default

2013-09-08 Thread Timofey Koolin
in ceph 0.67 cat /opt/ceph/current/bin/ceph | head -n 1 #!/usr/bin/python if /usr/bin/python is python 3 I have error: ceph auth get-or-create client.admin File "/opt/ceph/current/bin/ceph", line 192 print '\n', s, '\n', '=' * len(s) it is syntax of python2. I propose change #!/usr/bin/pyt

Re: [ceph-users] Install without ceph-deploy

2013-09-08 Thread Timofey Koolin
, Oliver Daudey wrote: > >> Hey Timofey, >> >> On za, 2013-09-07 at 18:52 +0400, Timofey Koolin wrote: >> > Is anywhere documentation for manual install/modify ceph cluster >> > WITHOUT ceph-deploy? >> >> There used to be a 5 minute quick start

[ceph-users] Install without ceph-deploy

2013-09-07 Thread Timofey Koolin
Is anywhere documentation for manual install/modify ceph cluster WITHOUT ceph-deploy? -- Blog: www.rekby.ru ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[ceph-users] ceph rbd format2 in kernel

2013-09-05 Thread Timofey Koolin
I have read about support image format 2 in 3.9 kernel. Is 3.9/3.10 kernel support rbd images format 2 now (I need connect to images, cloned from snapshot)? -- Blog: www.rekby.ru ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.co

[ceph-users] Real size of rbd image

2013-08-27 Thread Timofey Koolin
Is way to know real size of rbd image and rbd snapshots? rbd ls -l write declared size of image, but I want to know real size. -- Blog: www.rekby.ru ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph

[ceph-users] Exclusive mount

2013-06-20 Thread Timofey Koolin
Is way to exclusive map rbd? For example - I map on host A, then I try map it on host B. I want fail map on host B while it mapped to host A. I read about lock command, I want atomic lock and mount rbd for one host and auto unlock it when host A fail. -- Blog: www.rekby.ru _

[ceph-users] mount.ceph Cannot allocate memory

2013-06-06 Thread Timofey Koolin
ceph -v ceph version 0.61.3 (92b1e398576d55df8e5888dd1a9545ed3fd99532) mount.ceph l6:/ /ceph -o name=admin,secret=... mount error 12 = Cannot allocate memory I have cluster with 1 mon, 2 osd, ipv6 network. rbd work fine. -- Blog: www.rekby.ru ___ cep

[ceph-users] RBD snapshot - time and consistent

2013-05-11 Thread Timofey Koolin
Is snapshot time depend from image size? Do snapshot create consistent state of image for moment at start snapshot? For example if I have file system on don't stop IO before start snapshot - Is it worse than turn of power during IO? -- Blog: www.rekby.ru _

[ceph-users] New osd not change status to up

2013-04-13 Thread Timofey Koolin
I have test cluster 3 node: 1 - osd.0 mon.a mds.a 2 - osd.1 3 - empty I create osd.2: node1# ceph osd create node3# mkdir /var/lib/ceph/osd/ceph-2 node3# mkfs.xfs /dev/sdb node3# mount /dev/sdb /var/lib/ceph/osd/ceph-2 node3# ceph-osd -i 2 --mkfs --mkkey copy keyring from node 3 to node 1 in ro

Re: [ceph-users] Performance of cephfs

2013-04-11 Thread Timofey Koolin
Can anybody repeat is test in own production cluster? 2013/4/4 Timofey Koolin > I have centos 6.3 with kernel 3.8.4-1.el6.elrepo.x86_64 from elrepo.org. > Cephfs mount with kernel module. > > [root@localhost t1]# wget > http://joomlacode.org/gf/download/frsrelease/17965/784

[ceph-users] Performance of cephfs

2013-04-03 Thread Timofey Koolin
I have centos 6.3 with kernel 3.8.4-1.el6.elrepo.x86_64 from elrepo.org. Cephfs mount with kernel module. [root@localhost t1]# wget http://joomlacode.org/gf/download/frsrelease/17965/78413/Joomla_3.0.3-Stable-Full_Package.tar.gz [root@localhost t1]# time tar -zxf Joomla_3.0.3-Stable-Full_Package.t