search for: iscsiadm

Displaying 20 results from an estimated 65 matches for "iscsiadm".

2011 Feb 28
2
can't disconnec iSCSI targets, please help
Hi, I'm trying to disconnect some iSCSI targets, but can't seem to. [root at localhost ~]# iscsiadm -m session tcp: [1] 192.168.2.202:3260,1 iqn.2011.01.22.freenas.nvr:500gb tcp: [3] 192.168.2.200:3260,1 iqn.2011-2.za.co.securehosting:RAID.thin3.vg0.1tba tcp: [4] 192.168.2.202:3260,1 iqn.2011.01.22.freenas.nvr:extent0 tcp: [5] 192.168.2.200:3260,1 iqn.2011-2.za.co.securehosting:RAID.iscsi0.vg0.50...
2011 Feb 15
1
working with multiple password protected iSCSI targets on one host
...rd discovery.sendtargets.auth.username = My_ISCSI_USR_NAME discovery.sendtargets.auth.password = MyPassword But, now I need to mount another iSCSI target, from a different SAN that has a different username & password than whan I have configured here for the one already mounted. How do I tell iscsiadm which CHAP settings to use with which iSCSI target? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532
2008 Feb 16
1
problems with iscsiadm
Hello, I'm fairly new to centos and to iscsi, I have installed a fresh copy of centos (CentOS release 5 (Final)) and installed iscsi-initator-utils, iscsiadm -V shows iscsiadm version 2.0-865 . when i try to connect to iscsi target it doesnt work ... it just stays idle , i try something like: iscsiadm -m discovery -t st -p 172.20.2.76 show or with -m node .... --login ...etc, none works. using the same configuration on ubuntu gutsy, same version thi...
2013 Jul 22
1
Bug#717573: XCP: Cannot connect to iSCSI target
Package: xcp-storage-managers Version: 0.1.1-3 Severity: normal XCP cannot use iscsi block devices. Fails with iscsiadm: No active sessions. I ran the following commands trying to diagnose the problem: First introducing a SR and then creating a PBD with the needed configuration for the iscsi block device. These steps work fine but when I tried to plug the PBD I got the error: root at xcpcompute1:~# SR_UUID=$(uuidg...
2012 Oct 30
1
Bug#691808: xcp-storage-managers: Another wrong binary path + wrong parameter in storage managers backend
...n> device-config:SCSIid=<my-scsi-id> type=lvhdoiscsi The corrections in bugs reports #691805 and #691806 seems to solve not all problems. Now I get this error message on STDOUT: Error code: SR_BACKEND_FAILURE_202 Error parameters: , General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions. ], Log messages in syslog and in /var/log/SMlog did not helped. So I passed to analyze the Python scripts in the /usr/lib/xcp/sm/ directory and found the following problems and the respective possible solutions: 1. In /usr/lib/xcp/sm/lvutil.py there are two calls (lines 302 a...
2013 Jul 04
1
Failed to create SR with lvmoiscsi on xcp1.6[ [opterr=Logical Volume partition creation error [opterr=error is 5]]
...;', stderr: ' Device /dev/disk/by-id/scsi-1IET_00010001 not found (or ignored by filtering). ' [23260] 2013-07-04 17:44:52.315650 Raising exception [55, Logical Volume partition creation error [opterr=error is 5]] [23260] 2013-07-04 17:44:52.385703 lock: acquired /var/lock/sm/iscsiadm/running [23260] 2013-07-04 17:44:52.399347 lock: released /var/lock/sm/iscsiadm/running [23260] 2013-07-04 17:44:52.399472 lock: closed /var/lock/sm/iscsiadm/running [23260] 2013-07-04 17:44:52.399785 lock: acquired /var/lock/sm/iscsiadm/running [23260] 2013-07-04 17:44:53.975428...
2011 Jan 17
1
can't start iscsi - and can't find answer on google
...sn't start at all, and gives the following error: [root at 2U-NAS ~]# /etc/init.d/iscsi status iscsid is stopped [root at 2U-NAS ~]# /etc/init.d/iscsi start iscsid is stopped Starting iSCSI daemon: Unable to create pid file: /var/run/brcm_iscsiuio.pid [FAILED] Setting up iSCSI targets: iscsiadm: No records found! [ OK ] [root at 2U-NAS ~]# /etc/init.d/iscsi restart Stopping iSCSI daemon: iscsiadm: can not connect to iSCSI daemon (111)! iscsiadm: initiator reported error (20 - could not connect to iscsid) iscsiadm: Could not st...
2011 Sep 09
3
CentOS5 with Dell Broadcom iSCSI Offload, does it work ?
Hi all, After finding multiples answers to this question via google, but without making it work on my servers. Has anybody iSCSI Offload working on a Dell Server with Broadcom NICs ? My environment: I'm running CentOS 5.6 CR, on a Dell PowerEdge R710 with Broadcom Corporation NetXtreme II BCM5709 conecting to an EMC CX4-120 SAN, via 2x Cisco 2960G-24TC-L switches. It's working
2012 Dec 02
1
iSCSI storage pool autostart
...ng errors in the libvirtd.log file but they don't really give me much as to what could be causing this. I also looked in the messages log file but didn't find anything that looked useful. *2012-11-27 20:06:50.845+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbin/iscsiadm ?mode session) unexpected exit status 21 * *2012-11-27 20:06:50.890+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbin/iscsiadm ?mode session) unexpected exit status 21 * *2012-11-27 20:07:10.159+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbi...
2013 Sep 25
3
Best Practice to remove an ISCSI LVM from a system
...at would be the best way to remove an iscsi lvm storage from a server. (removing all reference to that storage etc.) The storage in question will be reset and reformated and used on a different server; so no LVM export is needed. Do I have to do lvremove ..., vgremove ..., pvremove ... and do an iscsiadm -m node -T ... -p ... -u and iscsiadm -m node -o delete -T ... -p ... in order to achieve that? Or is there some more simple way? Thanks for any suggestion and best regards . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at fil...
2013 Dec 22
2
Re: Connect libvirt to iSCSI target
...5</mode> <owner>-1</owner> <group>-1</group> </permissions> </target> </pool> > Also, do you need to authenticate to the iSCSI target? Not yet. To rule out authentication issues for testing I turned off authentication. > The iscsiadm will use '/etc/iscsi/iscsid.conf'. See the > node.session.auth.{authmethod | username | password} fields, so > while iscsiadm may work, when libvirt goes to connect it fails. Thanks for pointing that out, but I don't think it's the case here. > Looking at the output in th...
2018 Apr 09
0
iscsiadm: Could not perform SendTargets discovery: encountered non-retryable iSCSI login failure
Hello I know this not the place to ask help, but i can't send messages to iscsi list. :( I have 3 CentOS 6 connecting to a ISCSI server with Targecli suddenly they lost connection and i receive this error when i performance iscsiadm --mode discovery --type sendtargets --portal x.x.x.x iscsiadm: Could not perform SendTargets discovery: encountered non-retryable iSCSI login failure I have already changed the password for the ACLs. Thanks for attention.
2013 Dec 18
3
Connect libvirt to iSCSI target
...h 2) virsh pool-start foo error: Failed to start pool foo error: internal error: cannot find session virsh -c qemu:///system pool-start foo error: Failed to start pool foo error: internal error: cannot find session Why can't libvirt find the session, and which session? Running iscsiadm --mode discovery --type sendtargets --portal vmhost:3260,1 succeeds and lists the targets. How to connect libvirt to the iSCSI target? System info: Debian sid, Linux 3.11-2-amd64 libvirtd (libvirt) 1.1.4 virsh version: 1.1.4 iSCSI target: FreeNAS-9.1.1 Best regards Marco ยน https://access.red...
2013 Apr 24
7
[PATCH] hotplug/Linux: add iscsi block hotplug script
...+# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. + +remove_label() +{ + echo $1 | sed "s/^\("$2"\)//" +} + +check_tools() +{ + if ! type iscsiadm > /dev/null 2>&1; then + echo "Unable to find iscsiadm tool" + return 1 + fi + if [ "$multipath" = "y" ] && ! type multipath > /dev/null 2>&1; then + echo "Unable to find multipath" + return 1 +...
2013 Dec 23
0
Re: Connect libvirt to iSCSI target
...t; <group>-1</group> > </permissions> > </target> > </pool> > >> Also, do you need to authenticate to the iSCSI target? > > Not yet. To rule out authentication issues for testing I turned off > authentication. > >> The iscsiadm will use '/etc/iscsi/iscsid.conf'. See the >> node.session.auth.{authmethod | username | password} fields, so >> while iscsiadm may work, when libvirt goes to connect it fails. > > Thanks for pointing that out, but I don't think it's the case here. > >>...
2008 Mar 27
0
open-iscsi and bond issue
Hi list, I had setup my xen box with bond in active-backup mode. I had install open-iscsi as initiator to attach an external iscsi san to my box but open-iscsi didn''t work. When i run this command: #iscsiadm -m node -T iqn.2008-03.local.foo:iSCSI.test.disk1 -l I retrive, after some seconds, this error Logging in to [iface: iface0, target: iqn.2008-03.local.foo:iSCSI.test.disk1, portal: 192.168.2.100,3260] iscsiadm: Could not login to [iface: iface0, target: iqn.2008-03.local.foo:iSCSI.test.disk1, por...
2009 Oct 09
1
Possible to run iscsi-target and initiator on same server?
...cess all the way to creating a database. I have all the prerequisites except the shared storage and thought I'd give this a try. I'm running: - CentOS 5.3 kernel 2.6.18-164.el5 - iscsitarget-1.4.18-1 - iscsi-initiator-utils-6.2.0.868-0.18.el5_3.1 I can discover and login to the node using iscsiadm on the server that is not also running iet, and see the new scsi disk. When I try to login using iscsiadm on the server that is running the ietd daemon, I see packets going over the lo interface in both directions, but I get error 8 - connection timed out. Wireshark is reporting TCP Previous segme...
2014 Feb 25
1
libvirt iSCSI target discovery
Hi, Is it possible to discover iSCSI targets using libvirt API..? OR is it possible to get the similar results of below commands using libvirtAPI..? iscsiadm --mode discovery --type sendtargets --portal server1.example.com sudo iscsiadm -m discovery -t st -p 192.168.0.10 Regards Sijo
2008 Jun 25
6
dm-multipath use
Are folks in the Centos community succesfully using device-mapper-multipath? I am looking to deploy it for error handling on our iSCSI setup but there seems to be little traffic about this package on the Centos forums, as far as I can tell, and there seems to be a number of small issues based on my reading the dm-multipath developer lists and related resources. -geoff Geoff Galitz Blankenheim
2008 Jan 31
2
ISCSI help
...technology but having recently invested in the technology I am trying to find out exactly what can and can not be manipulated, filesystem wise, without requiring a reboot. I am using the inbuilt software ISCSI initiator and multipathing in CentOS 5.1. My steps so far. Create 10GB volume on SAN # iscsiadm -m session -R # fdisk /dev/mapper/mpath0 # kpartx -a /dev/mapper/mpath0 # mke2fs -j /dev/mapper/mpath0p1 # mount /dev/mapper/mpath0p1 /test-mount <--works fine to here--> Now I want to extend the volume on the SAN to 15GB run fdisk and use resize2fs to extend the filesystem, is this possible...