How to deal with the common faults of ceph without the authority of ceph activate and osd
This article mainly introduces the common faults of ceph ceph activate, osd does not have the authority to deal with, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.
Failure phenomenon:
Using the ceph-disk activate / dev/sdc1 command Times error: ERROR: error creating fresh journal and permission denied.
Cause analysis:
Ceph does not have permissions.
Fault location and handling:
1. Use the command ls-l | grep / dev/sdc* to check the permissions of the partition where journal resides. The user and user group of sdc1 is root, where sdc is the sample drive letter.
two。 Use the chown ceph:ceph / dev/sdc1 command to add journal partition permissions to Ceph.
Thank you for reading this article carefully. I hope the article "how to deal with ceph common faults ceph activate and osd without permission" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!