9 More Discussions You Might Find Interesting
1. Linux
Hi
I am not familiar with the linux, but I was asked to create a file system on a LUN from the NetApp that was mapped to the linux server.
The server is runing:
uname -a
Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
and now... (6 Replies)
Discussion started by: fretagi
6 Replies
2. Red Hat
Hi All,
I am new for this blog and this is my first Query on this blog. I would like to dael with graet masters on linux.
Here we go,
After storage people created the LUN, How to add that LUN to Linux server. (Make that LUN visibility on linux server.) ?
How to view the LUN... (5 Replies)
Discussion started by: abhay1983
5 Replies
3. 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
4. Red Hat
Hi,
I have a SAN LUN of 550 GB created as an ext3 partition of the entire lun and need to make the lun and partition larger... 600 GB
# fdisk -l /dev/sdj
Disk /dev/sdj: 590.5 GB, 590558003200 bytes
255 heads, 63 sectors/track, 71797 cylinders
Units = cylinders of 16065 * 512 = 8225280... (3 Replies)
Discussion started by: jamba1
3 Replies
5. Shell Programming and Scripting
Hi
I want to include in my script a test for DB connection with jdbc:thin connection string(not using tnsnames.ora)
For example:... (3 Replies)
Discussion started by: gdan2000
3 Replies
6. Solaris
I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer.
thanks (4 Replies)
Discussion started by: uuontario
4 Replies
7. Filesystems, Disks and Memory
Am trying to differentiate between the local disks and LUN's presented from SAN onto the server. Have Tried fdisk -l, however I quite cudn't differentiate the local disks from SAN presented LUN's.
Can you pls. let me know the procedure and commands to find this.
OS - RHEL 4
SAN - EMC... (3 Replies)
Discussion started by: Crazy_murli
3 Replies
8. AIX
Hi, I was told that 300GB of LUN has been allocated to my server by the SAN group. apart from rootvg i have 2 volume groups(oracle) for which i need to add space as follows:
oradbvg 250GB to be added
oralvg 50GB
what are the steps that i should follow after iam being told that LUN has been... (4 Replies)
Discussion started by: karthikosu
4 Replies
9. Linux
Please m new around here! Can anyone take me thru implementing bootp on my thin clients via my central server?
Preciate ur assistance. Thanks folks! (2 Replies)
Discussion started by: chuk_uka
2 Replies
TARG(4) BSD Kernel Interfaces Manual TARG(4)
NAME
targ -- SCSI target emulator driver
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device targ
DESCRIPTION
The targ driver provides an interface for usermode programs to emulate SCSI target devices. A sample program that emulates a disk drive
(similar to da(4)) can be found in /usr/share/examples/scsi_target.
The targ driver supplies the control device /dev/targ. After opening the device, the file descriptor must be bound to a specific bus/tar-
get/LUN and enabled to process CCBs using the TARGIOCENABLE ioctl. The process then uses write(2) to send CCBs to the SIM and poll(2) or
kqueue(2) to see if responses are ready. Pointers to completed CCBs are returned via read(2). Any data transfers requested by the user CCBs
are done via zero-copy IO.
IOCTLS
The following ioctl(2) calls are defined in the header file <cam/scsi/scsi_targetio.h>.
TARGIOCENABLE (struct ioc_enable_lun) Enable target mode on the LUN specified by the following structure:
struct ioc_enable_lun {
path_id_t path_id;
target_id_t target_id;
lun_id_t lun_id;
int grp6_len;
int grp7_len;
};
The selected path (bus), target, and LUN must not already be in use or EADDRINUSE is returned. If grp6_len or grp7_len are
non-zero, reception of vendor-specific commands is enabled.
TARGIOCDISABLE Disable target mode and abort all pending CCBs. The CCBs may optionally be read as they complete. TARGIOCENABLE can then be
called to activate a different LUN. Multiple disable calls have no effect. The close(2) system call automatically disables
target mode if enabled.
TARGIOCDEBUG (int) Enables CAM_PERIPH debugging if the argument is non-zero, otherwise disables it.
FILES
<cam/scsi/scsi_targetio.h> describes the usermode interface.
/sys/cam/scsi/scsi_target.c is the driver source file.
/dev/targ is the control device.
SEE ALSO
/usr/share/examples/scsi_target, ahc(4), isp(4), scsi(4)
FreeBSD Target Information, http://www.root.org/~nate/freebsd/.
AUTHORS
The targ driver first appeared in FreeBSD 3.0 and was written by Justin T. Gibbs. It was rewritten for FreeBSD 5.0 by Nate Lawson
<nate@root.org>.
BUGS
Currently, only the ahc(4) and isp(4) drivers fully support target mode.
The ahc(4) driver does not support tagged queuing in target mode.
BSD
December 13, 2011 BSD