Re: [ceph-users] Mounting with dmcrypt still fails

2014-03-23 Thread Michael Lukzak
Hi, After looking to code in ceph-disk I came to the same conclusion, problem is with the mapping. Here are quote form ceph-disk def get_partition_dev(dev, pnum): """ get the device name for a partition assume that partitions are named like the base dev, with a number, and optiona

Re: [ceph-users] Mounting with dmcrypt still fails

2014-03-22 Thread Kyle Bader
> ceph-disk-prepare --fs-type xfs --dmcrypt --dmcrypt-key-dir > /etc/ceph/dmcrypt-keys --cluster ceph -- /dev/sdb > ceph-disk: Error: Device /dev/sdb2 is in use by a device-mapper mapping > (dm-crypt?): dm-0 It sounds like device-mapper still thinks it's using the the volume, you might be able t

Re: [ceph-users] Mounting with dmcrypt still fails

2014-03-19 Thread Eric Eastman
On Ubuntu 1310 with Ceph 0.72, after manually putting in the patch from http://tracker.ceph.com/issues/6966 I was able to create my dmcrypt OSD with: ceph-deploy disk zap tca14:/dev/cciss/c0d1 ceph-deploy --verbose osd create --dmcrypt tca14:/dev/cciss/c0d1 Looking at the mount points with df

Re: [ceph-users] Mounting with dmcrypt still fails

2014-03-17 Thread Michael Lukzak
Hi again, I used another host for osd (with that same name), but now with Debian 7.4 ceph-deploy osd prepare ceph-node0:sdb --dmcrypt [ceph_deploy.cli][INFO ] Invoked (1.3.5): /usr/bin/ceph-deploy osd prepare ceph-node0:sdb --dmcrypt [ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks ceph-

[ceph-users] Mounting with dmcrypt still fails

2014-03-17 Thread Michal Luczak
Hi, I tried to use whole new blank disk to create two separate partition (one for data and second for journal) and use dmcrypt, but there is a problem with use this. It's looks like there is a problem with mounting or formatting partitions. OS is Ubuntu 13.04 with ceph v0.72 (emperor) I used c