Re: unable to open OSD superblock on on /var/lib/ceph/osd/ceph-0

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

 



Hi,


On 1/25/19 7:15 AM, Liu, Changcheng wrote:
Hi all,
    I always hit below error:
      storage-0:/var/run/ceph# /usr/bin/ceph-osd -i 0 --pid-file /var/run/ceph/osd.0.pid -c /etc/ceph/ceph.conf --cluster ceph -f
      2019-01-25 14:05:20.148 7f2bd8f87180 -1  ** ERROR: unable to open OSD superblock on /var/lib/ceph/osd/ceph-0: (2) No such file or directory
Could anyone give some suggestion to debug this problem?

    I've checked some info as below:
        0)storage-0:/var/lib/ceph/osd/ceph-0# cat /etc/os-release
        NAME="CentOS Linux"
        VERSION="7 (Core)"
        ID="centos"
        ID_LIKE="rhel fedora"
        VERSION_ID="7"
        PRETTY_NAME="CentOS Linux 7 (Core)"
        ANSI_COLOR="0;31"
        CPE_NAME="cpe:/o:centos:centos:7"
        HOME_URL="https://www.centos.org/";
        BUG_REPORT_URL="https://bugs.centos.org/";
CENTOS_MANTISBT_PROJECT="CentOS-7"
        CENTOS_MANTISBT_PROJECT_VERSION="7"
        REDHAT_SUPPORT_PRODUCT="centos"
        REDHAT_SUPPORT_PRODUCT_VERSION="7"

        1)storage-0:/var/lib/ceph/osd/ceph-0# ceph --version
        ceph version 13.2.2 (02899bfda814146b021136e9d8e80eba494e1126) mimic (stable)

        2)storage-0:/var/lib/ceph/osd/ceph-0# ls
        block  block_uuid  ceph_fsid  fsid  journal  journal_uuid  magic  type

        3)storage-0:/var/lib/ceph/osd/ceph-0# ls -l `readlink -f block`
        brw-rw---- 1 root disk 8, 18 Jan 25 14:07 /dev/sdb2

        4)storage-0:/var/lib/ceph/osd/ceph-0# ls -l `readlink -f journal`
        brw-rw---- 1 root disk 8, 18 Jan 25 14:07 /dev/sdb2


*snipsnap*


Are block and journal really pointing to the same device? If this is the case, the content of the OSD is likely corrupt and you should reinstall it.


Regards,

Burkhard





[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