ceph disk detail from cli

RobFantini

Famous Member
May 24, 2012
2,009
102
133
Boston,Mass
Hello,
is there a ceph cli command which will list disk detail like serial number and which journal is used?

It is not possible to copy and paster [ for me ] the serial number from web gui.. I'm trying to put 20 serial numbers to a table so i can cross reference drive position in chassis to osd number etc.
 
You can use the API, for example:

# pvesh get /nodes/localhost/ceph/disks

Output is JSON format. But it does not contain journal info, because ceph API does not
provide that information, sorry.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!