Bug 1597048
Summary: | ceph osd df not showing correct disk size and causing cluster to go to full state | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vikhyat Umrao <vumrao> |
Component: | RADOS | Assignee: | Brad Hubbard <bhubbard> |
Status: | CLOSED NOTABUG | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.0 | CC: | bhubbard, ceph-eng-bugs, dzafman, kchai |
Target Milestone: | rc | ||
Target Release: | 3.* | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-04 00:53:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vikhyat Umrao
2018-07-01 21:37:56 UTC
Assuming this is filestore can we see the output of "stat -f /var/lib/ceph/osd/ceph-0" please? Resolution - this disk was deployed as bluestore by mistake and in bluestore also it was not deployed properly. [root@storage-004 ~]# cat /var/lib/ceph/osd/ceph-*/type bluestore filestore filestore filestore filestore So only OSD.0 was bluestore. [root@storage-004 ~]# blockdev --getsize64 /dev/nvme0n1p1 3995417255424 root@storage-004 ceph-0]# ls -l total 10421404 -rw-r--r--. 1 ceph ceph 447 Mar 21 15:44 activate.monmap -rw-r--r--. 1 ceph ceph 3 Mar 21 15:44 active -rw-r--r--. 1 ceph ceph 10737418240 Jul 2 16:51 block <============== -rw-r--r--. 1 ceph ceph 2 Mar 21 15:44 bluefs -rw-r--r--. 1 ceph ceph 37 Mar 21 15:43 ceph_fsid -rw-r--r--. 1 ceph ceph 37 Mar 21 15:43 fsid -rw-------. 1 ceph ceph 56 Mar 21 15:44 keyring -rw-r--r--. 1 ceph ceph 8 Mar 21 15:44 kv_backend -rw-r--r--. 1 ceph ceph 21 Mar 21 15:43 magic -rw-r--r--. 1 ceph ceph 4 Mar 21 15:44 mkfs_done -rw-r--r--. 1 ceph ceph 6 Mar 21 15:44 ready -rw-r--r--. 1 ceph ceph 0 Jul 1 21:52 systemd -rw-r--r--. 1 ceph ceph 10 Mar 21 15:43 type -rw-r--r--. 1 ceph ceph 2 Mar 21 15:44 whoami The BlueStore block device was a file named with a block, not a symlink to block device partition of this disk and that file size was 10G hence it was showing the size of the OSD as 10G. Redeploying the OSD with filestore fixed the issue. |