[Pkg-iscsi-maintainers] Bug#833917: open-iscsi: LVM fails to see iSCSI targets for non-mounted devices with systemd.

IOhannes m zmölnig (Debian/GNU) umlaeute at debian.org
Thu Aug 11 09:16:55 UTC 2016


thanks for the prompt reply.

On 2016-08-10 15:52, Christian Seiler wrote:
> Could you give me the output of the following?
> 
> journalctl -u open-iscsi

attached as open-iscsi.log

i have also attached a 2nd logfile open-iscsi2.log, which contains some
more messages (after the initial connection to the iSCSI target failed
and before open-iscsi tries to reactivate the VG) from the kernel,
shwing how the interface is being brought up.

/dev/sdb and /dev/sdc are both LUNs on the iSCSI target, with /dev/sdc1
being the PV that is "missing" for the virthosts VG:

# pvdisplay /dev/sdc1
  --- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               virthosts
  PV Size               4.57 TiB / not usable 2.98 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              1199270
  Free PE               937126
  Allocated PE          262144
  PV UUID               aLUEMH-r0mE-JubT-GB13-H6Hr-4ECS-wcHCBp

#

> 
> Also, since you upgraded from squeeze could you also check the
> following?
> 
> md5sum /etc/init.d/open-iscsi
> dpkg-query --showformat='${Conffiles}\n' --show open-iscsi

# md5sum /etc/init.d/open-iscsi
817ffebd8f614186bc8b71bf04fc5e74  /etc/init.d/open-iscsi
# dpkg-query --showformat='${Conffiles}\n' --show open-iscsi
 /etc/default/open-iscsi 9ee140f93df0f1dbacb2b31f10f3e048
 /etc/init.d/open-iscsi 817ffebd8f614186bc8b71bf04fc5e74
 /etc/init.d/umountiscsi.sh 3979757143a96910fa4c9a6237cbd58c
 /etc/iscsi/initiatorname.iscsi 300e739ab922027433765db3a88921c1
 /etc/iscsi/iscsid.conf f156fdcd48f575760452f8d72ad8546a
#

so it seems that my /etc/init.d/open-scsi is pristine enough...

and while i'm there:
# uname -a
Linux HOST 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3
(2016-07-02) x86_64 GNU/Linux

mgfasdr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: open-iscsi.log
Type: text/x-log
Size: 1590 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20160811/2aad1414/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: open-iscsi2.log
Type: text/x-log
Size: 3313 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20160811/2aad1414/attachment-0001.bin>


More information about the Pkg-iscsi-maintainers mailing list