On 03/15/17 08:43, Gunwoo Gim wrote:
Maybe you need this after partprobe: udevadm trigger No, I think you just need them owned by ceph:ceph. Test that with something like: sudo -u ceph hexdump -C /dev/dm-${number} | head (which reads, not writes...so not a full test, but close enough) And also make sure the files in /var/lib/ceph/{osd,mon,...} are owned by ceph:ceph too. Maybe you have a mix of root and ceph, which is easy to cause by running it as root when ceph owns some files. And FYI, I don't like udev, and did not use ceph-deploy or ceph-disk. I did it with a very simple init script instead: #!/bin/bash This works on ubuntu 14.04 as is, a badly written init script, but I think centos will not accept it without the lsb tags. A side effect of doing it this way is you have to manually run the script again when replacing or adding disks, since it is not run after hot swap like udev is.
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com