Hi, thanks. Tried with path option but gets same error: # ceph-bluestore-tool show-label --path /var/lib/ceph/osd/ceph-2 inferring bluefs devices from bluestore path 2018-11-01 15:57:53.395 7f9f91adca00 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory 2018-11-01 15:57:53.400 7f9f91adca00 -1 monclient: authenticate NOTE: no keyring found; disabled cephx authentication failed to fetch mon config (--no-mon-config to skip) Copying /etc/ceph/ceph.client.admin.keyring from admin server to osd host then it works, although it seems it’s not the right way to do that? # ceph-bluestore-tool show-label --path /var/lib/ceph/osd/ceph-2 inferring bluefs devices from bluestore path { "/var/lib/ceph/osd/ceph-2/block": { "osd_uuid": "6d999288-a4a4-4088-b764-bf2379b4492b", "size": 26839351296, "btime": "2018-10-18 15:59:06.173476", "description": "main", "bluefs": "1", "ceph_fsid": "cc795498-5d16-4b84-9584-1788d0458be9", "kv_backend": "rocksdb", "magic": "ceph osd volume v026", "mkfs_done": "yes", "osd_key": "AQBFPchbIvClNBAA5PjT+hzulu7j8dnQyaByPg==", "ready": "ready", "whoami": "2" }, "/var/lib/ceph/osd/ceph-2/block.wal": { "osd_uuid": "6d999288-a4a4-4088-b764-bf2379b4492b", "size": 524288000, "btime": "2018-10-18 15:59:06.178454", "description": "bluefs wal" }, "/var/lib/ceph/osd/ceph-2/block.db": { "osd_uuid": "6d999288-a4a4-4088-b764-bf2379b4492b", "size": 524288000, "btime": "2018-10-18 15:59:06.175997", "description": "bluefs db" } } Would you help? Thanks again. From: Igor Fedotov <ifedotov@xxxxxxx>
You might want to try --path <path_to_osd_dir> option instead of --dev one. On 10/31/2018 7:29 AM, ST Wong (ITSC) wrote:
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com