- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove 2 disks from 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
01-10-2003 01:32 PM
01-10-2003 01:32 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 01:44 PM
01-10-2003 01:44 PM
Re: remove 2 disks from mirror
lvdisplay -v /dev/vg00/lvolx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 01:51 PM
01-10-2003 01:51 PM
SolutionMirrored extents will be placed whereever there is available space as constrained by the 'strict' allocation policy [see the man pages for 'lvcreate'].
If you issue the command, If I issue the command:
# lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/c3t4d0 /dev/dsk/c5t5d0
...then LVM will remove mirrored extents from the stated devices. Notice that I specified 0-copies; i.e. one less than what you currently have.
Then, if you want to limit (control) a subsequent mirror operation' to a particular physical device, specify the physical device when you mirror:
# lvextend -m 1 /dev/vgXX/lvolY /dev/dsk/cXtYdZ
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 01:56 PM
01-10-2003 01:56 PM
Re: remove 2 disks from mirror
I should add that if you have extended the number of "primary" extents of the logical volume (ignoring any mirrored ones), and you find that the new extents were taken from a disk you did not want utilized, you can use the 'pvmove' command to migrate extents from one device to another.
Have a look at the man pages for 'pvmove' for more details.
If you choose to use 'pvmove' do *not* interrupt it while it works. It will take some time -- about the same or more than a mirror synchronization operation.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 02:00 PM
01-10-2003 02:00 PM
Re: remove 2 disks from mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 02:06 PM
01-10-2003 02:06 PM
Re: remove 2 disks from mirror
You can use pvmove. But I would say it is better to reduce the mirrors and extend the mirror.
lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/c3t5d0 /dev/dsk/c5t5d0 /dev/dsk/c5t6d0
Now extend the mirror using only one device
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c5t6d0
This should be simple and will take the same time as of pvmove.
-Sri