Re: [ceph-users] rbd cp copies of sparse files become fully allocated

2013-09-08 Thread Sage Weil
On Sat, 7 Sep 2013, Oliver Daudey wrote: > Hey all, > > This topic has been partly discussed here: > http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-March/000799.html > > Tested on Ceph version 0.67.2. > > If you create a fresh empty image of, say, 100GB in size on RBD and then > use "r

Re: [ceph-users] System reboot hangs when umounting filesystem on rbd

2013-09-08 Thread Sage Weil
On Mon, 9 Sep 2013, Da Chun Ng wrote: > Centos 6.4Kernel 3.10.6 > Ceph 0.61.8 > > My ceph cluster is deployed on three nodes. > One rbd image was created, mapped to one of the three nodes, formatted with > ext4, and mounted. > When rebooting this node, it hung umouting the file system on the rbd.

[ceph-users] System reboot hangs when umounting filesystem on rbd

2013-09-08 Thread Da Chun Ng
Centos 6.4Kernel 3.10.6Ceph 0.61.8 My ceph cluster is deployed on three nodes.One rbd image was created, mapped to one of the three nodes, formatted with ext4, and mounted.When rebooting this node, it hung umouting the file system on the rbd. My guess about the root cause:When the system shutting

[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
For example now I install ceph on gentoo. ceph-deploy don't support gentoo and I need install cluster by hands. 2013/9/8 Neil Levine > We're planning on changing the docs to offer a quick-install quide, > focused around ceph-deploy, and a long-install guide which goes through all > the changes

Re: [ceph-users] rbd cp copies of sparse files become fully allocated

2013-09-08 Thread Oliver Daudey
On za, 2013-09-07 at 16:23 +0200, Oliver Daudey wrote: <...> > > Shouldn't "rbd cp" at least have an option to attempt to sparsify the > copy, or copy the sparse parts as sparse? Same goes for "rbd clone", > BTW. Sorry, I meant "rbd flatten" instead of "rbd clone" there. Regards, Oliv

[ceph-users] blockdev --setro cannot set krbd to readonly

2013-09-08 Thread Da Chun Ng
I mapped an image to a system, and used blockdev to make it readonly. But it failed.[root@ceph0 mnt]# blockdev --setro /dev/rbd2[root@ceph0 mnt]# blockdev --getro /dev/rbd20 It's on Centos6.4 with kernel 3.10.6 .Ceph 0.61.8 . Any idea? _