Re: Showing OSD Disk config?

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

 



Yes, there are several methods, depending on your ceph version. In Nautilus:

# sda is the SSD (rocksdb) for OSDs 25,26,27
ceph01:~ # ceph device ls-by-host ceph01
DEVICE DEV DAEMONS EXPECTED FAILURE
SAMSUNG_MZ7KM480HMHQ-00005_S3F4NXMM300851      sda     osd.25 osd.26 osd.27
Samsung_SSD_970_EVO_Plus_500GB_S4EVNF0M841184V nvme0n1 osd.15
WDC_WD4003FFBX-68MU3N0_VBG1M2TR                sde     osd.26
WDC_WD4003FFBX-68MU3N0_VBG1MGER                sdd     osd.25
WDC_WD4003FFBX-68MU3N0_VBG1MJVR                sdf     osd.27


# get a list of all devices
ceph01:~ #  ceph device ls


# by daemon
ceph01:~ # ceph device ls-by-daemon osd.25
DEVICE                                    HOST:DEV      EXPECTED FAILURE
SAMSUNG_MZ7KM480HMHQ-00005_S3F4NXMM300851 ndeceph01:sda
WDC_WD4003FFBX-68MU3N0_VBG1MGER           ndeceph01:sdd


# OSD metadata (which you can also see in the dashboard)
ceph01:~ # ceph osd metadata 25 | grep devices
    "devices": "sda,sdd",
    "objectstore_numa_unknown_devices": "sda,sdd",


# ceph-volume output
ceph01:~ #  ceph-volume lvm list | grep -E "osd|block|db"
====== osd.25 ======
[block] /dev/ceph-3327f6d4-953a-42b1-89c7-78c7dcab43e9/osd-block-104485c6-1a79-40b1-9910-e91ecd9c1dbf block device /dev/ceph-3327f6d4-953a-42b1-89c7-78c7dcab43e9/osd-block-104485c6-1a79-40b1-9910-e91ecd9c1dbf
      block uuid                TwXaDW-8ecv-fX9i-2MIA-yz9j-1gZl-Y3Va77
      db device                 /dev/ceph-journals/bluefsdb-25
      db uuid                   gtkC65-jXyl-bEhe-36wc-CnuN-tFdl-HnLQbo
      osd fsid                  104485c6-1a79-40b1-9910-e91ecd9c1dbf
      osd id                    25
      type                      block
  [db]          /dev/ceph-journals/bluefsdb-25
block device /dev/ceph-3327f6d4-953a-42b1-89c7-78c7dcab43e9/osd-block-104485c6-1a79-40b1-9910-e91ecd9c1dbf
      block uuid                TwXaDW-8ecv-fX9i-2MIA-yz9j-1gZl-Y3Va77
      db device                 /dev/ceph-journals/bluefsdb-25
      db uuid                   gtkC65-jXyl-bEhe-36wc-CnuN-tFdl-HnLQbo
      osd fsid                  104485c6-1a79-40b1-9910-e91ecd9c1dbf
      osd id                    25
      type                      db



Regards,
Eugen

Zitat von Lindsay Mathieson <lindsay.mathieson@xxxxxxxxx>:

Is there a way to display an OSD's setup - data, data.db and WAL disks/partitions?

--
Lindsay
_______________________________________________
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