The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Moving a Logical Volume from one Volume Group to Another krisw AIX 2 07-14-2008 04:48 AM
How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE nageswarb SUN Solaris 0 03-14-2008 01:46 PM
LVM - Extending Logical Volume within Volume Group ghimanshu UNIX for Advanced & Expert Users 3 07-26-2007 04:39 AM
Logical Volume Manager question spawarrior UNIX for Advanced & Expert Users 1 07-14-2002 06:43 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-15-2006
Registered User
 

Join Date: May 2006
Posts: 5
Logical Volume Manager Help

I have a pretty basic question but I am finding my self stumped...

I am trying to find the config that shows which logical volume is mapped to which physical volume

IE:

I know that pdisk15 is mapped to hdisk17 (I only know this as it was told to me though, by IBM)

When I run: lslv -p hdisk17
0516-320 : Physical volume hdisk17 is not assigned to
a volume group.

lasattr on pdisk15 shows nothing of interest either..

So how can I see which phys vols are mapped to where...
(Also if possible list all logical vols, as smit lvm says it all locked)

Thanks in advance
Reply With Quote
Forum Sponsor
  #2  
Old 05-15-2006
Registered User
 

Join Date: May 2006
Posts: 5
I also ran this:

lscfg -l pdisk15
DEVICE LOCATION DESCRIPTION

pdisk15 27-08-9098-13-P SSA160 Physical Disk Drive (9100 MB)
Reply With Quote
  #3  
Old 05-17-2006
Registered User
 

Join Date: May 2006
Location: England
Posts: 265
Try the command lspv and note the entries on the 3rd column. This is the vg that the disk is part of. Now use this name in lsvg -l vgname and this will show the LV in the left most column. You can then also use the pvname in the lslv command. Hope that helps.
Reply With Quote
  #4  
Old 05-18-2006
Registered User
 

Join Date: May 2006
Posts: 5
Thank you very much for the reply...

Unfortunately I had tried that originally, but I still recieved the same weird issue...

I think I may have found it though,


ssaxlate -l hdisk17
pdisk15

ssaxlate -l pdisk15
hdisk17

I spent the entire night going through the system to find this, and its the only relation I can find that maps pdisk15 to hdisk17

(I was wondering how the IBM guy found what was mapped to what)

Thanks again for the reply!
Reply With Quote
  #5  
Old 05-19-2006
Registered User
 

Join Date: May 2006
Location: England
Posts: 265
Sorry i did not realise you were dealing with SSA disks I thought this was an ESS (Shark) with vpaths. Now I know there are other tools available. Try to find a tool named maymap, this will give a graphical listing of the disks fitted and the order they are installed in the cabinet. Hope this helps.
Reply With Quote
  #6  
Old 05-19-2006
Registered User
 

Join Date: May 2006
Posts: 5
Thanks john.

Unfortunately that command does not exist. This system was configured by Intuit eclipse for their ERP software and its a mess, no man pages etc... I had to install ssh and bash as they were using telnet when I first came here, several other issues such as that.

Thanks!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0