RE: Cannot start osd due to permission of journal raw device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There is no such rules (only 70-persistent-net.rules) in my /etc/udev/ruled.d/

Could you point me which part of the code create the rules file? Is that ceph-disk?

> -----Original Message-----
> From: Sage Weil [mailto:sage@xxxxxxxxxxxx]
> Sent: Friday, November 6, 2015 6:33 PM
> To: Chen, Xiaoxi
> Cc: ceph-devel@xxxxxxxxxxxxxxx
> Subject: Re: Cannot start osd due to permission of journal raw device
> 
> On Fri, 6 Nov 2015, Chen, Xiaoxi wrote:
> > Hi,
> >     I tried  infernalis (version 9.1.0
> (3be81ae6cf17fcf689cd6f187c4615249fea4f61)) but failed due to permission
> of journal ,  the OSD  was upgraded from hammer(also true for newly
> created OSD).
> >   I am using raw device as journal, this is because the default privilege of
> raw block is root:disk. Changing the journal owner to ceph:ceph solve the
> issue. Seems we can either:
> >   1. add ceph to "disk" group and run ceph-osd with --setuser ceph --
> setgroup disk?
> >   2. Require user to set the ownership of journal device to ceph:ceph is they
> want to use raw as journal?  Maybe we can done this in ceph-disk.
> >
> >    Personally I would prefer the second one , what do you think?
> 
> The udev rules should be setting the jouranl device ownership to ceph:ceph.
> IIRC there was a race in ceph-disk that could prevent this from happening in
> some cases but that is now fixed.  Can you try the infernalis branch?
> 
> sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux