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
329 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
3 Comments
 
LVL 11

Accepted Solution

by:
jgiordano earned 63 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 62 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

707 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

12 Experts available now in Live!

Get 1:1 Help Now