- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mapping Disk, with mount point ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 08:02 PM
07-15-2002 08:02 PM
When I want to know the disk-activity, I use,
"#sar -d n n"
it shows the device name like c0t6d0.
Now how to map it with the mount poins like /u01 or /u02.
One more question,
#ioscan -fnC disk,
it gives detail of all the disks in the system.
it is showing, H/W Path, Driver S/W State, H/W Type etc,
again how to map these disks with the mount points.
Please help me to understand it.
Thanks in Adv
Regards
Shah
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 08:06 PM
07-15-2002 08:06 PM
SolutionFor ex.,
pvdisplay -v /dev/dsk/c0t6d0 will show you the distribution of the logical volumes.
bdf command shows on what mount points these logical volumes are mounted.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 08:08 PM
07-15-2002 08:08 PM
Re: Mapping Disk, with mount point ...
I hate to say but you will need to take a class on Administering HP-UX. There are quite a number of things involved in setting up the system.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 08:12 PM
07-15-2002 08:12 PM
Re: Mapping Disk, with mount point ...
# pvdisplay -v /dev/dsk/c0t6d0 | more
and take a look at how it is distributed logical volume wise.
From there look at your /etc/fstab file or "bdf" command to find out which logical volume is mounted on which filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 08:12 PM
07-15-2002 08:12 PM
Re: Mapping Disk, with mount point ...
you will get a lot of answers by searching the threads in this forum as well in the knowledge database here.
You will find a wealth of information there without having to wait for responses from the forum members.
Just type in what you want and click search.
http://support2.itrc.hp.com/service/cki/enterService.do
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 08:18 PM
07-15-2002 08:18 PM
Re: Mapping Disk, with mount point ...
Here is a command that will map disks to hardware paths
lssf $(strings /etc/lvmtab|grep dsk)|awk '{print $NF, $(NF-1)}'
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 08:42 PM
07-15-2002 08:42 PM
Re: Mapping Disk, with mount point ...
Each logical volume is like a logical partition and it can be used for a file system.
It is just like tablespaces and datafiles to understand from the DBA side.
Tablespaces are logical and datafiles are physical.
So you can use
pvdisplay
to query the physical disk to find which volume group it is belonging to.
check this manual for more info
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 03:16 AM
07-16-2002 03:16 AM
Re: Mapping Disk, with mount point ...
To associate mount points with physical volumes, I take the output of "bdf -l" to get the mount points and the lvm pathname and then compare that to the output of "vgdisplay -v" to tie the lvm path to the physical disk path. For example:
yukon(157)root# bdf -l |grep vg01
/dev/vg01/lvol6 5120000 7566 4793677 0% /work6
/dev/vg01/lvol5 5120000 1117414 3752475 23% /work5
/dev/vg01/lvol4 5120000 2765301 2207554 56% /work4
/dev/vg01/lvol3 5120000 1664740 3241514 34% /work3
/dev/vg01/lvol2 5120000 3189564 1809942 64% /work2
/dev/vg01/lvol1 5120000 1324233 3564038 27% /work1
/dev/vg01/lvol8 1024000 838314 177484 83% /fair
/dev/vg01/lvol7 2048000 1055936 930079 53% /apps
yukon(158)root# vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4332
VGDA 4
PE Size (Mbytes) 4
Total PE 8660
Alloc PE 8250
Free PE 410
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vg01/lvol2
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vg01/lvol3
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vg01/lvol4
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 1250
Allocated PE 1250
Used PV 2
LV Name /dev/vg01/lvol5
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vg01/lvol6
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vg01/lvol7
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Used PV 1
LV Name /dev/vg01/lvol8
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 250
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c17t0d4
PV Status available
Total PE 4330
Free PE 0
Autoswitch On
PV Name /dev/dsk/c17t1d1
PV Status available
Total PE 4330
Free PE 410
Autoswitch On
Hope this helps,
Pete
Pete