Eddie Wai | 13 May 2013 18:42
Favicon

[PATCH 4/4] ISCSID: Added uip_mgmt_ipc source

As part of the iscsid to iscsiuio communication socket.

Signed-off-by: Eddie Wai <eddie.wai@...>
---
 usr/uip_mgmt_ipc.c |   41 +++++++++++++++++++++++++++++
 usr/uip_mgmt_ipc.h |   73 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+), 0 deletions(-)
 create mode 100644 usr/uip_mgmt_ipc.c
 create mode 100644 usr/uip_mgmt_ipc.h

diff --git a/usr/uip_mgmt_ipc.c b/usr/uip_mgmt_ipc.c
new file mode 100644
index 0000000..f3074ee
--- /dev/null
+++ b/usr/uip_mgmt_ipc.c
 <at>  <at>  -0,0 +1,41  <at>  <at> 
+/*
+ * uIP iSCSI Daemon/Admin Management IPC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * See the file COPYING included with this distribution for more details.
(Continue reading)

vikas.chaudhary | 9 May 2013 12:07

[PATCH 0/6] open-iscsi: Updates for open-iscsi

From: Vikas Chaudhary <vikas.chaudhary@...>

Mike,

Please review and apply following patches to open-iscsi.git tree
at your earliest convenience.
These patches include code optimization in iface code as well as
add support to set additional network parameter to iSCSI interface.

Kernel Patches for same is posted here:-
http://marc.info/?l=linux-scsi&m=136809521102233&w=2

Harish Zunjarrao (6):
      iscsi-tools: Remove numbers used for network parameter settings
      iscsi-tools: Use macro to set IPv4/IPv6 IP addresses
      iscsi-tools: Use single function to enable/disable network parameters
      iscsi-tools: Use single function to set integer network parameters
      iscsi-tools: Ignore network parameter if not enabled/disabled
      iscsi-tools: Additional parameters for network settings

Thanks,
Vikas.

--

-- 
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe@...
To post to this group, send email to open-iscsi@...
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

(Continue reading)

Chris Moore | 26 Apr 2013 01:06
Picon

How to contribute changes?

I'm working on adding open-isci support to a driver.  How would I go about getting changes accepted?
The only thing I'd need to change within open-iscsi is to add a new transport to usr/transport.c

Thanks,

Chris

--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
ggroups | 20 Apr 2013 21:04
Picon
Favicon

Can't find ISCSI drives after NAS firmware update

This is what it's all about: I've got a Linux network with an actual hardware server running two separate virtual machines and a QNAP NAS T-459 Pro+ as a fileserver. Since updating the QNAP firmware on the NAS, the main server cannot access the ISCSI drives anymore.

Effect: All net drives at the workstations are not accessible anymore, so you can't access any file from there.

The hardware server is running XenServer as a virtualisation software, providing one VM as a VPN gateway and another VM as a Samba server (192.168.1.33).

Whenever I try mounting the ISCSI drives on the Samba server using the UUID (as in /etc/fstab), I get:

server01:/home# mount 2d3e150d-a259-4a82-bfe5-f60c6785bc06 /mnt/nfs/backup -t ext3
mount: special device 2d3e150d-a259-4a82-bfe5-f60c6785bc06 does not exist

Same if I use:
mount /dev/sda1 /mnt/iscsi_d -t ext3


Though it is possible to access the QNAP-NAS (192.168.1.34) from the Samba server via ssh. I've mounted a NAS-folder on the Samba server using NFS.

Attached I will send you the last entries in /etc/logs/kmsg.

Have you got any ideas?

--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Antonio López | 19 Apr 2013 14:22
Picon

Automatic update of files between a group of hosts

Hello,

I have a virtual disk shared by a group of two hosts. Both are connecting to the virtual disk correctly, but if I write a file from one host to the virtual disk the other host cannot see it until the virtual disk is unmounted and mounted again. It happens the same from the other host. Both hosts are running linux, one is Ubuntu 10.04 and the other is Fedora 17.

I am concerned that this behavious can lead to data corruption, as one machine is not aware of changes made on the virtual disk by the other machine.

Is it possible to fix this issue by tunning any open-iscsi parameter?

Thanks in advance

Antonio

--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Eddie Wai | 12 Apr 2013 19:41
Favicon

[PATCH v4 0/3] ISCSITOOLS: Patchset to add the extraction of

Version 4:
- Added transport switch 'use_boot_info' to enable the overriding of
  the session's iface param with the boot_info or not.  This is only
  populated for iscsi_tcp and bnx2i so far.

Version 3:
- Added support for ISCSI_LLD_ROOT support as well
- Removed the 'boot_initiator' param because its not useful
- Added the 'boot_root' param to hold the 'ibft' or 'iscsi_root'N name to
  support non-ibft sessions
- Moved the boot_nic net param extraction out of the iscsi_sysfs_read_iface
  routine because it can affect iscsiadm iface config printouts

Version 2:
- Added boot_initiator to hold the ibft initiator name
- Added boot_targetN to hold the corresponding ibft target name
- Moved the boot_nic net param extraction to the iscsi_sysfs_read_iface
  routine
- Added extra check before eluding to use the boot_nic info

For the case when iscsid is invoked for the first time after pivot root
during iSCSI boot, the boot connection would fail to re-connect if the
ibft/iscsi_boot sysfs entry contains tagged vlan.

The problem was caused by the lack of such info in the iscsi_session sysfs
for sync_session to inherit from.

The enclosed patchset does the following:
1. Extract and save the ibft->ethernetN name to the boot_context->boot_nic
2. Pass the boot_nic info to be saved to the sessionN sysfs
3. Extract the sessionN boot_nic sysfs info and retrieve the corresponding
   net params

This 'boot_nic' kernel session sysfs entry will only be present for ibft
boot.  Corresponding kernel drivers will have to add the ISCSI_PARAM_BOOT_NIC
attribute to its attr_is_visible table.

The last patch provides the fix for the unconditional overwrite of the
iface struct even after the ibft net info was already extracted.

Please review.  Thanks.
Eddie

Eddie Wai (3):
  ISCSISTART: Saved ibft boot info to the session sysfs
  ISCSID: Added the extraction of the session boot info
  ISCSID: Added iface content override fix

 include/fw_context.h               |    3 ++
 include/iscsi_if.h                 |    4 +++
 include/iscsi_proto.h              |    1 +
 usr/config.h                       |    3 ++
 usr/idbm.c                         |    6 +++++
 usr/initiator_common.c             |   14 +++++++++++-
 usr/iscsi_sysfs.c                  |   40 ++++++++++++++++++++++++++++++++++++
 usr/iscsid.c                       |    8 ++----
 usr/transport.c                    |    2 +
 usr/transport.h                    |    1 +
 utils/fwparam_ibft/fwparam_sysfs.c |    8 +++++++
 11 files changed, 84 insertions(+), 6 deletions(-)

-- 
1.7.7.4

--

-- 
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe@...
To post to this group, send email to open-iscsi@...
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Ulrich Windl | 9 Apr 2013 16:49
Picon

checksumming with stable pages?

Hi!

I just read about "stable pages" in Linux > 3.8: Wasn't the reason for checksumming not working in
open-iscsi that page contents might be altered before being transmitted? To me it looks as if there is a
solution with stable pages now, but I was just browsing the surface...

Maybe Mike is willing to make s short statement ;-)

Regards,
Ulrich

--

-- 
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe@...
To post to this group, send email to open-iscsi@...
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

eriksejr | 9 Apr 2013 00:25
Picon

Issue with iSCSI & Fedora 18 & Ext4

Hello,
I've recently setup a Synology DS1512+ NAS as an iSCSI target and so far everything seems to be working fine with one exception. The kernel is filling my messages log with the lines below. This is getting spammed in there every couple of seconds, the only difference seems to be the sector.

Apr  8 00:42:43 mythbox kernel: [564210.444354] sd 17:0:0:0: [sdd]
Apr  8 00:42:43 mythbox kernel: [564210.444359] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr  8 00:42:43 mythbox kernel: [564210.444362] sd 17:0:0:0: [sdd]
Apr  8 00:42:43 mythbox kernel: [564210.444364] Sense Key : Illegal Request [current]
Apr  8 00:42:43 mythbox kernel: [564210.444368] sd 17:0:0:0: [sdd]
Apr  8 00:42:43 mythbox kernel: [564210.444371] Add. Sense: No additional sense information
Apr  8 00:42:43 mythbox kernel: [564210.444373] sd 17:0:0:0: [sdd] CDB:
Apr  8 00:42:43 mythbox kernel: [564210.444375] Write Same(10): 41 00 44 c0 21 00 00 08 00 00
Apr  8 00:42:43 mythbox kernel: [564210.444383] end_request: I/O error, dev sdd, sector 1153442048
Apr  8 00:42:43 mythbox kernel: [564210.444468] sdd1: WRITE SAME failed. Manually zeroing.

As I understand it WRITE SAME is an optional command which is not supported by all devices. Is there a way to disable its use, or at least get rid of the log spam?

Thanks.

--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
eriksejr | 9 Apr 2013 00:17
Picon

Issue with Open-iSCSI on Fedora 18 & Ext4

Hello,
I recently got a synology DS1512+ NAS and configured it as an iSCSI target. I had no problem with the configuration nor with getting it to connect, login and mount the drive. The problem is whats showing up in my system logs:

Apr  8 00:42:43 mythbox kernel: [564210.444354] sd 17:0:0:0: [sdd]
Apr  8 00:42:43 mythbox kernel: [564210.444359] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr  8 00:42:43 mythbox kernel: [564210.444362] sd 17:0:0:0: [sdd]
Apr  8 00:42:43 mythbox kernel: [564210.444364] Sense Key : Illegal Request [current]
Apr  8 00:42:43 mythbox kernel: [564210.444368] sd 17:0:0:0: [sdd]
Apr  8 00:42:43 mythbox kernel: [564210.444371] Add. Sense: No additional sense information
Apr  8 00:42:43 mythbox kernel: [564210.444373] sd 17:0:0:0: [sdd] CDB:
Apr  8 00:42:43 mythbox kernel: [564210.444375] Write Same(10): 41 00 44 c0 21 00 00 08 00 00
Apr  8 00:42:43 mythbox kernel: [564210.444383] end_request: I/O error, dev sdd, sector 1153442048
Apr  8 00:42:43 mythbox kernel: [564210.444468] sdd1: WRITE SAME failed. Manually zeroing.

The NAS appears to work fine. The performance is good, its fully accessable etc but the kernel is filling my logs with this adding these 10 lines every few seconds. I did notice this only appears to be an issue when the target is using ext4 as the filesystem.

As I understand it WRITE SAME is an optional command to improve performance not supported by every device. Is it possible to disable its use, or at the very least, stop the kernel/driver from filling the logs with these messages?

Thanks.

--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
geeoooh | 4 Apr 2013 20:46
Picon

need help before I kill myself

Hello,
I have been trying to setup an iSCSI storage array for several weeks now. I have some things working but others are not. I am running out of time and am willing to to hire someone with the skill and experience to help me out. If this kind of request is not accepted on this list I apologize and will stop posting at the first notice I receive. If it's ok then please respond.

Here is what I have and need help with. I have purchased a Synology DS1812+, running the latest DSM management software and configured with 14 TB of storage. I want to use the array for my  /home and /backup partitions on my web hosting servers. There will be about 3-4 servers using it for this purpose. The individiual servers will be running CentOS, various versions, and open-iscsi as the initiator. I have purchaes a few ToE cards (the broadcom 5709) for the physical connections. I am currently working on a new server (centos 6.4) and testing the concept out. I have been able to connect using the server's onboard NIC but not the ToE card. I have played with the iface config but it refuses to connect.

I am not going to post the details as I am hoping to have someone help me out with this. I am not a very experienced Linux administrator but I can manage with proper instruction.

Thanks for reading
jservices

--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
xiaoxianghua | 5 Apr 2013 03:50
Picon

open-iscsi kernel code

I just checked out open-iscsi from github, and noticed there is a kernel directory which seems outdated and not even included in Makefile's default build(i.e. make all), open-iscsi is really about iSCIS initiator these days, is the kernel driver there solely for historical reason?

Thanks,

--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gmane