9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all,
i'm new here and i have a question,
i wanted to know, what should happen if i delete a LUN that is already mounted on one of my initiators.
thanks! (3 Replies)
Discussion started by: slavash
3 Replies
2. Solaris
I have a Sun Blade 2500 with SUN 5.9 OS installed.
I have configured ISCSI SAN and one of my Red Hat OS can accessed/mount the ISCSI SAN disk
Now i want to access/mount another ISCSI SAN disk on SUN solaris. Is that possible ?
Thanks (1 Reply)
Discussion started by: z_haseeb
1 Replies
3. AIX
I have an Equallogic SAN that I connect to from AIX (as well as Windows)
I had configured the connection and created the volumes and filesystems and all was working great.
Then one day, no communication between the SAN and the AIX (I can ping though) Anything I do on the AIX box at this time... (2 Replies)
Discussion started by: oldmanjoe
2 Replies
4. UNIX for Dummies Questions & Answers
how to change ethernet cable of iscsi initiator (iscsi client) (0 Replies)
Discussion started by: pankajd
0 Replies
5. Solaris
Hi all
iscsiadm / iscsitadm.
Ive created two devices on a host.
# iscsitadm list target
Target: 1-disk0
iSCSI Name: iqn.1986-03.com.sun:02:f105ddf3-52a4-ed7a-9590-c3d354b8fc32.1-disk0
Connections: 1
Target: 1-disk1
iSCSI Name:... (0 Replies)
Discussion started by: sbk1972
0 Replies
6. Filesystems, Disks and Memory
I am trying to set up iscsi linux clients and am having some problems. iscsid is running, I can do discovery fine, but adding the iscsi lun I get the following error: iscsiadm -m node -T iqn.xxxxxxxxxxxxxx -p y.y.y.y:3260 -l Logging in to iscsid: session already running. iscsiadm: Could not... (0 Replies)
Discussion started by: humbletech99
0 Replies
7. OS X (Apple)
I have configured iSCSI on server with linux running on it .
On APPLE I have downloaded gloablSAN. When globalSAN is started ,it asks for target IP . I have given target IP . It has detected the disks .
But when i use "disk utilities " , here the ISCSI disk are not displayed. except the... (0 Replies)
Discussion started by: pradeepreddy
0 Replies
8. AIX
Hi all,
I have a p520 machine running 5.2ML9 with a 2Gb FC HBA from IBM, i.e.
# lscfg -vl fcs0
fcs0 U787A.001.DNZ06YM-P1-C3-T1 FC Adapter
Part Number.................80P4543
EC Level....................A
Serial Number...............1F4270A0B6
... (5 Replies)
Discussion started by: Bookie
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is there a command that will tell me which client machine started a process on my Solaris server?
what I'm trying to do is that :
I've noticed someone is running a program (in my case, the Oracle sqlplus program) by using a "ps -ef | grep sqlplus". Then I use "who" and "finger" and... (3 Replies)
Discussion started by: jamesloh
3 Replies
LIBISCSI(3) BSD Library Functions Manual LIBISCSI(3)
NAME
libiscsi -- iSCSI network storage protocol implementation
LIBRARY
iSCSI protocol library (libiscsi, -liscsi)
SYNOPSIS
#include <iscsi.h>
int
iscsi_target_set_defaults(iscsi_target_t *target);
int
iscsi_target_start(iscsi_target_t *target);
int
iscsi_target_listen(iscsi_target_t *target);
int
iscsi_target_shutdown(iscsi_target_t *target);
void
iscsi_target_write_pidfile(const char *filename);
int
iscsi_target_setvar(iscsi_target_t *target, const char *name, const char *value);
char *
iscsi_target_getvar(iscsi_target_t *target, const char *name);
int
iscsi_initiator_set_defaults(iscsi_initiator_t *initiator);
int
iscsi_initiator_start(iscsi_initiator_t *initiator);
int
iscsi_initiator_discover(iscsi_initiator_t *initiator, char *x, uint64_t a, int b);
int
iscsi_initiator_shutdown(iscsi_initiator_t *initiator);
int
iscsi_initiator_setvar(iscsi_initiator_t *initiator, const char *name, const char *value);
char *
iscsi_initiator_getvar(iscsi_initiator_t *initiator, const char *name);
DESCRIPTION
libiscsi is a library interface to the iSCSI target and initiator. This conforms to IETF RFC 3720. The corresponding command line utilities
for libiscsi are iscsi-initiator(8) and iscsi-target(8).
In normal operation, a process acting as a target (i.e. presenting storage to the network) will call iscsi_target_set_defaults() and will
then set various values using the iscsi_target_setvar() function. The value of a variable can be retrieved at any time using the
iscsi_target_getvar() function. When all of the variables have been set, the iscsi_target_start() function is called, and the block storage
will be served up by the process.
A useful illustration of the use of these functions can be found in the source code to the iscsi-target(8) utility.
The libiscsi library also provides an implementation of the client end of the iSCSI subsystem, which is known as the initiator. The process
acting as an initiator will first call the iscsi_initiator_set_defaults() function, to set default values for the initiator variables. Once
all the values have been set to the user preferences using the iscsi_initiator_setvar() function, then the iscsi_initiator_start() function
is called.
The libiscsi library can be used to perform iSCSI device discovery by calling the iscsi_initiator_discovery() function. This will return a
list of all the iSCSI targets which are serving up block storage according to the variables which have already been set.
SEE ALSO
iscsi-initiator(8), iscsi-target(8)
HISTORY
The libiscsi library first appeared in NetBSD 4.0. This programmatic interface to the iSCSI subsystem first appeared in NetBSD 6.0.
AUTHORS
Alistair Crooks <agc@NetBSD.org>.
BSD
February 19, 2011 BSD