Closed bmr-cymru closed 9 years ago
On Tue, Feb 03, 2015 at 09:10:10AM +1100, Mark Goodwin wrote: > Just a basic "targetcli ls" would probably suffice, or we could > grab the raw json config data out of /etc/target. > > Here's an example with one fileio target configured: > > >[root@rhel70] targetcli ls > >o- / ...................................................................... [...] > > o- backstores ........................................................... [...] > > | o- block ............................................... [Storage Objects: 0] > > | o- fileio .............................................. [Storage Objects: 1] > > | | o- test ..... [/dev/mapper/testvg-testlv (100.0MiB) write-back deactivated] > > | o- pscsi ............................................... [Storage Objects: 0] > > | o- ramdisk ............................................. [Storage Objects: 0] > > o- iscsi ......................................................... [Targets: 0] > > o- loopback ...................................................... [Targets: 0]
Fixed in commit ed50f49e1292b428b3eb63eabb31689aebf70591