Operating System - HP-UX
1834662 Members
2545 Online
110069 Solutions
New Discussion

LUNS are not visible with the latest created date

 
SOLVED
Go to solution
R.K. #
Honored Contributor

Re: LUNS are not visible with the latest created date

>>Can i remove the device file from which i created a vg to update the time stamp.
Yes you can. Just tested the same in a test box for a boot disk device file.

Have a look:
#/dev/dsk >lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk
------
------

#/dev/dsk >rmsf -H 0/0/1/1.15.0
#/dev/dsk >ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 0/0/1/1.15.0 sdisk CLAIMED DEVICE HP 18.2GMAN3184MC
disk 1 0/0/2/1.15.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c3t15d0 /dev/rdsk/c3t15d0
#/dev/dsk >insf -eH 0/0/1/1.15.0
insf: Installing special files for sdisk instance 0 address 0/0/1/1.15.0
#/dev/dsk >ls -ltr
total 0
brw-r----- 1 bin sys 31 0x03f000 Feb 4 17:12 c3t15d0
brw-r----- 1 bin sys 31 0x01f000 Feb 5 15:36 c1t15d0 <<<<<<<
#/dev/dsk >isocan
#/dev/dsk >ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 0/0/1/1.15.0 sdisk CLAIMED DEVICE HP 18.2GMAN3184MC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 1 0/0/2/1.15.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c3t15d0 /dev/rdsk/c3t15d0
Don't fix what ain't broke
Kapil Jha
Honored Contributor

Re: LUNS are not visible with the latest created date

RK>> amazing u hava a test server..i envy u...
U in australia...right...

SS
>>I have presented only 4 fcds
What does that mean, what does
ioscan -funC fc
tells you.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

Hi Johnson,

I have followed your steps but i am unable to create the device file.

$ /usr/sbin/vgdisplay -v prodworking
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c40t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/prodworking
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 0
Max PE per PV 65535
VGDA 0
PE Size (Mbytes) 32
Total PE 0
Alloc PE 0
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c40t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/prodworking/prodworking
LV Status available/syncd
LV Size (Mbytes) 102368
Current LE 3199
Allocated PE 3199
Used PV 0



$

I got the following warning
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

Pls help me what i do now..

I am afraid of.
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

Johnson,

I have again executed the command #insf -eC disk. Now i am able to see.

Thank you...
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

The output is
# ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
fc 0 0/0/4/1/0/4/0 fcd CLAIMED INTERFACE HP AD193-60001 PCI/PCI-X Fibre Channel 1-port 4Gb FC/1-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd0
fc 1 0/0/6/1/0/4/0 fcd CLAIMED INTERFACE HP AD193-60001 PCI/PCI-X Fibre Channel 1-port 4Gb FC/1-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd1
fc 2 1/0/4/1/0/4/0 fcd CLAIMED INTERFACE HP AD193-60001 PCI/PCI-X Fibre Channel 1-port 4Gb FC/1-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd2
fc 3 1/0/6/1/0/4/0 fcd CLAIMED INTERFACE HP AD193-60001 PCI/PCI-X Fibre Channel 1-port 4Gb FC/1-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd3

root@oradb3 [/dev/dsk]
#

As i have 4 fc then after installing the special device files i should have to get 8 device files right but this one is having with 16 device files.

May i know the reason?
Johnson Punniyalingam
Honored Contributor

Re: LUNS are not visible with the latest created date

>>>Hi Johnson,
I have followed your steps but i am unable to create the device file.<<<< ???

Hope I never post anything related to create device file ? Did I ?

can you try to activate the "vg"

# vgchange -a y /dev/prodworking
Problems are common to all, but attitude makes the difference
R.K. #
Honored Contributor

Re: LUNS are not visible with the latest created date

Cur PV 1 <<<<<
Act PV 0 <<<<<

One PV is not responding.
Check:
# strings /etc/lvmtab
for disks in prodworking

Then see if those disks are claimed.
# ioscan -fnC disk


@Kapil
>> U in australia...right
Wrong answer, in Bangalore, India :-)
Where are you located?
Don't fix what ain't broke
Kapil Jha
Honored Contributor

Re: LUNS are not visible with the latest created date

ur storage should have mapped 4 paths per fc.
4*4=16 devices.
you can confirm with storage team.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

Hi Kapil,

We don't have storage team.

I will try to check.

Thank you!
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

Special thanks to Kapil, Johnson and R.K. for making me to solve the problem. :-)