Operating System - HP-UX
1832285 Members
3013 Online
110041 Solutions
New Discussion

Find LUNs/arrays are mounted filesystems

 
Mr.AjeetKumar
Advisor

Find LUNs/arrays are mounted filesystems

Hi,

We are having HP UX 11.11 server. Currently two storage HP XP12000 are attached with this server.The server is having differnt mount point.i want,which LUNs/arrays are these filesystems/mount point on?

/oracle /oracle/xyz1
/oracle/xyz2
/oracle/xyz3

Thanks in advance.




5 REPLIES 5
Analyst
Trusted Contributor

Re: Find LUNs/arrays are mounted filesystems

Hi Mr.AjeetKumar,

1. vgdisplay -v vgname --> from that pick the disk name.
or
strings /etc/lvmtab

2. diskinfo /dev/rdsk/cXtXdX---> gives the space and storage details.

3.ioscan -fnC disk --> the local/storage details.

Thanks,
Analyst.
Kapil Jha
Honored Contributor

Re: Find LUNs/arrays are mounted filesystems

in addition to above i would like to add

>>>bdf /oracle /oracle/xyz1 /oracle/xyz2 /oracle/xyz3

from that check vgname
and proceed below.


1. vgdisplay -v vgname --> from that pick the disk name.
or
strings /etc/lvmtab

2. diskinfo /dev/rdsk/cXtXdX---> gives the space and storage details.

3.ioscan -fnC disk --> the local/storage details.


BR,
Kapil+
I am in this small bowl, I wane see the real world......
Johnson Punniyalingam
Honored Contributor

Re: Find LUNs/arrays are mounted filesystems

>>/oracle /oracle/xyz1
/oracle/xyz2
/oracle/xyz3 <<

bdf /oracle -> command will show logical volume name of the File system using that you can also find which LUN are your file system mounted or point on .

Example:-

# bdf /u33
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol13 40960000 38280558 2595716 94% /u33

# lvdisplay -v /dev/vg01/lvol13 |more

--- Logical volumes ---
LV Name /dev/vg01/lvol13
VG Name /dev/vg01
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 400
Current LE 25
Allocated PE 50
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
--> /dev/dsk/c2t0d0 25 25

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
yulianto piyut
Valued Contributor

Re: Find LUNs/arrays are mounted filesystems

Check the vgname where the filesystem belongs
# bdf |grep oracle
# vgdisplay -v vg_name
# strings /etc/lvmtab --> find the vg
# diskinfo /dev/rdsk/cxtxdx -->
# to make sure for each logical volume, run command "lvdisplay -v /dev/vgname/lvname

Suraj K Sankari
Honored Contributor

Re: Find LUNs/arrays are mounted filesystems

Hi,

If you donâ t know more about storage then better do #vgdisplay -v vgname then take the /dev/dsk/cXtXdX and ask with your storage team they are having some commands to know easily.

Suraj