Comment 4 for bug 1166042

Revision history for this message
anubhavrakshit (anubhavrocks) wrote :

On trusty this is what i did to fix:

wget http://archive.ubuntu.com/ubuntu/pool/universe/r/rtslib/rtslib_2.2.orig.tar.gz
tar xvzf rtslib_2.2.orig.tar.gz
cd rtslib-2.2/
./setup.py build
sudo ./setup.py install

wget http://archive.ubuntu.com/ubuntu/pool/universe/t/targetcli/targetcli_3.0+git0.7e32595e.orig.tar.gz
tar xvzf targetcli_3.0+git0.7e32595e.orig.tar.gz
cd targetcli-3.0+git0.7e32595e/
./setup.py build
sudo ./setup.py install

anubhav@stargazer:~$ sudo targetcli
targetcli GIT_VERSION (rtslib 3.0.pre4.1~g1b33ceb)
Copyright (c) 2011-2014 by Datera, Inc.
All rights reserved.

/> cd backstores
/backstores> ls
o- backstores ................................................................................................................ [...]
  o- fileio .................................................................................................... [2 Storage Objects]
  | o- lun0 ...................................................................................... [/storage/lun1.img 2.0Gactivated]
  | o- lun1 ..................................................................................... [/storage/lun2.img 10.0Gactivated]
  o- iblock ..................................................................................................... [0 Storage Object]
  o- pscsi ...................................................................................................... [0 Storage Object]
  o- rd_mcp ..................................................................................................... [0 Storage Object]
/backstores>