Hi all,
Can someone advice, why I'm getting a segmentation fault on a Linux system for a program which looks like the below one--:
typedef struct idev{
int p,
char q;
} Idev;
typedef struct abc{
int i;
Idev *idev_ptr;
} ABC;
int main(){
ABC a_var;
char str;
int... (4 Replies)
Is there a limit to the number of LUNS that can be concatenated using Solaris Volume manager with Soft partitions?
I have worked with some AIX admins in the past and there was such a limitation therefore limiting the size the filesystem could grow to.
Is there such a limitation in Solaris 9... (6 Replies)
I'm piping the results of a tcpdump into a shell script and want certain commands executed (specifically the firing of an SNMP alert) based on a grep for certain contents in the output of tcpdump.
For example, I have
#!/bin/bash
while read str; do
grep 'ttl 64' -q && sudo snmptrap -v 1... (2 Replies)
System: Sun M3000 and M4000
OS: Solaris 10 (fully up to date with latest patches)
iSCSI HBA: 2x QLE4060C (QLogic)
In each system are 2 QLE4060C iSCSI adapters.
I manage to set up both HBA's to connect to the LUNs on the SAN
However I don't manage to enable multi-pathing.
Made the... (4 Replies)
hi,
what are the steps to detect and configure a new attached lun in Solaris 10.
Is there any difference between cfgadm and luxadm command ?
rgds,
snjksh (5 Replies)
Hello guys, I'm going crazy over here with a problem with a LUN created on a EMC CX3.
I did sucessfully managed to create the LUN on the Storage (the LUN is named DBLNX25EC_TST), after doing the following process:
echo "1" > /sys/class/fc_host/host<n>/issue_lip
and
echo "- - -" >... (10 Replies)
need to do LUN masking at qlogic HBA level..at RHEL 5.x
I am using qla* module at part of the Unix kernel, it is not OEM drivers that come with the HBA card, so I can't use Sansurfer to do this..
Is there a way to do this at all ??
:wall: (0 Replies)
Hi All,
I'm using Solaris server, SunOS 5.10 Generic_144488-08 sun4u sparc SUNW, SPARC-Enterprise.
There is a newly created LUN of 250GB (EMC). I've scanned the system and able to see the new LUN.
For example:
103. emcpower19a <DGC-VRAID-0430 cyl 48638 alt 2 hd 256 sec 16>... (4 Replies)
Hi,
GetName()
{
if
then
echo " Please enter the name: "
read Name
tempvar=0
while read line
do
if
then
tempvar=`expr $tempvar + 1`
echo $tempvar
... (10 Replies)
How to get LUN WWN (i.e LUN mapped from a storage box say Symmetrix or clariion) in Solaris. fcinfo command does give the Target port wwn but what i'm looking for is the LUN WWN. Any help is appreciated. (2 Replies)
Discussion started by: Manish00712
2 Replies
LEARN ABOUT LINUX
scsi_vhci
scsi_vhci(7D) Devices scsi_vhci(7D)NAME
scsi_vhci - SCSI virtual host controller interconnect driver
DESCRIPTION
The scsi_vhci driver is a SCSA compliant pseudo nexus driver that supports Solaris operating system I/O multipathing services for SCSI-3
devices. This driver introduces a fundamental restructuring of the Solaris device tree to enable a multipath device to be represented as
single device instance rather than as an instance per physical path as in earlier Solaris versions.
The multipath SCSI target devices managed by this driver are identified and represented by using SCSI-3 VPD page(0x83) as the device's
unit address.
Symbolic links in /dev/[r]dsk continue to adhere to the cNtNdNsN format. cN is the logical controller number assigned to this driver
instance. tN is the global unique identifier (GUID) of the multipath target device (64/128 bits), represented as hexadecimal numbers.
The following is an example of a system with a A5000 storage array:
...
/dev/rdsk/c4t200000203709C3F5d0s0 -> ../../devices/scsi_vhci/
ssd@g200000203709c3f5:a,raw
...
/dev/rdsk/c4t200000203709C3F5d0s7 -> ../../devices/scsi_vhci/
ssd@g200000203709c3f5:h,ra
...
The following is an example of a system with a T300 storage array:
...
/dev/rdsk/c1t60020F200000033939C2C2B60008D4AEd0s0 -> ../../devices/
scsi_vhci/ssd@g60020f200000033939a2c2b60008d4ae:a,raw
...
/dev/rdsk/c1t60020F200000033939A2C2B60008D4AEd0s7 -> ../../devices/
scsi_vhci/ssd@g60020f200000033939a2c2b60008d4ae:h,raw
The scsi_vhci driver receives naming and transport services from one or more physical HBA (host bus adapter) devices. To support multi-
pathing, a physical HBA driver must comply with the multipathing services provided by this driver.
The scsi_vhci driver supports the standard functions provided by the SCSA interface.
Configuration
The scsi_vhci driver can be configured by defining properties in the scsi_vhci.conf file.
The scsi_vhci driver supports the following property:
device-type-scsi-options-list
To add a third-party (non-Sun) symmetric storage device to run under scsi_vhci (and thereby take advantage of Solaris I/O multipathing),
you add the vendor ID and product ID for the device, as those strings are returned by the SCSI Inquiry command. As shipped, the
scsi_vhci.conf file contains, in part:
# device-type-scsi-options-list =
# "SUN SENA", "symmetric-option";
# symmetric-option=0x1000000;
For example,to add a device from a vendor with the ID of "Acme" and a product ID of "MSU", you would add:
device-type-scsi-options-list =
"Acme MSU", "symmetric-option";
symmetric-option=0x1000000;
In addition to "Acme," you also might want to add another entry, for example, a device from "XYZ" vendor with a product ID of "ABC:"
device-type-scsi-options-list =
"Acme MSU", "symmetric-option",
"XYZ ABC", "symmetric-option";
symmetric-option=0x1000000;
FILES
/kernel/drv/sparcv9/scsi_vhci
64-bit kernel module (SPARC).
/kernel/drv/scsi_vhci
32-bit kernel module (x86).
/kernel/drv/scsi_vhci.conf
Driver configuration file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |PCI-based systems |
+-----------------------------+-----------------------------+
|Availability |SUNWckr |
+-----------------------------+-----------------------------+
SEE ALSO eeprom(1M), prtconf(1M), attributes(5), fcp(7D), fctl(7D), fp(7D), ssd(7D), scsi_abort(9F), scsi_ifgetcap(9F), scsi_pkt(9S),
scsi_reset(9F), scsi_transport(9F), scsi_inquiry(9S), scsi_extended_sense(9S)
Writing Device Drivers
Small Computer System Interface-3 (SCSI-3)
NOTES
In previous releases, the scsi_vhci.conf file supported the mpxio-disable property, which allowed you to disable Solaris I/O multipathing
on a system-wide basis. This property is not present in the current release of the Solaris operating system. Multipathing is always
enabled in scsi_vhci. If you want to disable multipathing, use the mechanisms provided by the HBA drivers. See fp(7D).
In previous releases, Solaris I/O multipathing was also known as MPxIO and Sun StorEdge Traffic Manager (STMS).
SunOS 5.10 2 Dec 2004 scsi_vhci(7D)