Skip to content

Instantly share code, notes, and snippets.

@ibotty
Created September 5, 2017 09:29
Show Gist options
  • Save ibotty/b2d873cb9527888da7b5dd79f133df3e to your computer and use it in GitHub Desktop.
Save ibotty/b2d873cb9527888da7b5dd79f133df3e to your computer and use it in GitHub Desktop.
ceph bluestore osd with only block
> ls -R /var/lib/ceph/osd/ceph-4 -l
/var/lib/ceph/osd/ceph-4:
total 40
lrwxrwxrwx. 1 ceph ceph 25 Aug 24 12:39 block -> /dev/vg_centos/ceph-osd
-rw-r--r--. 1 ceph ceph 2 Aug 24 12:39 bluefs
-rw-r--r--. 1 ceph ceph 37 Aug 24 12:39 ceph_fsid
-rw-r--r--. 1 ceph ceph 37 Aug 24 12:39 fsid
-rw-------. 1 ceph ceph 56 Aug 24 12:39 keyring
-rw-r--r--. 1 ceph ceph 8 Aug 24 12:39 kv_backend
-rw-r--r--. 1 ceph ceph 21 Aug 24 12:39 magic
-rw-r--r--. 1 ceph ceph 4 Aug 24 12:39 mkfs_done
-rw-r--r--. 1 ceph ceph 6 Aug 24 12:39 ready
-rw-r--r--. 1 ceph ceph 10 Aug 24 12:39 type
-rw-r--r--. 1 ceph ceph 2 Aug 24 12:39 whoami
> head /var/lib/ceph/osd/ceph-4/bluefs /var/lib/ceph/osd/ceph-4/[^b^k]*
==> /var/lib/ceph/osd/ceph-4/bluefs <==
1
==> /var/lib/ceph/osd/ceph-4/ceph_fsid <==
512e0e4d-d6a2-4510-85ca-79ea24d92d8c
==> /var/lib/ceph/osd/ceph-4/fsid <==
d63c82d6-de96-4442-ad74-7b1061bd082b
==> /var/lib/ceph/osd/ceph-4/magic <==
ceph osd volume v026
==> /var/lib/ceph/osd/ceph-4/mkfs_done <==
yes
==> /var/lib/ceph/osd/ceph-4/ready <==
ready
==> /var/lib/ceph/osd/ceph-4/type <==
bluestore
==> /var/lib/ceph/osd/ceph-4/whoami <==
4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment