- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvreduce doesn't remove ghost disk
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
12-05-2007 03:50 AM
12-05-2007 03:50 AM
lvreduce doesn't remove ghost disk
I'm unable do reduce the mirror count.
I try the following:
uxsico02:/ # lvreduce -k -m 0 /dev/vg00/lvol5 1
Physical extents on remaining physical volumes are stale or
Remaining physical volumes are not responding.
lvreduce: The LVM device driver failed to reduce mirrors on
the logical volume "/dev/vg00/lvol5".
uxsico02:/ #
uxsico02:/ # lvdisplay -v /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 88
Current LE 11
Allocated PE 22
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 11 11
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c1t6d0 00000 stale ??? 00000 current
00001 /dev/dsk/c1t6d0 00001 stale ??? 00001 current
00002 /dev/dsk/c1t6d0 00002 stale ??? 00002 current
00003 /dev/dsk/c1t6d0 00003 stale ??? 00003 current
00004 /dev/dsk/c1t6d0 00004 stale ??? 00004 current
00005 /dev/dsk/c1t6d0 00005 stale ??? 00005 current
00006 /dev/dsk/c1t6d0 00006 stale ??? 00006 current
00007 /dev/dsk/c1t6d0 00007 stale ??? 00007 current
00008 /dev/dsk/c1t6d0 00008 stale ??? 00008 current
00009 /dev/dsk/c1t6d0 00009 stale ??? 00009 current
00010 /dev/dsk/c1t6d0 00010 stale ??? 00010 current
uxsico02:/ #
uxsico02:/ # lvdisplay -k -v /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 88
Current LE 11
Allocated PE 22
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 11 11
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 0 00000 stale 1 00000 current
00001 0 00001 stale 1 00001 current
00002 0 00002 stale 1 00002 current
00003 0 00003 stale 1 00003 current
00004 0 00004 stale 1 00004 current
00005 0 00005 stale 1 00005 current
00006 0 00006 stale 1 00006 current
00007 0 00007 stale 1 00007 current
00008 0 00008 stale 1 00008 current
00009 0 00009 stale 1 00009 current
00010 0 00010 stale 1 00010 current
uxsico02:/ #
Please help
gerd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 04:02 AM
12-05-2007 04:02 AM
Re: lvreduce doesn't remove ghost disk
Looking at your output it looks like is the PV with a key of 0 thats stale, not 1.
Try:
lvreduce -m 0 -k /dev/vg00/lvol5 0
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 04:05 AM
12-05-2007 04:05 AM
Re: lvreduce doesn't remove ghost disk
In case you want to replace a bad disk, you should leave the config as is and just replace the disk followed by the proper re-config steps, see
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
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
12-05-2007 04:07 AM
12-05-2007 04:07 AM
Re: lvreduce doesn't remove ghost disk
the same error:
uxsico02:/ # lvreduce -k -m 0 /dev/vg00/lvol5 0
Physical extents on remaining physical volumes are stale or
Remaining physical volumes are not responding.
lvreduce: The LVM device driver failed to reduce mirrors on
the logical volume "/dev/vg00/lvol5".
uxsico02:/ #
I think the PE1 is the active disk and PE2 the missing
gerd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 04:11 AM
12-05-2007 04:11 AM
Re: lvreduce doesn't remove ghost disk
you need to execute
lvreduce -k -m 0 /dev/vg00/lvol? 1
for each lv in vg
hasan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 04:14 AM
12-05-2007 04:14 AM
Re: lvreduce doesn't remove ghost disk
see the error in my opening question.
Gerd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 04:20 AM
12-05-2007 04:20 AM
Re: lvreduce doesn't remove ghost disk
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
12-05-2007 04:28 AM
12-05-2007 04:28 AM
Re: lvreduce doesn't remove ghost disk
I have done a kernel reconfiguration and was unable to boot. That's why I boot from a tape. The boottape was old and I restore the filesystem from a backup. An now I try to setup the mirror.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 05:21 AM
12-05-2007 05:21 AM
Re: lvreduce doesn't remove ghost disk
vgcfgrestore -n vg00 -l
gives a meaningful result you may consider to restore the vg config to the "new" disk.
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!
