tgt needs restart to find LUN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tgt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I've got a KVM guest running Quantal server (as per CD install 2012-09-01) and it runs tgtd with a single target
(the target is an LVM lv - I'll attach any configs that apport hasn't attached)
If I just boot the vm, the guests don't see the disc - when they log in they just see the 'controller' (LUN 0),
if I restart tgtd then they see the disc (LUN 1).
I've edited /etc/init/tgt.conf to add the flag to specify two portals and to turn on debug.
Dave
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: tgt 1:1.0.17-1ubuntu2
ProcVersionSign
Uname: Linux 3.5.0-13-generic x86_64
ApportVersion: 2.5.1-0ubuntu4
Architecture: amd64
Date: Sat Sep 8 21:55:14 2012
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Alpha amd64 (20120901)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: tgt
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
This is the tgt conf that specifies the target:
root@server1: /var/log# cat /etc/tgt/ conf.d/ dag.conf
# Sample target with one LUN only. Defaults to allow access for all initiators:
#
#iSNSServerIP 192.168.122.10
#iSNSServerPort 3205
#iSNSAccessControl On
#iSNS On
<target iqn.2008- 09.com. example: server1. share1> server1- share1
backing-store /dev/mapper/
</target>