Re: - permission denied on journal after reboot

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

 



> Op 13 februari 2017 om 12:06 schreef Piotr Dzionek <piotr.dzionek@xxxxxxxx>:
> 
> 
> Hi,
> 
> I am running ceph Jewel 10.2.5 with separate journals - ssd disks. It 
> runs pretty smooth, however I stumble upon an issue after system reboot. 
> Journal disks become owned by root and ceph failed to start.
> 
> /starting osd.4 at :/0 osd_data /var/lib/ceph/osd/ceph-4 
> /var/lib/ceph/osd/ceph-4/journal//
> //2017-02-10 16:24:29.924126 7fd07ab40800 -1 
> filestore(/var/lib/ceph/osd/ceph-4) mount failed to open journal 
> /var/lib/ceph/osd/ceph-4/journal: (13) Permission denied//
> //2017-02-10 16:24:29.924210 7fd07ab40800 -1 osd.4 0 OSD:init: unable to 
> mount object store//
> //2017-02-10 16:24:29.924217 7fd07ab40800 -1 #033[0;31m ** ERROR: osd 
> init failed: (13) Permission denied#033[0m/
> 
> I fixed this issue by finding journal disks in /dev dir and chown to 
> ceph:ceph. I remember that I had a similar issue after I installed it 
> for a first time. Is it a bug ? or do I have to set some kind of udev 
> rules for this disks?
> 
> FYI, I have this issue after every restart now.
> 

The udev rules of Ceph should chown the journal to ceph:ceph if it's set to the right partition UUID.

This blog shows it partially: http://ceph.com/planet/ceph-recover-osds-after-ssd-journal-failure/

This is done by *95-ceph-osd.rules*, you might want to check the source of that.

Wido

> Kind regards,
> Piotr Dzionek
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux