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
335 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

777 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