12-01-2012
Is this SPARC or x86?
What type of EMC?
Is the EMC the only iSCSI attached device?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI All,
Suddenly don't know what happened to redhat linux 7.2 any program start then itsn't listing while using ps -ef
ex: ./xyz this xyz program pid not showing in ps-ef
Pls let me know what is the reason for the same.
Thanks a lot in advance
Bache (7 Replies)
Discussion started by: bache_gowda
7 Replies
2. UNIX for Advanced & Expert Users
I'm running solaris 10 and this packages is installed
SUNWiscsir - Sun iSCSI Device Driver (root)
SUNWiscsiu - Sun iSCSI Management Utilities (usr)
But the commands iscsiadm or iscsitadm dont work.
He are not in my system. Do you know the problem. (1 Reply)
Discussion started by: simonquest
1 Replies
3. Shell Programming and Scripting
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies
4. Shell Programming and Scripting
I have the log file as this
date 18:00:00
date 18:01:02
date 18:02:00
date 19:06:00
date 18:03:00
date 18:05:00
I want to get date between 18:00:00 to 18:05:00.
I given the command as grep file name but it is not working.
Please give me reply.
Thanks & Regards,
Vijay, (3 Replies)
Discussion started by: bhas85
3 Replies
5. UNIX for Dummies Questions & Answers
In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH).
Thanks (0 Replies)
Discussion started by: ejjones
0 Replies
6. Solaris
hi ,
I have a Solaris server which is part of a domain. The IP for this Solaris box is allocated dyanamically by a DHCP. Everytime the solaris box is restarted the IP gets changed. Being an admin what should i do to find the new ip of the Solaris server sitting at my location? Till now i get... (2 Replies)
Discussion started by: BalajiUthira
2 Replies
7. Shell Programming and Scripting
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies
8. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
9. Shell Programming and Scripting
Hi,
when i am trying below script
assume that below values are taken in code
#!/bin/ksh
if
then
echo usage: aNlist.sh QMGR NAME MQREQ
fi
NL=`echo 'dis qmgr'|runmqsc $1|grep REPOSNL|sed 's/.*REPOSNL\(.*\).*/\1/' |cut -d'(' -f2|cut -d')' -f1`
echo 'define nl('$NL_$2')... (25 Replies)
Discussion started by: darling
25 Replies
10. Red Hat
Hi there, I'm currently working on an exercise to connect to a Windows iscsi target via a Red Hat initiator machine. I'm using Windows Server 2012 and Red Hat Enterprise Linux v7.1
I have created the target on the Windows Server box and the two devices can communicate with each other. Verified... (3 Replies)
Discussion started by: Tech87
3 Replies
LEARN ABOUT CENTOS
sg_emc_trespass
SG_EMC_TRESPASS(8) SG3_UTILS SG_EMC_TRESPASS(8)
NAME
sg_emc_trespass - change ownership of SCSI LUN from another Service-Processor to this one
SYNOPSIS
sg_emc_trespass [-d] [-hr] [-s] [-V] DEVICE
DESCRIPTION
sg_emc_trespass sends an EMC-specific Trespass Command to the DEVICE with the selected options. This Mode Select changes the ownership of
the LUN of the device from another Service-Processor to the one the command was received on.
OPTIONS
Arguments to long options are mandatory for short options as well.
-d outputs some extra debug information associated with executing this command
-hr Sets the 'Honor Reservation' bit in the command. If set, the trespass will only succeed to change the ownership from the Peer SP if
the Peer SP does not have an outstanding SCSI reservation for the LUN. By default, the reservation state will be ignored.
-s Send the short version of the trespass command instead of the long version. The short version is supported on the EMC FC5300, FC4500
and FC4700. The long version (default) is supported on the CLARiiON CX and AX family arrays.
-V print out version string then exit.
In the 2.4 series of Linux kernels the DEVICE must be a SCSI generic (sg) device. In the 2.6 series block devices (e.g. SCSI disks and DVD
drives) can also be specified. For example "sg_start 0 /dev/sda" will work in the 2.6 series kernels.
EXIT STATUS
The exit status of sg_emc_trespass is 0 when it is successful. Otherwise see the sg3_utils(8) man page.
AUTHOR
Written by Lars Marowsky-Bree, based on sg_start.
REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>.
COPYRIGHT
Copyright (C) 2004-2012 Lars Marowsky-Bree, Douglas Gilbert.
This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
POSE.
sg3_utils-1.35 December 2012 SG_EMC_TRESPASS(8)