06-01-2017
This assumes that your Linux is a Debian derivative?
You need to ensure that you have an iscsi initiator as part of the distribution or you need to install one. Then you can run some form of 'discovery' command against the SAN ip address and see what storage it offers you. Then you can start to format it and access it.
Debian / Ubuntu Linux Connect to an iSCSI Volume – nixCraft
Please provide more information on what you know and don't know.
This User Gave Thanks to hicksd8 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a csv file. I need to add one column at begining of the file, It just contains one value "amr". I am able to add column but unable to put title to it.
Input Data:
call_id,conn_id,result,ani
1,100,hungup,7601234
2,101,hungup,7601235
Desired Output:
... (6 Replies)
Discussion started by: ravi.videla
6 Replies
2. Red Hat
hi all,
i have added new LUN to Redhat 5. i have already scanned LUN devices and it is confirmed that Kernel sees the newly added LUN's. i have used /proc/partitions and verified that my disks are there.
However, i cannot find my disk using fdisk -l command. I am not sure what did i... (2 Replies)
Discussion started by: gisu0602
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I just forgot what command we can use to open a file, and then see its updates, I remember that there is an option -f ,but with what command :wall:
Tx
Trent (1 Reply)
Discussion started by: trento17
1 Replies
4. Red Hat
Hi Everyone,
I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out... (2 Replies)
Discussion started by: bobby320
2 Replies
5. Solaris
hello,
i am an oracle DBA and trying to scan a newly created LUN of 200 GB on fiber channel by SAN admin.we have solaris 10 and SANtoolkit is installed.i tried following to get the new LUN at my machine. go /opt/Netapp/Santoolkit/bin and then ./sanlun lun show but i see only the existing... (12 Replies)
Discussion started by: janakors
12 Replies
6. Red Hat
Calling all Linux GURU's.
The purpose of this thread is to try an recreate what we already have stood up in my environment, however the steps i am having to produce my own.
I have got multiple applications that dump the data to various LUNs, the LUNs are managed by an Enterprise SAN... (11 Replies)
Discussion started by: jcejka
11 Replies
7. Hardware
Hi ,
I have created one new lun in my SAN storage and make it visible to my HP servers , but the fdisk -l output is somehow confusing. Do not know what to do next ----------
fdisk -l /dev/sdo1
Disk /dev/sdo1 (Sun disk label): 64 heads, 32 sectors, 10238 cylinders
Units =... (7 Replies)
Discussion started by: mishra.sankar
7 Replies
8. UNIX for Advanced & Expert Users
My project is on solaris 10 using cvs 1.12.13. A team member has added a new file to the repo using the add command followed by commit. When another team member executes the status command in the directory containing the new file they do not get notifiction that there is a file that needs to be... (0 Replies)
Discussion started by: twk
0 Replies
9. Red Hat
Hi Folks,
I am unable to detected newly added HDD in my redhat-5 OS.
I am expecting to get /dev/sdb.
Following are the utilized commands or syntax.
root@hostname% cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.4 (Tikanga) echo "- - -" > /sys/class/scsi_host/host0/scan %... (1 Reply)
Discussion started by: Sricharan21
1 Replies
10. Linux
Hi
I need to identify a newly attached LUN from NetApp on a linuxserver running uname -o
GNU/Linux
I have first run the df -h and got the following:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_outsystemdb-lv_root
50G 2.7G 45G ... (3 Replies)
Discussion started by: fretagi
3 Replies
LEARN ABOUT NETBSD
libiscsi
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