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? _
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
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
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
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
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.
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