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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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