numam-spdk/test/spdkcli/match_files/spdkcli_vhost.test.match
Mike Carlin fb6fbf3256 spdkcli: Add support for raid devices
Adds support to spdkcli.py for raid devices via UIRaidBdev with
functionality to construct and destroy raid bdevs.

Information regarding the raid can be viewed via 'show_details' on a
given pooled_device child in the tree.

Signed-off-by: Mike Carlin <mikefcarlin@protonmail.com>
Change-Id: I2ca89e641b201c09b3d4db070eac6cc0c2cdec73
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452774
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-05-09 19:36:35 +00:00

55 lines
6.0 KiB
Plaintext

o- / ......................................................................................................................... [...]
o- bdevs ................................................................................................................... [...]
| o- aio .............................................................................................................. [Bdevs: 2]
| | o- sample0 .......................................................................................... [Size=$(FP)M, Not claimed]
| | o- sample1 .......................................................................................... [Size=$(FP)M, Not claimed]
| o- error ............................................................................................................ [Bdevs: 2]
| | o- EE_Malloc1 ...................................................................................... [Size=$(FP)M, Not claimed]
| | o- EE_Malloc4 ...................................................................................... [Size=$(FP)M, Not claimed]
| o- iscsi ............................................................................................................ [Bdevs: 0]
| o- logical_volume ................................................................................................... [Bdevs: 2]
| | o- $(X)-$(X)-$(X)-$(X)-$(X) ................................................ [lvs0/lvol$(FP), Size=$(FP)M, Not claimed]
| | o- $(X)-$(X)-$(X)-$(X)-$(X) ................................................ [lvs0/lvol$(FP), Size=$(FP)M, Not claimed]
| o- malloc ........................................................................................................... [Bdevs: 6]
| | o- Malloc0 ............................................................................................. [Size=$(FP)M, Claimed]
| | o- Malloc1 ............................................................................................. [Size=$(FP)M, Claimed]
| | o- Malloc2 ......................................................................................... [Size=$(FP)M, Not claimed]
| | o- Malloc3 ......................................................................................... [Size=$(FP)M, Not claimed]
| | o- Malloc4 ............................................................................................. [Size=$(FP)M, Claimed]
| | o- Malloc5 ............................................................................................. [Size=$(FP)M, Claimed]
| o- null ............................................................................................................. [Bdevs: 2]
| | o- null_bdev0 ...................................................................................... [Size=$(FP)M, Not claimed]
| | o- null_bdev1 ...................................................................................... [Size=$(FP)M, Not claimed]
| o- nvme ............................................................................................................. [Bdevs: 1]
| | o- Nvme0n1 $(S) [Size=$(S), Claimed]
| o- pmemblk .......................................................................................................... [Bdevs: 0]
| o- raid_volume ...................................................................................................... [Bdevs: 0]
| o- rbd .............................................................................................................. [Bdevs: 0]
| o- split_disk ....................................................................................................... [Bdevs: 4]
| | o- Nvme0n1p0 $(S) [Size=$(FP)G, Not claimed]
| | o- Nvme0n1p1 $(S) [Size=$(FP)G, Not claimed]
| | o- Nvme0n1p2 $(S) [Size=$(FP)G, Not claimed]
| | o- Nvme0n1p3 $(S) [Size=$(FP)G, Not claimed]
| o- virtioblk_disk ................................................................................................... [Bdevs: 0]
| o- virtioscsi_disk .................................................................................................. [Bdevs: 0]
o- lvol_stores .................................................................................................. [Lvol stores: 2]
| o- lvs0 $(S) [Size=$(FP)M, Free=$(FP)M]
| o- lvs1 $(S) [Size=$(FP)M, Free=$(FP)M]
o- vhost ................................................................................................................... [...]
o- block ................................................................................................................. [...]
| o- vhost_blk1 $(S) [$(S)]
| | o- Nvme0n1p0 ......................................................................................................... [...]
| o- vhost_blk2 $(S) [$(S), Readonly]
| o- Nvme0n1p1 ......................................................................................................... [...]
o- scsi .................................................................................................................. [...]
o- vhost_scsi1 $(S) [$(S)]
| o- Target_0 .......................................................................................... [LUNs: 1,TargetID: 0]
| o- Malloc2 ......................................................................................................... [...]
o- vhost_scsi2 $(S) [$(S)]
o- Target_0 .......................................................................................... [LUNs: 1,TargetID: 0]
| o- Malloc3 ......................................................................................................... [...]
o- Target_1 .......................................................................................... [LUNs: 1,TargetID: 1]
| o- Nvme0n1p2 ....................................................................................................... [...]
o- Target_2 .......................................................................................... [LUNs: 1,TargetID: 2]
o- Nvme0n1p3 ....................................................................................................... [...]