- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring on not equal in size PVs
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
05-10-2007 05:39 AM
05-10-2007 05:39 AM
I've got a VG with 2 disks of 100 GB each... I need to migrate the data on the 2 PVs of 100GB to 8 PVs of 25GB each..
Can I use mirror copy to do that... This need to be transparent to the online content?? Is this can be done with a lvextend -m ???
Regards
Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 06:01 AM
05-10-2007 06:01 AM
SolutionMirroring in HP-UX LVM is done at the logical volume level.
You can move physical extents from one physical volume to another within a volume group with 'pvmove'. You could also 'lvreduce' a mirror on one target physical path and 'lvextend' the mirror onto a new physical path if you choose.
Remember that you can have up to two mirror copies or three copies of a logical volume extent at a time.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 06:10 AM
05-10-2007 06:10 AM
Re: Mirroring on not equal in size PVs
Yes you can use mirroring to do that, while the users are using it.
Will it be transparent. sort of.
While mirror/ux is making mirror copies i/o use will be high.
You should have a written plan so you don't make any mistakes.
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
05-10-2007 06:15 AM
05-10-2007 06:15 AM
Re: Mirroring on not equal in size PVs
lvextend -m 1 /dev/vgXX/lvolX /dev/dsk/cXtXdX /dev/dsk/cXtXdX ...
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 06:26 AM
05-10-2007 06:26 AM
Re: Mirroring on not equal in size PVs
I would create a file /etc/lvmpvg and use the PVG name as the mirror destination, see
http://docs.hp.com/en/B2355-60105/lvmpvg.4.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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2007 12:30 AM
05-11-2007 12:30 AM
Re: Mirroring on not equal in size PVs
I extend in mirror with this command:
lvextend -m 1 /dev/vgXX/lvolX /dev/dsk/cXtXdX /dev/dsk/cXtXdX ...
Jonathan