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
-- Logs begin at Mon 2016-08-08 12:01:24 CEST, end at Thu 2016-08-11 10:53:22 CEST. -- Aug 08 12:01:53 HOST iscsid[1126]: iSCSI logger with pid=1129 started! Aug 08 12:01:53 HOST open-iscsi[1084]: Starting iSCSI initiator service: iscsid. Aug 08 12:01:53 HOST open-iscsi[1084]: Setting up iSCSI targets: Aug 08 12:01:54 HOST iscsid[1129]: iSCSI daemon with pid=1130 started! Aug 08 12:01:57 HOST iscsid[1129]: connect to 192.168.134.100:3260 failed (No route to host) Aug 08 12:01:59 HOST open-iscsi[1084]: Logging in to [iface: default, target: iqn.2002-10.com.infortrend:raid.sn7802675.001, portal: 192.168.134.100,3260] (multiple) Aug 08 12:01:59 HOST open-iscsi[1084]: Login to [iface: default, target: iqn.2002-10.com.infortrend:raid.sn7802675.001, portal: 192.168.134.100,3260] successful. Aug 08 12:01:59 HOST open-iscsi[1084]: . Aug 08 12:01:59 HOST open-iscsi[1084]: Activating iSCSI volume groups: virthosts Couldn't find device with uuid aLUEMH-r0mE-JubT-GB13-H6Hr-4ECS-wcHCBp. Aug 08 12:01:59 HOST open-iscsi[1084]: Refusing activation of partial LV virthosts/bardata. Use '--activationmode partial' to override. Aug 08 12:01:59 HOST open-iscsi[1084]: 20 logical volume(s) in volume group "virthosts" now active Aug 08 12:01:59 HOST open-iscsi[1084]: . Aug 08 12:01:59 HOST open-iscsi[1084]: Mounting network filesystems:. Aug 08 12:01:59 HOST open-iscsi[1084]: Enabling network swap devices:. Aug 08 12:02:00 HOST iscsid[1129]: Connection1:0 to [target: iqn.2002-10.com.infortrend:raid.sn7802675.001, portal: 192.168.134.100,3260] through [iface: default] is operational now
-- Logs begin at Mon 2016-08-08 12:01:24 CEST, end at Thu 2016-08-11 10:53:22 CEST. -- Aug 08 12:01:53 HOST iscsid[1126]: iSCSI logger with pid=1129 started! Aug 08 12:01:53 HOST open-iscsi[1084]: Starting iSCSI initiator service: iscsid. Aug 08 12:01:53 HOST open-iscsi[1084]: Setting up iSCSI targets: Aug 08 12:01:54 HOST iscsid[1129]: iSCSI daemon with pid=1130 started! Aug 08 12:01:57 HOST iscsid[1129]: connect to 192.168.134.100:3260 failed (No route to host) Aug 08 12:01:58 HOST kernel: igb 0000:02:00.1 eth1: igb: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX Aug 08 12:01:59 HOST kernel: scsi8 : iSCSI Initiator over TCP/IP Aug 08 12:01:59 HOST kernel: scsi 8:0:0:0: Direct-Access IFT A16E-G2130-4 373I PQ: 0 ANSI: 5 Aug 08 12:01:59 HOST kernel: sd 8:0:0:0: Attached scsi generic sg4 type 0 Aug 08 12:01:59 HOST kernel: sd 8:0:0:0: [sdb] 40960000000 512-byte logical blocks: (20.9 TB/19.0 TiB) Aug 08 12:01:59 HOST kernel: scsi 8:0:0:1: Direct-Access IFT A16E-G2130-4 373I PQ: 0 ANSI: 5 Aug 08 12:01:59 HOST kernel: sd 8:0:0:0: [sdb] Write Protect is off Aug 08 12:01:59 HOST kernel: sd 8:0:0:0: [sdb] Mode Sense: 8f 00 00 08 Aug 08 12:01:59 HOST kernel: sd 8:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Aug 08 12:01:59 HOST kernel: sd 8:0:0:1: Attached scsi generic sg5 type 0 Aug 08 12:01:59 HOST kernel: sd 8:0:0:1: [sdc] 9824428032 512-byte logical blocks: (5.03 TB/4.57 TiB) Aug 08 12:01:59 HOST kernel: scsi 8:0:0:2: Enclosure IFT A16E-G2130-4 373I PQ: 0 ANSI: 4 Aug 08 12:01:59 HOST kernel: sd 8:0:0:1: [sdc] Write Protect is off Aug 08 12:01:59 HOST kernel: sd 8:0:0:1: [sdc] Mode Sense: 8f 00 00 08 Aug 08 12:01:59 HOST open-iscsi[1084]: Logging in to [iface: default, target: iqn.2002-10.com.infortrend:raid.sn7802675.001, portal: 192.168.134.100,3260] (multiple) Aug 08 12:01:59 HOST open-iscsi[1084]: Login to [iface: default, target: iqn.2002-10.com.infortrend:raid.sn7802675.001, portal: 192.168.134.100,3260] successful. Aug 08 12:01:59 HOST open-iscsi[1084]: . Aug 08 12:01:59 HOST kernel: ses 8:0:0:2: Attached Enclosure device Aug 08 12:01:59 HOST kernel: sd 8:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Aug 08 12:01:59 HOST kernel: ses 8:0:0:2: Attached scsi generic sg6 type 13 Aug 08 12:01:59 HOST kernel: sdb: sdb1 Aug 08 12:01:59 HOST kernel: sdc: sdc1 Aug 08 12:01:59 HOST kernel: sd 8:0:0:0: [sdb] Attached SCSI disk Aug 08 12:01:59 HOST kernel: sd 8:0:0:1: [sdc] Attached SCSI disk Aug 08 12:01:59 HOST open-iscsi[1084]: Activating iSCSI volume groups: virthosts Couldn't find device with uuid aLUEMH-r0mE-JubT-GB13-H6Hr-4ECS-wcHCBp. Aug 08 12:01:59 HOST open-iscsi[1084]: Refusing activation of partial LV virthosts/bardata. Use '--activationmode partial' to override. Aug 08 12:01:59 HOST open-iscsi[1084]: 20 logical volume(s) in volume group "virthosts" now active Aug 08 12:01:59 HOST open-iscsi[1084]: . Aug 08 12:01:59 HOST open-iscsi[1084]: Mounting network filesystems:. Aug 08 12:01:59 HOST open-iscsi[1084]: Enabling network swap devices:. Aug 08 12:02:00 HOST iscsid[1129]: Connection1:0 to [target: iqn.2002-10.com.infortrend:raid.sn7802675.001, portal: 192.168.134.100,3260] through [iface: default] is operational now