lsvg -l rootvg
:
:
0516-1147 lsvg: Warning - logical volume hd2 may be partially mirrored.
hd2 jfs 65 126 3 open/syncd /usr
:
lslv -l hd2
0516-022 lslv: Illegal parameter or structure value.
0516-304 lslv: Unable to find device id 0000000000000000 in the Device
Configuration Database.
hd2:/usr
PV COPIES IN BAND DISTRIBUTION
hdisk1 065:000:000 33% 013:000:022:018:012
hdisk0 061:000:000 36% 020:000:022:011:008
0000000000000000 004:000:000 ? ?
Would be enough to follow this procedure:
- deactivate rootvg, using varyoffvg
- exportvg
- importvg
- varyonvg
Or do I need to delete the mirror on hdisk0 first ?
Since the filesystem affected is /usr - do I then need to fix the problem on
site - in maintenance mode?
Or is it possible to solve the issue from a telnet session ?
Hope anyone has an easy way to fix my problem. The system in production is
working okay at the moment.
BR,
Hans Vestman
...yes, we do have a mksysb ...
Hans Vestman
"mike" <m...@fundy.net> wrote in message news:3B09065C...@fundy.net...
>PV COPIES IN BAND DISTRIBUTION
>hdisk1 065:000:000 33% 013:000:022:018:012
>hdisk0 061:000:000 36% 020:000:022:011:008
>0000000000000000 004:000:000 ? ?
So please try the following IRL
Let us know how its worked.
You may also read the following redbook:
AIX Storage Management
Document Number GG24-4484-00
found at www.redbooks.ibm.com
regards
Hajo Ehlers
Varyoff/export/import/varyon will not change anything ...
Ram
--
______________________________________________
Ram Pandiri pan...@austin.ibm.com
My views are mine, not IBMs.
It does not look like ODM corruption issue ... LVM prints this infamous
all zeros for PVID if the mirror copy for some partitions do not exist
at all, a partial mirror case. Other than a corruption of VGDA, this
can happen if a third disk existed in the rootvg which housed the
partial copy of the hd2 and was later removed from the rootvg.
Ram
--
regards
Hajo
--
Norman Levin
** no - I used to be able to recreate this consistantly by migrating an
lv from one disk to another. In that situation, you should only have a
single copy of the lv. Migrate moves a partition to the other disk by
calling mirroring code. For a short time, n-1 paritions have a single
copy and the nth parition exists on both disks. Definitely a strange
situation. Of course, since this is a migrate, unmirror is called and migrate
does this again for n times. If you interrupt the process, you can end up
with this situation.
--
Norman Levin
"Ram Pandiri" <pan...@austin.ibm.com> wrote in message
> Run
> "rmlvcopy hd2 1 hdisk0" and it will remove the partial copy. You can
> them remake the copy - "mklvcopy hd2 2 hdisk0"
Removing the partial copy - and remaking the copy fix'ed my problem!
Not enough disk space could have caused the problem. We now have 0 (zero)
PPs left ...! (so my customer has been instructed to add more disks!)
Thanks, again.
Hans Vestman