Sam, George, thanks for your help!

The problem is that the data directory is symlinked to /home and the
systemd unit file had `ProtectHome=true`

On Wed, Jul 6, 2016 at 9:53 AM, RJ Nowling <rnowl...@redhat.com> wrote:

> Hi all,
>
> I'm trying to use the ceph-ansible playbooks to deploy onto baremetal.
> I'm currently testing with the approach that uses an existing filesystem
> rather than giving raw access to the disks.
>
> The OSDs are failing to start:
>
> 2016-07-06 10:48:50.249976 7fa410aef800  0 set uid:gid to 167:167
> (ceph:ceph)
> 2016-07-06 10:48:50.250021 7fa410aef800  0 ceph version 10.2.2
> (45107e21c568dd033c2f0a3107dec8f0b0e58374), process ceph-osd, pid 19104
> 2016-07-06 10:48:50.250221 7fa410aef800 -1  ** ERROR: unable to open OSD
> superblock on /var/lib/ceph/osd/ceph-1: (13) Permission denied
>
> The directories seem to be owned by the ceph user and group.  That said,
> I'm putting my data under /home/ceph-data (owned by ceph:ceph) which is on
> a different filesystem with /var/lib/ceph/osd/ceph-1 being a symlink (owned
> by ceph:ceph) .
>
> Any suggestions as to where the permission denied might be coming from?
>
> Thanks!
> RJ
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to