Operating System - HP-UX
1834272 Members
79074 Online
110066 Solutions
New Discussion

Re: Device file change for LUN

 
SOLVED
Go to solution
Sakui
Frequent Advisor

Device file change for LUN

hi

After upgrading my MSA 1000 with 8 additinal disks in a MSA 30 enclosure. The device file for the first LUN has changed. I did a daisy chain to enclosure. I have a rx 4640 and one MSA 1000 before i upgrade my disk capacity. What can i do to revert to the old device file
/dev/dsk/c5t0d0 has change to dev/dsk/c5t0d1

This is the new scsi address for new LUN i created
/dev/c6t0d1.



9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: Device file change for LUN

I guess you changed the settings on the MSA.

Previously it was LUN 0 (/dev/dsk/c5t0d0) now it is LUN 1 (/dev/dsk/c5t0d1)

You cannot (should not) change anything from the OS side regarding the device files.

Consider to adjust your volume managers config (e.g. vgexport/vgimport).

Is secure path in use?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sakui
Frequent Advisor

Re: Device file change for LUN


I did not change any setting. It only thing i have not yet done is to terminate the ScSi on the MSA 100. Below is my configuration.
Murat SULUHAN
Honored Contributor

Re: Device file change for LUN

Hi Sakui

Do you have ioscan -fn output before MSA30 operation ?

Which HP-UX version are you using?

Best Regards
Murat
Murat Suluhan
Torsten.
Acclaimed Contributor
Solution

Re: Device file change for LUN

Well, look at this:

CLI-1> show connections

Connection Name: IDWSVR_IDWSTORE
Host WWNN = 50060B00-0011CBBB
Host WWPN = 50060B00-0011CBBA
==> Profile Name = Default

And what is your default?

It is not HP-UX.

CLI-1> show units

Unit 0:
In PDLA mode, Unit 0 is Lun 1; In VSA mode, Unit 0 is Lun 0.

You are in PDLA mode, so your Unit 0 is presented as LUN 1 - this results in

/dev/dsk/c5t0d1



IMHO you are using the wrong mode!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sakui
Frequent Advisor

Re: Device file change for LUN

how do i Leave the PDLA mode.how do i exit tht mode.
Sakui
Frequent Advisor

Re: Device file change for LUN




how do i Leave the PDLA mode.how do i exit tht mode.




CLI-1> show version -all
MSA1000 Firmware Revision: 5.20b1500 (M119LYPN7R)
Build Time: 2007-01-24 16:03:28
MSA1000 Hardware Revision: 7 [AutoRev: 0x010000]
Fibre Module AutoRev: 0x010000
Box 1a PROLIANT 6L7I DB Rev: 2.28 (M119LYPN7R)
Box 1b PROLIANT 6L7I DT Rev: 2.28 (M119LYPN7R)

Disk Drives:
B T L BOX BAY GB Model Rev. Serial No.
0 0 0 1 1 146.8 COMPAQ BF1468A4CC HPB5 3KN2RS8N00009719T649
0 1 0 1 2 146.8 COMPAQ BF1468A4CC HPB5 3KN2T29X00009719UY2C
0 2 0 1 3 146.8 COMPAQ BF1468A4CC HPB5 3KN2T38H00009719S3M2
0 3 0 1 4 146.8 COMPAQ BF1468A4CC HPB5 3KN2T8HJ00009719SKV7
0 4 0 1 5 146.8 COMPAQ BF1468A4CC HPB5 3KN2TCQB00009719SK9K
0 5 0 1 6 146.8 COMPAQ BF1468A4CC HPB5 3KN2SRX500009719TKTW
0 8 0 1 7 146.8 COMPAQ BF1468A4CC HPB5 3KN2SJ4Y00009716TPQD
1 0 0 1 8 146.8 COMPAQ BF1468A4CC HPB5 3KN2T50300009719T5DD
1 1 0 1 9 146.8 COMPAQ BF1468A4CC HPB5 3KN2TD9S00009719T5DX
1 2 0 1 10 146.8 COMPAQ BF1468A4CC HPB5 3KN2S3N800009719SHTE
1 3 0 1 11 146.8 COMPAQ BF1468A4CC HPB5 3KN2SRZC00009719T62T
1 4 0 1 12 146.8 COMPAQ BF1468A4CC HPB5 3KN2VBJ100009719TJXN
1 5 0 1 13 146.8 COMPAQ BF1468A4CC HPB5 3KN2T8CD00009719S4BJ
1 8 0 1 14 146.8 COMPAQ BF1468A4CC HPB5 3KN2SSCT00009719T6BY


