Re: Unable to mkfs of an osd (use Luminous)

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

 



'/home/ceph/osd/data-ceph_osd0' is a very odd path. It is highly likely you
have a misconfigured ceph.conf particularly the osd section.  Please post
the ceph.conf.  Feel free to change fsid if you're nervous.

Also post output from 'lsblk'



On Sat, Dec 18, 2021 at 6:16 PM Lingzhe ZHANG <surevil@xxxxxxxxxxx> wrote:

> Hi,
>   I am trying to create osd by command `sudo ceph-osd --mkfs --mkkey -i 0`
>   But get the following errors:
>   2021-12-19 02:00:02.013300 7fa775dcfe40 -1 journal FileJournal::_open:
> wrong journal file type: 16877
>   2021-12-19 02:00:02.013346 7fa775dcfe40 -1
> filestore(/home/ceph/osd/data-ceph_osd0) mkjournal(1066): error creating
> journal on /home/ceph/osd/journal-ceph_osd0: (21) Is a directory
>   2021-12-19 02:00:02.013413 7fa775dcfe40 -1 OSD::mkfs: ObjectStore::mkfs
> failed with error (21) Is a directory
>   2021-12-19 02:00:02.013570 7fa775dcfe40 -1  ** ERROR: error creating
> empty object store in /home/ceph/osd/data-ceph_osd0: (21) Is a directory
>   And I don't know why, Can someone help me?
>
> Lingzhe Zhang
> School of Software, Tsinghua University
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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