Sponsored Content
Operating Systems Solaris Solaris 10 Sparc. How to change Vendor info of SAN disks reported in "format" command? Post 302956683 by n_Bhaskar on Friday 2nd of October 2015 02:42:32 AM
Old 10-02-2015
Solaris 10 Sparc. How to change Vendor info of SAN disks reported in "format" command?

Greetings!

After block level migration using an external appliance, the luns are getting reported as DGC-RAID5 and these luns are infact from the new storage. I have a query on changing the device Vendor info from DGC-RAID5 to HP3par in the format o/p only.
Code:
AVAILABLE DISK SELECTIONS:
       2. c0t60002AC0000000000000000B0000xxxxd0 <DGC-RAID5-0430 cyl 51198 alt 2 hd 256 sec 16>
          /scsi_vhci/ssd@g60002ac0000000000000000b0000xxxx

I am able to see the mpathadm and luxadm correctly reporting the device Vendor id as shown below.
Code:
luxadm display 20210002ac00xxxx DEVICE PROPERTIES for disk: 20210002ac00xxxx
  Vendor:               3PARdata
  Product ID:           VV
  Revision:             3213
  Serial Num:            16xxxxx
  Unformatted capacity: 103424.000 MBytes
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0xffff
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c0t60002AC0000000000000000B0000xxxxd0s2

Multipath definitions are configured ok and is reporting the actual paths.

However, format command reports them as DGC-RAID5 and adds a bit of confusion. Is there a way we can get the "format" command to get it reported correctly?

Thanks in advance!

BR,
Bhaskar

Moderator's Comments:
Mod Comment Please use for all you code and data code tags, thanks

Last edited by vbe; 10-02-2015 at 05:01 AM..
 

9 More Discussions You Might Find Interesting

1. Solaris

"NO HARD Disks found" while installing Solaris 10 (latest-6/06) on Poweredge 2950.

We get the error "NO HARD Disks found" while installing Solaris 10 (latest-6/06) on Poweredge 2950. We found that the LSISAS1068 driver is needed for this. But the provision is given only to install the driver using the floppy (in downloads site). But we dont have a floppy drive in our system... (12 Replies)
Discussion started by: S.Vishwanath
12 Replies

2. Shell Programming and Scripting

Can someone help me to convert the date format after get it from the "LAST REBOOT" command.

Can someone help me to convert the date format after get it from the "LAST REBOOT" command. these is the standard output. bash-3.00# last reboot reboot system boot Fri Aug 6 15:07 reboot system down Fri Aug 6 15:04 reboot system boot ... (3 Replies)
Discussion started by: pichitw
3 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. Solaris

Netra X1 LOM: Unable to change any variable via the "set" command

I'm posting here as it didn't seem quite right in the hardware section (as it's LOM commands). My apologies if I have that wrong though :) I've finally gotten round to configuring the LOM on my Netra X1, but I can't get it to change the hostname via the "set" command: lom>show hostname... (2 Replies)
Discussion started by: Smiling Dragon
2 Replies

5. Shell Programming and Scripting

Awk,sed : change every 2nd field ":" to "|"

Hi Experts, I have a string with colon delimited, want 2nd colon to be changed to a pipe. data: 101:8:43:4:72:14:41:69:85:3:137:4:3:0:4:0:9:3:0:3:12:3: I am trying with sed, but can change only 1 occurance: echo "101:8:43:4:72:14:41:69:85:3:137:4:3:0:4:0:9:3:0:3:12:3:" | sed 's/:/|/2'... (5 Replies)
Discussion started by: rveri
5 Replies

6. Shell Programming and Scripting

Find lines with "A" then change "E" to "X" same line

I have a bunch of random character lines like ABCEDFG. I want to find all lines with "A" and then change any "E" to "X" in the same line. ALL lines with "A" will have an "X" somewhere in it. I have tried sed awk and vi editor. I get close, not quite there. I know someone has already solved this... (10 Replies)
Discussion started by: nightwatchrenba
10 Replies

7. UNIX for Advanced & Expert Users

AIX - io info get from "libperfstat" not match "iostat"

Hi, everyone. I need to write a program to get io info based on libperfstat. But the "write time" of a disk is just half of the value get from iostat. I'm confused and can't explain. Help please. How I calculate "write service time per sec": In iostat: write service... (0 Replies)
Discussion started by: jackliang
0 Replies

8. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

9. Shell Programming and Scripting

Can someone please show me a very simple "expect" script to change password in Solaris please?

Ladies & Gents, Can one of you gurus please show me a very simple "expect" script to change the password in Solaris in a script, please? Nothing fancy, no error checking, no nothing. Just to change the password of a new user, it's all. Many thanks in advance. U guys have honestly earned my... (1 Reply)
Discussion started by: Hiroshi
1 Replies
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)
All times are GMT -4. The time now is 03:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy