![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| 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 |
| LVM - Extending Logical Volume within Volume Group | ghimanshu | UNIX for Advanced & Expert Users | 3 | 07-26-2007 04:39 AM |
| Logical Volume Manager Help | pheusion | AIX | 5 | 05-19-2006 06:35 AM |
| checking to see if logical disks are mirrored. | rocker40 | AIX | 1 | 06-14-2004 02:57 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
|||
|
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 |
|
|||
|
Quote:
# 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! |
|
|||
|
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. |
|
|||
|
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 |
|||
| Google UNIX.COM |