Solved

How can I map a logical volume to it's physical controller/disk on HP?

Posted on 2007-12-05
1
451 Views
Last Modified: 2013-12-06
I'd like to see how my database datafiles are distributed across disk controllers and disks.
How can I map the logical drive to the actual physical device?

example:
 bdf .
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg17/lvol1    28446720 27592720  840716   97% /u42

The directory is on the /dev/vg17/lvol1 logical volume.
I'd like to know how to map this volume to an actual physical disk in /dev/dsk ?

***Please keep in mind I do not have superuser access.  I am a DBA and I'd rather not trouble
the admin group if I can do it myself.


0
Comment
Question by:datalor
1 Comment
 
LVL 20

Accepted Solution

by:
tfewster earned 125 total points
Comment Utility
lvdisplay -v dev/vg17/lvol1
(LVM "display" commands should work for any user)

The first section of the output will list the physical disks the Logical Volume uses; The "-v" option shows the detail of the layout of Logical Extents (Think of them as "blocks" for this exercise) on the Physical Extents of the disks
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now