CLI-1> show profile
Profile name = Default (Default) Mode value = (00004005)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Legacy Failover
Mode 2 = Logical volumes connect as available on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout selected initiators on TPRLO
Mode 6 = Fault management events not reported through Unit Attention
Mode 7 = Do not send FCP response info with SCSI status
Mode 8 = Do not send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Ignore Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = Windows
Type = Standard Mode value = (00004005)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Legacy Failover
Mode 2 = Logical volumes connect as available on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout selected initiators on TPRLO
Mode 6 = Fault management events not reported through Unit Attention
Mode 7 = Do not send FCP response info with SCSI status
Mode 8 = Do not send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Ignore Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = Windows (degraded performance)
Type = Standard Mode value = (00005005)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Legacy Failover
Mode 2 = Logical volumes connect as available on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout selected initiators on TPRLO
Mode 6 = Fault management events not reported through Unit Attention
Mode 7 = Do not send FCP response info with SCSI status
Mode 8 = Do not send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Enforce Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = OpenVMS
Type = Standard Mode value = (00005073)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Asymmetric Failover
Mode 2 = Logical volumes connect as unavailable on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = VMS shadow style bad block handling
Mode 5 = Logout all initiators on TPRLO
Mode 6 = Fault management events reported through Unit Attention
Mode 7 = Do not send FCP response info with SCSI status
Mode 8 = Do not send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Enforce Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = Tru64
Type = Standard Mode value = (00005163)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Asymmetric Failover
Mode 2 = Logical volumes connect as unavailable on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout all initiators on TPRLO
Mode 6 = Fault management events reported through Unit Attention
Mode 7 = Do not send FCP response info with SCSI status
Mode 8 = Send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Enforce Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = Linux
Type = Standard Mode value = (000050a7)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Asymmetric Failover
Mode 2 = Logical volumes connect as available on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout all initiators on TPRLO
Mode 6 = Fault management events not reported through Unit Attention
Mode 7 = Send FCP response info with SCSI status
Mode 8 = Do not send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Enforce Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = Solaris
Type = Standard Mode value = (000050a7)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Asymmetric Failover
Mode 2 = Logical volumes connect as available on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout all initiators on TPRLO
Mode 6 = Fault management events not reported through Unit Attention
Mode 7 = Send FCP response info with SCSI status
Mode 8 = Do not send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Enforce Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = Netware
Type = Standard Mode value = (000050a7)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Asymmetric Failover
Mode 2 = Logical volumes connect as available on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout all initiators on TPRLO
Mode 6 = Fault management events not reported through Unit Attention
Mode 7 = Send FCP response info with SCSI status
Mode 8 = Do not send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Enforce Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = HP
Type = Standard Mode value = (000058a6)

Mode 0 = Volume Set Addressing
Mode 1 = Asymmetric Failover
Mode 2 = Logical volumes connect as available on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout all initiators on TPRLO
Mode 6 = Fault management events not reported through Unit Attention
Mode 7 = Send FCP response info with SCSI status
Mode 8 = Do not send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = No Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Enforce Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode

Profile name = XP Storage Array
Type = Standard Mode value = (00005163)

Mode 0 = Peripheral Device LUN Addressing
Mode 1 = Asymmetric Failover
Mode 2 = Logical volumes connect as unavailable on Backup Controller
Mode 3 = Product ID of 'MSA1000 VOLUME' (only if Active-Standby mode)
Mode 4 = Normal bad block handling
Mode 5 = Logout all initiators on TPRLO
Mode 6 = Fault management events reported through Unit Attention
Mode 7 = Do not send FCP response info with SCSI status
Mode 8 = Send Unit Attention on failover
Mode 9 = SCSI inquiry revision field contains the actual version
Mode 10 = SCSI inquiry vendor ID='Compaq'
Mode 11 = Power On Reset Unit Attention generated on FC Login or Logout
Mode 12 = Enforce Force Unit Access on Write
Mode 13 = Ignore Target Port on Reservation
Mode 14 = Active/Standby Operating Mode


