- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cloning the particular VG on HP-UX without using i...
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
08-20-2007 04:52 PM
08-20-2007 04:52 PM
Cloning the particular VG on HP-UX without using ignite-ux
I am planning to clone a particular VG from one system to another system online.(downtime very less) without using Ignite-UX.
Hoe can I do that?
Thanks for help.
Regards,
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 04:58 PM
08-20-2007 04:58 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 05:43 PM
08-20-2007 05:43 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 06:39 PM
08-20-2007 06:39 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 06:47 PM
08-20-2007 06:47 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
How to create an Split-Volume Backup?
The lvsplit command allows a mirrored logical volume to be split from the primary logical volume.
Upon splitting the logical volume, a new device file is created which allows the mirrored logical volume to be accessed separately from the primary. The name of the new device file is the primary device filename with the character "b" appended at the end.
For example: the name of the split off mirror for /dev/vg00/lvol4 is /dev/vg00/lvol4b.
The following procedure outlines the steps to create a split-volume backup:
1. Split the mirror
# lvsplit /dev/vg00/lvol4
2. Ensure the integrity of the mirror filesystem with fsck
# fsck /dev/vg00/lvol4b
Note: Failure to run fsck, will result in an error. The lvsplit command left the mount flag ON. The fsck command will detect the filesystem flag, and modify it to OFF.
3. Make a mount point for the mirror, if one does not already exist
# mkdir /backup
4. Mount the split filesystem
# mount /dev/vg00/lvol4b /backup
5. Perform the backup using any backup tool. The following example uses tar.
# cd /backup
# tar cvf /dev/rmt/0m .
Note: Backups should always use relative paths so that full pathnames are not stored. In the event of recovery, the use of absolute pathnames will cause the files to be restored to /backup instead of the correct mount point.
6. When the backup completes, remerge the mirror with the primary copy
# cd /
# umount /backup
# lvmerge /dev/vg00/lvol4b /dev/vg00/lvol4
WK
Please assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 07:04 PM
08-20-2007 07:04 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
Tar backup will take time!! Is there any other way to do it. means If I can export the splited LV to another server.
Regards,
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 07:07 PM
08-20-2007 07:07 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
if your storage is EVA or XP, i believe they have this business copy features which can meet your requirement.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 07:39 PM
08-20-2007 07:39 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 09:14 PM
08-20-2007 09:14 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
Do you want to move the VG from one storage to the other or do you want to move the VG from one server to the other? Or both :-)?
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 10:16 PM
08-20-2007 10:16 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
I never want to move storage or VG, I want only to copy VG Data/Info from one server to another server.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 04:32 PM
08-21-2007 04:32 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 02:56 AM
08-22-2007 02:56 AM
Re: Cloning the particular VG on HP-UX without using ignite-ux
create similar VG and LVs on the second system where you want to clone.
then use nfs mounts to copy the data locally on the second system.
NFS mounts :
On first server, from where nfs f/s need to be exported
See rpc.server is running
#ps â aef|grep â i rpc, if not running then
Vi /etc/rc.config.d/nfsconf change nfs.server=1
/sbin/init.d/nfs.server start
See that the â rpc.mountdâ is also running on the first server.
Vi /etc/exports
/pvcs/work â ro,anon=65534
Or
/pvcs/work â ro,anon=65534,access=pdah0913,root=pdah0913
and run
#exportfs â a
to findout the exported f/s
run #exportfs
to disable the exported f/s
run #exportfs â u /pvcs/work
Note: while doing the above see the nfs services are not running on the secong host (target).
On the second server (client), to where the nfs mount is required
Mkdir /pvcs/work_n
See rpcclient is running
#ps â aef|grep â i rpc, if not running then
Vi /etc/rc.config.d/nfsconf change nfs.client=1
/sbin/init.d/nfs.client start
#ps â aef|grep â i rpc for verification.
Rpc.mountd daemon may not show on the target server.
Vi /etc/fstab
IP_of_host:/pvcs/work /pvcs/work_n nfs ro,suid,defaults 0 2
then run mount â a and use bdf to verify the new nfs mount point.
NOTE: /pvcs/work is a FS and is an example here.
You can include all other FS existing on that VG in this process and copy the data.
-Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 03:59 PM
08-22-2007 03:59 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 05:55 PM
08-22-2007 05:55 PM
Re: Cloning the particular VG on HP-UX without using ignite-ux
Thanks to all of you for valuable suggetions.
Regards,
Awadhesh