- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvreduce a mirror from 2 disks
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
тАО04-04-2007 04:00 AM
тАО04-04-2007 04:00 AM
lvreduce a mirror from 2 disks
i work with 2 EVA Storage and an HPUX 11 server. I want to move an logical volume from the first bay to the second. This logical volume have PE on two disk( vdisk) on the first EVA !!!
i want to make an mirror between the LV and PV locate on the Second bay.
#lvextend -1 /dev/vg02/lvolA /dev/dsk/cXtYdZ
and after remove all data from the first bay.
#lvreduce тАУ0 /dev/vg02/lvolA /dev/dsk/cxtydz /dev/dsk/cxtydw
Can i reduce an mirror by this way ? from two disk at the same time?
thank for you help
bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 04:05 AM
тАО04-04-2007 04:05 AM
Re: lvreduce a mirror from 2 disks
You will need to use the -m option with lvextend and lvreduce
# lvextend -m 1 /dev/vg02/lvolA /dev/dsk/newdisk
# lvreduce -m 0 /dev/vg02/lvolA /dev/dsk/olddisk1 /dev/dsk/olddisk2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 04:07 AM
тАО04-04-2007 04:07 AM
Re: lvreduce a mirror from 2 disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 04:09 AM
тАО04-04-2007 04:09 AM
Re: lvreduce a mirror from 2 disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 04:11 AM
тАО04-04-2007 04:11 AM
Re: lvreduce a mirror from 2 disks
I believe lvsplit may also work.
Best approach in my opinion is to completely break the mirror on the whole logical volume and then rebuild it after.
This is more time consuming but it lets you do it the way you want.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 07:52 PM
тАО04-04-2007 07:52 PM
Re: lvreduce a mirror from 2 disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 08:24 PM
тАО04-04-2007 08:24 PM
Re: lvreduce a mirror from 2 disks
correct #lvextend -m 1 /dev/vg02/lvolA /dev/dsk/cXtYdZ
wrong #lvreduce 0 /dev/vg02/lvolA /dev/dsk/cxtydz /dev/dsk/cxtydw
correct #lvreduce -m 0 /dev/vg02/lvolA /dev/dsk/cxtydz /dev/dsk/cxtydw
yes you can do,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2007 06:03 AM
тАО04-05-2007 06:03 AM
Re: lvreduce a mirror from 2 disks
thank for all !!
an my apologize for cut/paste mistazer in the commande lines.
All is ok SO.
my goal is to move data from on bay to the other and between "pvmove" and "mirror lv" i had an doubts but all is ok now.
thank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2007 05:38 PM
тАО04-05-2007 05:38 PM