- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- trying to reduce mirror
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:24 AM
10-22-2008 04:24 AM
trying to reduce mirror
lvdisplay -v -k /dev/oravg04a/lv04aoravg04a |more
--- Logical volumes ---
LV Name /dev/oravg04a/lv04aoravg04a
VG Name /dev/oravg04a
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 17352
Current LE 4338
Allocated PE 4338
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c11t1d0 4338 4338
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 1 00000 current 0 00000 current
00001 1 00001 current 0 00000 current
00002 1 00002 current 0 00000 current
00003 1 00003 current 0 00000 current
00004 1 00004 current 0 00000 current
Output of lvreduce:
lvreduce -m 0 /dev/oravg04a/lv04aoravg04a /dev/dsk/c10t10d0
lvreduce: Physical volume "/dev/dsk/c10t10d0" does not belong
to volume group "/dev/oravg04a".
Logical volume "/dev/oravg04a/lv04aoravg04a" is not reduced.
Any ideas on how I can force this?
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:28 AM
10-22-2008 04:28 AM
Re: trying to reduce mirror
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:32 AM
10-22-2008 04:32 AM
Re: trying to reduce mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:33 AM
10-22-2008 04:33 AM
Re: trying to reduce mirror
What did you "fix"?
(detailed steps, please)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:37 AM
10-22-2008 04:37 AM
Re: trying to reduce mirror
Disk failed
lvreduce to remove drive from mirror
lvreduce hung and couldn't kill process
Replaced disk
vgcfgrestore
vgsync failed see the other thread posted yesterday
After several attempts to sync and re lvreduce I ran vgreduce and this is where I am at.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:37 AM
10-22-2008 04:37 AM
Re: trying to reduce mirror
with lvdisplay -v /dev/oravg04a/lv04aoravg04a once again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:38 AM
10-22-2008 04:38 AM
Re: trying to reduce mirror
# strings /etc/lvmtab
# strings /etc/lvmpvg
# uname -a
please.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:44 AM
10-22-2008 04:44 AM
Re: trying to reduce mirror
vgdisplay -v oravg04a
Information in "/etc/lvmtab" differs from that in "/etc/lvmpvg".
VG "/dev/oravg04" is not defined in file "/etc/lvmtab".
--- Volume groups ---
VG Name /dev/oravg04a
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4342
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4338
Free PE 2
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/oravg04a/lv04aoravg04a
LV Status available/syncd
LV Size (Mbytes) 17352
Current LE 4338
Allocated PE 4338
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c11t1d0
PV Status available
Total PE 4340
Free PE 2
Autoswitch On
(n4:root)$ lvdisplay -v /dev/oravg04a/lv04aoravg04a |more
--- Logical volumes ---
LV Name /dev/oravg04a/lv04aoravg04a
VG Name /dev/oravg04a
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 17352
Current LE 4338
Allocated PE 4338
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c11t1d0 4338 4338
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c11t1d0 00000 current ??? 00000 current
00001 /dev/dsk/c11t1d0 00001 current ??? 00000 current
(n4:root)$ strings /etc/lvmtab
/dev/vg01
%sd[C
/dev/dsk/c0t1d0
/dev/dsk/c0t2d0
/dev/vg00
%sd[9$>T
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0
/dev/oravg14
%sd[?g
/dev/dsk/c10t0d0
/dev/dsk/c11t8d0
/dev/oravg04a
%sd[=
/dev/dsk/c11t1d0
(n4:root)$ strings /etc/lvmpvg
VG /dev/oravg04
PVG oravg04-2
/dev/dsk/c10t8d0
PVG oravg04-1
/dev/dsk/c11t0d0
(n4:root)$
(n4:root)$ uname -a
HP-UX n4 B.11.00 U 9000/800 628319323 unlimited-user license
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:50 AM
10-22-2008 04:50 AM
Re: trying to reduce mirror
"Information in "/etc/lvmtab" differs from that in "/etc/lvmpvg".
VG "/dev/oravg04" is not defined in file "/etc/lvmtab"."
But you have a "/dev/oravg04a" - why?
lvdisplay says data is only on 1 disk, but also says 1 mirror copy (this isn't true).
How exactly did you remove the disk from the VG or even the whole VG???
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 04:51 AM
10-22-2008 04:51 AM
Re: trying to reduce mirror
On a well patched system there must be NOTHING reduced in order to change a disk ... doing this anyway will create situations like yours.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 05:02 AM
10-22-2008 05:02 AM
Re: trying to reduce mirror
/dev/oravg04
is now
/dev/oravg04a ?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 05:06 AM
10-22-2008 05:06 AM
Re: trying to reduce mirror
Yes, I have created a great mess, unfortunally I inherited this system recently and did not get a chance to patch it.
VG /dev/oravg04a is in lvmtab if you look at the bottom of the strings output.
Not sure what happened to oravg04 that happened prior to me getting the box.
Where to go from here is the question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 05:09 AM
10-22-2008 05:09 AM
Re: trying to reduce mirror
Let's try this first:
# vgscan -p -v
What do you get?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 05:14 AM
10-22-2008 05:14 AM
Re: trying to reduce mirror
here is the output you requested: Looks liek I have a couple other issues to deal with.
(n4:root)$ vgscan -p -v
vgscan: Warning: couldn't query physical volume "/dev/dsk/c10t8d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c11t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: Couldn't access the list of physical volumes for volume group "/dev/orabunmvg".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/oravg04".
vgscan: The physical volume "/dev/dsk/c0t1d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c0t2d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c1t6d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c2t6d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t3d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t8d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t9d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t11d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t12d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t13d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c5t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c5t1d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c5t2d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c5t8d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c5t9d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c5t10d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c13t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c13t1d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c13t2d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c13t8d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c13t9d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c13t10d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c11t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c11t1d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c11t2d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c11t3d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c11t8d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c11t10d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c11t11d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c11t13d0" is already recorded in the "/etc/lvmtab" file.
Current path "/dev/dsk/c13t0d0" is an alternate link, skip.
Current path "/dev/dsk/c13t1d0" is an alternate link, skip.
Current path "/dev/dsk/c13t2d0" is an alternate link, skip.
Current path "/dev/dsk/c13t8d0" is an alternate link, skip.
Current path "/dev/dsk/c13t9d0" is an alternate link, skip.
Current path "/dev/dsk/c13t10d0" is an alternate link, skip.
Physical Volume "/dev/dsk/c0t9d0" contains no LVM information
Physical Volume "/dev/dsk/c0t10d0" contains no LVM information
Physical Volume "/dev/dsk/c0t11d0" contains no LVM information
Physical Volume "/dev/dsk/c10t2d0" contains no LVM information
Physical Volume "/dev/dsk/c12t2d0" contains no LVM information
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/orabunmvg failed.
/dev/vg01
/dev/dsk/c0t1d0
/dev/dsk/c0t2d0
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0
/dev/oravg14
/dev/dsk/c10t0d0
/dev/dsk/c11t8d0
/dev/oravg11
/dev/dsk/c10t3d0
/dev/dsk/c11t11d0
/dev/appvg00
/dev/dsk/c10t8d0
/dev/dsk/c11t0d0
/dev/oravg05
/dev/dsk/c10t9d0
/dev/dsk/c11t13d0
/dev/oravg12
/dev/dsk/c10t11d0
/dev/dsk/c11t3d0
/dev/oravg01a
/dev/dsk/c10t12d0
/dev/dsk/c11t2d0
/dev/oraarch2
/dev/dsk/c10t13d0
/dev/dsk/c11t10d0
/dev/oravg02
/dev/dsk/c5t0d0
/dev/dsk/c5t1d0
/dev/dsk/c13t0d0
/dev/dsk/c13t1d0
/dev/oravg01
/dev/dsk/c5t2d0
/dev/dsk/c5t8d0
/dev/dsk/c5t9d0
/dev/dsk/c5t10d0
/dev/dsk/c13t2d0
/dev/dsk/c13t8d0
/dev/dsk/c13t9d0
/dev/dsk/c13t10d0
/dev/oravg04a
/dev/dsk/c11t1d0
The Volume Group /dev/oravg04 was not matched with any Physical Volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2008 09:37 AM
10-24-2008 09:37 AM
Re: trying to reduce mirror
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1281684
you have another problem with this config.
Details please?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2008 11:05 AM
10-24-2008 11:05 AM
Re: trying to reduce mirror
I have 2 seperate issues with this server.
1. VG oravg04a mirror will not sync up all the details are above.
2. VG oravg04 is a live VG but for some reason /etc/lvmtab no longer knows about it.
thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 08:34 AM
10-26-2008 08:34 AM
Re: trying to reduce mirror
Thanks for all who offered assistance.