Device BDEVs
Internally any logical drive is represented as BDEV block device. Therefore, drives of an
attached device are reported in scope of BDEVs list. To get the list of all available
devices attached to SPDK, use the
command:
xnr_cli bdev show
Here is an example of
0000:06:0e.0n1
drive created during attaching
0000:06:0e.0
device and reported in scope of BDEVs
list:{
"assigned_rate_limits": {
"r_mbytes_per_sec": 0,
"rw_ios_per_sec": 0,
"rw_mbytes_per_sec": 0,
"w_mbytes_per_sec": 0
},
"block_size": 512,
"claimed": false,
"name": "0000:06:0e.0n1",
"num_blocks": 10485760,
"product_name": "VirtioBlk Disk",
"supported_io_types": {
"abort": false,
"compare": false,
"compare_and_write": false,
"flush": false,
"nvme_admin": false,
"nvme_io": false,
"read": true,
"reset": true,
"unmap": true,
"write": true,
"write_zeroes": true
},
"uuid": "2dd51764-7ebb-4ce0-8075-286b99027c82",
"zoned": false
},