Hi,

On 03/12/2015 12:12, Florent B wrote:
> It seems that if some OSD are using journal devices, ceph user needs to
> be a member of "disk" group on Debian. Can someone confirm this ?

Yes, I confirm... if you are talking about the journal partitions of OSDs.

Another solution: via a udev rule, set "ceph" as owner of these partitions. In 
my case, all journal partitions have this kind of partname (gtp partition): 
"osd-$id-journal".
So I have defined this udev rule:

# cat /etc/udev/rules.d/90-ceph.rules 
# Udev rule to have "ceph" owner of each "/dev/disk/by-partlabel/osd-*-journal"
# partition from GPT disks. Totally inspired from this file
# /lib/udev/rules.d/60-persistent-storage.rules
ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="osd-?*-journal", 
OWNER="ceph"

For me, it works.
HTH.

François Lafont
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to