logical volume partially mirrored


 
Thread Tools Search this Thread
Operating Systems AIX logical volume partially mirrored
# 1  
Old 06-17-2008
logical volume partially mirrored

Hello

I have a question

On one of my aix servers if I type lsvg -l rootvg I got this

0516-1147 : Warning - logical volume waslv may be partially mirrored.
waslv jfs2 277 477 3 open/syncd /usr/WebSphere

If I type lslv -m waslv |more

waslv:/usr/WebSphere
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0299 hdisk0 0305 hdisk1
0002 0300 hdisk0 0306 hdisk1
0003 0301 hdisk0 0307 hdisk1
0004 0302 hdisk0 0308 hdisk1
0005 0303 hdisk0 0309 hdisk1
0006 0304 hdisk0 0310 hdisk1
0007 0305 hdisk0 0311 hdisk1
0008 0306 hdisk0 0312 hdisk1
.................... .............


My question is If I type the command syncvg -v rootvg I can fix my problem ??


Thanks for your tips
# 2  
Old 06-17-2008
The part of the map output you posted seems to be ok, but this:

waslv jfs2 277 477 3 open/syncd /usr/WebSphere

tells me, that not everything is ok at all. The first number - 277 - is the number of logical partitions and since every logicl partition should map to two physical partitions the second number should be 554 ^= 277*2. As this is not the case something must have fone wrong with the mirroring and a simple "syncvg" will most probably not cure it.

I would first find out what has gone wrong (nothing in your post indicates what tht could have been, just that it happened), then i would unmirror the LV, then mirror it again, taking care that whatever the reason was it doesn't happen again.

If this general advice doesn't help you, please post the complete output of "lsvg -l rootvg" and "lsvg rootvg", so that we could further help you.

I hope this helps.

bakunin
# 3  
Old 06-17-2008
Quote:
Originally Posted by lo-lp-kl
[...] if I type lsvg -l rootvg I got this

0516-1147 : Warning - logical volume waslv may be partially mirrored.
waslv jfs2 277 477 3 open/syncd /usr/WebSphere

If I type lslv -m waslv |more

waslv:/usr/WebSphere
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0299 hdisk0 0305 hdisk1
0002 0300 hdisk0 0306 hdisk1
0003 0301 hdisk0 0307 hdisk1
0004 0302 hdisk0 0308 hdisk1
0005 0303 hdisk0 0309 hdisk1
0006 0304 hdisk0 0310 hdisk1
0007 0305 hdisk0 0311 hdisk1
0008 0306 hdisk0 0312 hdisk1
.................... .............


My question is If I type the command syncvg -v rootvg I can fix my problem ?? [...]
The first output implies that you used three disks for your mirror. The second output seem to imply that one complete disk got missing. So you might have two mirror copies spread uneven over three disks of which you lost one. Use
# lsvg -p <yourvg>
to find out whether a PV went missing.
If that was the case a syncvg will not help as your mirror was not stale but broken. Backup your data and then repair the mirror(s). If you decide to unmirror the lv/vg let LVM sort out which copy to keep!
# 4  
Old 06-17-2008
Thanks shockneck and bakunin for your reply

I put the output complete

lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 16 32 2 open/syncd /
hd2 jfs2 22 44 2 open/syncd /usr
hd9var jfs2 12 24 2 open/syncd /var
hd3 jfs2 12 24 2 open/syncd /tmp
hd1 jfs2 12 24 2 open/syncd /home
hd10opt jfs2 12 24 2 open/syncd /opt
lg_dumplv sysdump 16 16 1 open/syncd N/A
paging00 paging 32 64 2 open/syncd N/A
paging01 paging 32 64 2 open/syncd N/A
paging02 paging 32 64 2 open/syncd N/A
0516-1147 : Warning - logical volume waslv may be partially mirrored.
waslv jfs2 277 477 3 open/syncd /usr/WebSphere


lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 546 37 00..00..00..00..37
hdisk1 active 546 130 72..16..00..00..42


I dont know exactly why donīt finished correct the mirror, Im new on this job.

As you can see there are many things bad in my opinion.

Websphere was installed on rootvg.
paging space was on rootvg

Then Im going to install websphere on a external disk (san)
and the paging too

I can do this on line (about the partially mirrored) because its a cluster server (websphere part) and itīs production.

Thanks again and I hope you get the idea because my english itīs no so good yet.
# 5  
Old 06-18-2008
The paging space (at least one paging space) should remain on rootvg, as this is the volume group activated and mounted first on boot time. The machine needs to hve access to at least one paging space during boot.

You could delete the other swapspaces and create them anew on some SAN disk. Notice that all swap spaces should be of equal size: AIX uses them in a round-robin-schema. If you want to make the swap faster create more swapspaces and put all but one of them on the SAN storage. Do NOT create one big swap on the SAN and a small one in the rootvg, as is oftenly seen.

If the Websphere LV should be on rootvg or not is a matter of taste: some claim, that binaries should go along with the OS and only data should be on SAN storage. Others claim that binaries should reside with the data they work on.

In your case it is still not clear where the error comes from, as aside from the error everything looks normal. Maybe the error report (issue "errpt" and "errpt -a" respectively) might tell you something.

If you can, back up the LV, delete it and create it anew, then restore the data. Another possibility would be to backup the LV, create a new LV somewhere else, restore the data to it, then umount the original and mount the new one - takes 1 minute and an application restart.

Don't care if this is a production machine when proposing a downtime: if the management of the data center hasn't provided for some maintenance downtime then the management has made a GRAVE CONCEPTUAL error - it is well known that machines do not run for an infinite time - period. So it is their fault, not yours. You are just pointing it out. They may wince and they may whine, but in the end you'll get your downtime.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 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. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

3. 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

4. HP-UX

[Solved] How to extend a mirrored logical volume?

Want to extend the /home filesystem: Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol4 262144 260088 2056 99% /home root@server:./root # vgdisplay vg00 --- Volume groups --- VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 11 Open... (4 Replies)
Discussion started by: proactiveaditya
4 Replies

5. 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

6. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

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

8. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

9. 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

10. AIX

checking to see if logical disks are mirrored.

I have AIX 5.1 I ran these commands and was not able to see what disk were mirrored to what. I thought this is what I should do? lslv -m rd |more lslv -m db |more I get a error stating that it can't find or in the device configuation databse. Is there another way to look? I have a physcal... (1 Reply)
Discussion started by: rocker40
1 Replies
Login or Register to Ask a Question