Logical Volume Manager Help


 
Thread Tools Search this Thread
Operating Systems AIX Logical Volume Manager Help
# 1  
Old 05-15-2006
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
# 2  
Old 05-15-2006
I also ran this:

lscfg -l pdisk15
DEVICE LOCATION DESCRIPTION

pdisk15 27-08-9098-13-P SSA160 Physical Disk Drive (9100 MB)
# 3  
Old 05-17-2006
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.
# 4  
Old 05-18-2006
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!
# 5  
Old 05-19-2006
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.
# 6  
Old 05-19-2006
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

2. AIX

Position of the logical volume on the physical volume

Hello everyone, I just read that while creating a logical volume(LV) we can choose the region of the physical volume (PV) in which the LV should be created. When I say region I mean: outer edge - outer middle - center - inner middle and inner edge. Can anyone help me understand the utility... (11 Replies)
Discussion started by: adilyos
11 Replies

3. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

4. Solaris

CLI to get info for Logical Volume manager

What are the comman line instructions need to be used to know if a Logical Volume Manager is installed on solaris Box, What is its name, version, driver version, library version. (1 Reply)
Discussion started by: epriya2003
1 Replies

5. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

6. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

7. UNIX for Advanced & Expert Users

Logical Volume Manager question

After creating a make recover tape on a TAC-4 9000/770, the system lost three of five volume groups from the /etc/lvmtab. What would be the best way to recreate the volume groups in the lvmtab? (1 Reply)
Discussion started by: spawarrior
1 Replies
Login or Register to Ask a Question