CLI-1> show globals

Global Parameters:
System Name: IDW-STORE
Rebuild Priority: high
Expand Priority: high
Surface Delay: 3.0 seconds

Total Cache: 256MB
50% Read Cache: 128MB
50% Write Cache: 128MB

Temperature:
No temperature sensor support.

CLI-1> show acl

ACL is enabled:
Connection WWPN Units
IDWSVR_IDWSTORE 50060B00-0011CBBA 0
Inaccessible Units: None

CLI-1> show connections

Connection Name: IDWSVR_IDWSTORE
Host WWNN = 50060B00-0011CBBB
Host WWPN = 50060B00-0011CBBA
Profile Name = Default
Unit Offset = 0
Controller 1 Port 1 Status = Offline
Controller 2 Port 1 Status = Offline

CLI-1> show disks
Disk List: (box,bay) (B:T:L) Size Speed Units
Enclosure 1: SCSI (0:06:00) PROLIANT 6L7I DB2.28
Disk101 (1,01) (0:00:00) 146.8GB 160 MB/s 0
Disk102 (1,02) (0:01:00) 146.8GB 160 MB/s 0
Disk103 (1,03) (0:02:00) 146.8GB 160 MB/s 0
Disk104 (1,04) (0:03:00) 146.8GB 160 MB/s 0
Disk105 (1,05) (0:04:00) 146.8GB 160 MB/s 0
Disk106 (1,06) (0:05:00) 146.8GB 160 MB/s 0
Disk107 (1,07) (0:08:00) 146.8GB 160 MB/s 0
Disk108 (1,08) (1:00:00) 146.8GB 160 MB/s 0
Disk109 (1,09) (1:01:00) 146.8GB 160 MB/s 0
Disk110 (1,10) (1:02:00) 146.8GB 160 MB/s 0
Disk111 (1,11) (1:03:00) 146.8GB 160 MB/s 0
Disk112 (1,12) (1:04:00) 146.8GB 160 MB/s 0
Disk113 (1,13) (1:05:00) 146.8GB 160 MB/s 0
Disk114 (1,14) (1:08:00) 146.8GB 160 MB/s 0

Notes:
The speed is the currently negotiated speed to the disk. This may
be less than the maximum speed supported by the device due to bus
faults, loss of signal integrity, etc.

CLI-1> show box
No external storage boxes are attached.

CLI-1> show units

Unit 0:
In PDLA mode, Unit 0 is Lun 1; In VSA mode, Unit 0 is Lun 0.
Unit Identifier :
Device Identifier : 60060B00-00843800-98EB3F55-E0920003
Preferred Path : Controller 1 (this controller)
Cache Status : Enabled
Max Boot Partition: Enabled
Volume Status : VOLUME OK
Mirror Init Status: Complete
14 Data Disk(s) used by lun 0:
Disk101: Box 1, Bay 01, (B:T:L 0:00:00)
Disk102: Box 1, Bay 02, (B:T:L 0:01:00)
Disk103: Box 1, Bay 03, (B:T:L 0:02:00)
Disk104: Box 1, Bay 04, (B:T:L 0:03:00)
Disk105: Box 1, Bay 05, (B:T:L 0:04:00)
Disk106: Box 1, Bay 06, (B:T:L 0:05:00)
Disk107: Box 1, Bay 07, (B:T:L 0:08:00)
Disk108: Box 1, Bay 08, (B:T:L 1:00:00)
Disk109: Box 1, Bay 09, (B:T:L 1:01:00)
Disk110: Box 1, Bay 10, (B:T:L 1:02:00)
Disk111: Box 1, Bay 11, (B:T:L 1:03:00)
Disk112: Box 1, Bay 12, (B:T:L 1:04:00)
Disk113: Box 1, Bay 13, (B:T:L 1:05:00)
Disk114: Box 1, Bay 14, (B:T:L 1:08:00)
Spare Disk(s) used by lun 0:
No spare drive is designated.
Logical Volume Raid Level: MIRROR FAULT TOLERANCE (RAID 1)
stripe_size=128kB
Logical Volume Capacity : 980,090MB

