Package: lio-utils
Version: 3.1+git2.fd0b34fd-2
Severity: normal

Installed targetcli/lio-utils.  Manually enabled configfs (note: I
updated initscripts to do this in mountkernfs).

ravenclaw% sudo targetcli
targetcli GIT_VERSION (rtslib GIT_VERSION)
Copyright (c) 2011-2013 by Datera, Inc.
All rights reserved.
/> ls
o- / 
........................................................................................
 [...]
  o- backstores 
............................................................................. 
[...]
  | o- fileio 
.................................................................. [0 Storage 
Object]
  | o- iblock 
.................................................................. [1 Storage 
Object]
  | | o- ppc-linux ......................................... 
[/dev/ravenclaw/ppc-linux deactivated]
  | o- pscsi 
................................................................... [0 Storage 
Object]
  | o- rd_dr 
................................................................... [0 Storage 
Object]
  | o- rd_mcp 
.................................................................. [0 Storage 
Object]
  o- ib_srpt 
.......................................................................... [0 
Targets]
  o- iscsi 
............................................................................ [0 
Targets]
  o- loopback 
......................................................................... [0 
Targets]
  o- qla2xxx 
.......................................................................... [0 
Targets]
  o- tcm_fc 
........................................................................... [0 
Targets]

You can see I made a single iblock backing store.  What's missing here is the
"/sbp" target for firewire devices; it's not possible to export over firewire
with the current setup.  My intention here is to export the above to a powerpc
system to allow it do run directly from the exported device, which I can then
snapshot/clone/replace as required.

I tried doing "sudo modprobe sbp_target" which loads the module, but
it's not then possible to restart the target script:

% sudo modprobe sbp_target
% sudo invoke-rc.d target restart
Unloading fabric/configfs: Successfully released fabric: 
/sys/kernel/config/target/srpt
Successfully released fabric: /sys/kernel/config/target/qla2xxx
Successfully released fabric: /sys/kernel/config/target/loopback
Successfully released fabric: /sys/kernel/config/target/fc
  [OK]
Unloading LIO-Target/ConfigFS fabric:   [OK]
Unloading target_core_mod/ConfigFS core: rmmod: ERROR: Module target_core_stgt 
is not currently loaded
rmmod: ERROR: Module target_core_mod is in use by: sbp_target
Unable to rmmod target_core_mod
  [FAILED]: 1
Calling START /etc/init.d/target ERROR, target_core_mod/ConfigFS already active

So it looks like the target script, and/or its helper scripts, needs to
be able to load/unload the sbp_target module like for the other modules,
and perhaps it needs a helper script in its own right?

Having not yet got this working, there may be other prerequisites in
addition to get sbp working, but I'm not an expert LIO by any means.


Regards,
Roger

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (550, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lio-utils depends on:
ii  libc6   2.17-97
ii  python  2.7.5-5

lio-utils recommends no packages.

lio-utils suggests no packages.

-- Configuration Files:
/etc/target/lio_start.sh changed [not included]
/etc/target/tcm_start.sh changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to