- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvsplit issue
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-31-2007 05:28 AM
05-31-2007 05:28 AM
lvsplit issue
I have an old server with a volume group (VG02) consisting of a LUN from the SAN filled with data. I have a new server that I want to copy that data to. So I vgextended vg02 on the old server to include the new lun dedicated to the new server. I then mirrored the logical volumes to the new LUN. Then (as suggested in my last thread) I used lvsplit to break the mirror and then vgimport on the new server to load up the data. It all works great. My problem now is that I want that new LUN dedicated only to the new server. The problem is that when you "lvsplit" on the old server you get copies of the logical volumes and those are what are loaded on the new server. I want to remove those copies on the original server as well as the new LUN from the volume group, but I can't or it kills all the data on the new server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 05:53 AM
05-31-2007 05:53 AM
Re: lvsplit issue
You should have created a new logical volume not used lvextend
Then you could vgexport on this node and vgimport on the second node.
Have the San Admin help with the WWN and see if you can still implement my plan.
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-31-2007 05:56 AM
05-31-2007 05:56 AM
Re: lvsplit issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 06:15 AM
05-31-2007 06:15 AM
Re: lvsplit issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 05:08 PM
05-31-2007 05:08 PM
Re: lvsplit issue
-g PhysicalVolumeGroup option.
edit /etc/lvmpvg file and add the new disks.
(See man pages for details)
after they are mirrored on the old server, do the split with the -g. now the new disks will be offline and the originals will be active still. I think you can lvremove the "b" lvol and vgreduce the new disks out of the old servers VG at that point without causing any problems. If that doesn't work you could fake out the old server by modifying the PV names so it looks like the disks do not exist any longer and force the vgreduce. ( mv /dev/dsk/c1t2d3 /dev/dsk/c9t9d9). Since the disk paths /dev/dsk/cxtydz do not exist they will not get written to. rename the disk to the proper path once your have removed it from the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2007 06:48 AM
06-04-2007 06:48 AM
Re: lvsplit issue
Mirrored the lvs; created a map file using vgexport and copied it to the new server; then removed the LUN from the original server (do not lvreduce or vgreduce) and vgimport on the new server. Then lvreduce and vgreduce on the original server.