microceph
microceph copied to clipboard
`microceph disk list` shows un-supported disks as well
Suggestion to only show OSD supported disk types in the output of disk list command.
# sudo microceph disk list
Disks configured in MicroCeph:
+-----+-----------------------+--------------------------------------------------------+
| OSD | LOCATION | PATH |
+-----+-----------------------+--------------------------------------------------------+
| 0 | ubuntu-ceph-03N4-KKJ8 | /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_vol--ADPL |
+-----+-----------------------+--------------------------------------------------------+
| 1 | ubuntu-ceph-03N4-KKJ8 | /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_vol--R592 |
+-----+-----------------------+--------------------------------------------------------+
| 2 | ubuntu-ceph-03N4-KKJ8 | /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_vol--WDXG |
+-----+-----------------------+--------------------------------------------------------+
Available unpartitioned disks on this system:
+-------------+-----------+-------+---------------------------------------------------+
| MODEL | CAPACITY | TYPE | PATH |
+-------------+-----------+-------+---------------------------------------------------+
| QEMU CD-ROM | 368.00KiB | cdrom | /dev/disk/by-id/scsi-0QEMU_QEMU_CD-ROM_lxd_config |
+-------------+-----------+-------+---------------------------------------------------+
This should be fixed now that we've imposed a 2GB threshold for storage devices to be listed.