Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Is there a command in Unix Aix 4.3 to know if two logical disks are in the same physical disk?

Posted on 2004-08-10
3
Medium Priority
?
343 Views
Last Modified: 2013-12-06
I want to know if there is a command and how can I see if two logical disks area in the same physical disk without requesting a disk mapping.

I know that in solaris is vxprint, but is not functioning in Aix 4.3.  
I also went to /usr/sbin and issue the command but no joy.

Example:  When I issue the command df -k in the server, I get the following extract:

Filesystem    1024-blocks      Free %Used    Iused %Iused
/dev/gua_dbalv     3211264    557496   83%      151     1% /home/oracle/dba
/dev/gua_ora4lv    10354688   5266788   50%       27     1% /guarionex/prod/ora4
/dev/gua_ora5lv    10354688   6957396   33%       20     1% /guarionex/prod/ora5
/dev/gua_ora6lv    15073280   1693068   89%       39     1% /guarionex/prod/ora6
/dev/gua_ora1lv    10354688   1248316   88%       26     1% /guarionex/prod/ora1

I want to know how can I issue a command in the server to know if the following are in the same physical disk or not:

/dev/gua_dbalv    
/dev/gua_ora4lv  
/dev/gua_ora5lv  
/dev/gua_ora6lv  
/dev/gua_ora1lv    
0
Comment
Question by:LindaC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Accepted Solution

by:
jgiordano earned 252 total points
ID: 11767709
Lspv - Lists all physical volumes (hard disks)
lspv - (pv) Lists the physical volume details

***********************************
This command should help-

lspv -l - (pv) Lists the logical volumes on the physical volume
***********************************

lspv -p - (pv) Lists the physical partition usage for that PV
0
 
LVL 20

Assisted Solution

by:Gns
Gns earned 248 total points
ID: 11781793
CC jgiordano.
First get a handle on which PVs the LVs use with
lslv -l gua_ora4lv
...
Then check the PVs with
lspv -p <disk found with the lslv -l>
...

-- Glenn
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

618 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