- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvreduce not completely successful.
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
Discussions
Discussions
Forums
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
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
тАО05-04-2010 10:14 AM
тАО05-04-2010 10:14 AM
/dev/vg11/lvol1
/dev/vg11/lvol2
that are using these two disks:
/dev/dsk/c16t0d1
/dev/dsk/c16t0d2
------------------
I added two more disks to this VG and then I did an lvextend -m 1 /dev/vg11/lvol1 /dev/dsk/c21t0d2
and
lvextend -m 1 /dev/vg11/lvol2 /dev/dsk/c21t0d3
I was trying to mirror lvol1 to disk d2 and then mirror lvol2 to the other disk, d3. I received a "successfully extended" message.
Then I wanted to remove the two old disks from the volume group, so I did the following:
lvreduce -m 0 /dev/vg11/lvol1 /dev/dsk/c16t0d1
Logical volume "/dev/vg11/lvol1" has been successfully reduced.
and
lvreduce -m 0 /dev/vg11/lvol2 /dev/dsk/c16t0d2
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
------------
As you can see, the second lvreduce did not work. How can I get rid of the /dev/dsk/c16t0d2 disk from the VG?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 10:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 10:29 AM
тАО05-04-2010 10:29 AM
Re: lvreduce not completely successful.
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c16t0d2 385 385
/dev/dsk/c21t0d3 255 255
The problem is I need to get off the c16t0d2 disk. That disk is presented from an EVA that is going away. I need the the LV's on the c21t0d3 disk.
Thanks for the quick reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 10:57 AM
тАО05-04-2010 10:57 AM
Re: lvreduce not completely successful.
What is the free space in "/dev/dsk/c21t0d3"? If you have enough room in "/dev/dsk/c21t0d3" for the extents residing in the disk you want to get rid of, you might move these extents with "pvmove"
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 05:29 AM
тАО05-05-2010 05:29 AM
Re: lvreduce not completely successful.
Another thought I had, was to have another disk presented from the SAN and move the LV there. Then remove the old disk and return it to the SAN. Which is easier?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 07:01 AM
тАО05-05-2010 07:01 AM
Re: lvreduce not completely successful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 07:38 AM
тАО05-05-2010 07:38 AM
Re: lvreduce not completely successful.
http://docs.hp.com/en/5992-6576/ch03s05.html
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!