CLI-1> show this_controller
Controller 1 (right controller):
MSA1000(c) Hewlett-Packard P56350GX3QH026 Version 5.20 Build 1500 Hardware 7
Build Time: 2007-01-24 16:03:28
Integrated Enclosure.
Controller Identifier:
NODE_ID = 50060B00-00843800
SCSI_VERSION = SCSI-3
Supported Redundancy Mode: Active/Standby Asym-Active/Active
Current Redundancy Mode: Active/Standby (emulated)
Current Role: Active
Device Port SCSI address 6
Terminal speed for the CLI is set to 19200.
Host Port_1:
REPORTED PORT_ID 50060B00-00843801
PORT_1_TOPOLOGY = Link Down
Cache:
128 megabyte read cache 128 megabyte write cache Version 2
Cache is GOOD, and Cache is enabled.
No unflushed data in cache
Batteries are disabled
Module #1 is fully charged and turned off.
Controller Up Time:
0 Days 01 Hours 02 Minutes 44 Seconds
Health:
Surface Scan: Complete.
Rebuild Status: Complete.
Expansion: Complete.

CLI-1> show other_controller
Controller 2 (left controller):
MSA1000(c) Hewlett-Packard P56350DX3PU0B9 Version 5.20 Build 1500 Hardware 7
Build Time: 2007-01-24 16:03:28
Integrated Enclosure.
Controller Identifier:
NODE_ID = 50060B00-00843800
SCSI_VERSION = SCSI-3
Supported Redundancy Mode: Active/Standby Asym-Active/Active
Current Redundancy Mode: Active/Standby (emulated)
Current Role: Standby
Device Port SCSI address 7
Terminal speed for the CLI is set to 19200.
Host Port_1:
REPORTED PORT_ID 50060B00-00843809
PORT_1_TOPOLOGY = Arbitrated Loop
Cache:
128 megabyte read cache 128 megabyte write cache Version 2
Cache is GOOD, and Cache is enabled.
No unflushed data in cache
Batteries are disabled
Module #1 is fully charged and turned off.
Controller Up Time:
0 Days 01 Hours 02 Minutes 48 Seconds
Health:
Surface Scan: Complete.
Rebuild Status: Complete.
Expansion: Complete.

CLI-1> show eventlog
No Events Logged.

CLI-1> show preferred_path

Controller 1 (this_controller) is the current optimal path for these units:
0
Controller 2 (other_controller) is the current optimal path for these units:
None
Implicit (automatic load-based) LUN ownership changes are currently ENABLED.

CLI-1> show auto_path_change

Implicit (automatic load-based) LUN ownership changes are currently ENABLED.
Implicit LUN ownership change preferences are as follows:
Minimum % of proxied requests to trigger implicit path change..: 75%
Minimum number of requests to LUN before path change enabled...: 65536
Minimum time to wait before changing ownership after power-up..: 30 mi
Torsten.
Acclaimed Contributor

Re: Device file change for LUN

Your mode is default (Windows) - this is

Peripheral Device LUN Addressing
(PDLA)

but you need to use for this LUN

Profile name = HP
Volume Set Addressing
(VSA)

Do you use ACU or just CLI?

Look up the user manual for
"Managing host modes (connection profiles)"
and change to "HP".

Syntax:
modify ai=# hostmode="operating system type"|?
where is a controller that supports host modes.



BTW, this is a common mistake made in MSA configuration resulting in strange results from HP-UX point of view.



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Device file change for LUN

.




Finally feel free to assign some points - please read


http://forums1.itrc.hp.com/service/forums/helptips.do?#33




.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Device file change for LUN

It would be nice if you come back with your results later, good luck!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!