- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgreduce not working
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
04-20-2009 07:49 AM
04-20-2009 07:49 AM
vgreduce not working
Ran-lvreduce –m 0 /dev/vg00/lvol#”1-11” /dev/dsk/c1t2d0
Once all of this was done I did my vgreduce /dev/vg00 /dev/dsk/c1t2d0,
This came back telling me that the disk was not cleared of items running from it.
Then I tried vgreduce –f /dev/vg00, this gave me the same message. Not sure how to get this server to let go of this drive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 08:08 AM
04-20-2009 08:08 AM
Re: vgreduce not working
also, it is not a good way of doing this but assuming you are using a fairly recent hardware, i.e., L/N class or newer machines, you can yank out the drive while the system is running, without performing the vgreduce, put the replacement hardware in and rebuild it.
pvcreate -f /dev/rdsk/c1t2d0
vgcfgrestore -n vg00 /dev/rdsk/c1t2d0
vgchange -a y vg 00
then resynchronize your logical volumes.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 08:28 AM
04-20-2009 08:28 AM
Re: vgreduce not working
(physical etents are still in use)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 08:47 AM
04-20-2009 08:47 AM
Re: vgreduce not working
http://www.hpux.ws/?p=21
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 08:51 AM
04-20-2009 08:51 AM
Re: vgreduce not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 09:43 AM
04-20-2009 09:43 AM
Re: vgreduce not working
Read this for the best solutions.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 10:34 AM
04-20-2009 10:34 AM
Re: vgreduce not working
you already break the mirror by doing
>>>lvreduce â m 0 /dev/vg00/lvol#â 1-11â /dev/dsk/c1t2d0
post the output of #pvdisplay /dev/dsk/c1t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2009 06:42 AM
04-21-2009 06:42 AM
Re: vgreduce not working
I wouldn't do that though. It's evident that the system still thinks it has extents in use on that device. I would try to figure out what's using them. vgdisplay -v
lvdisplay -v those logical volumes and find out which LV has the extents in use. Take appropriate action after that. If you're certain you removed the mirrors and then just yank the device and you were mistaken, you could corrupt or crash your server because you've now taken out the primary copy of an LV with no mirror.
Since you're this far into it, I would retrace my steps to insure everything is oK if you pull the disk.