- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- data migration in hp unix
Operating System - HP-UX
1752797
Members
5583
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-07-2011 03:08 AM
06-07-2011 03:08 AM
data migration in hp unix
hi all,
i want to migrate data from SAN storage to inter hard disk of the server.
hp unix version: 11.31i
thanks and regards,
amol nagtilak
i want to migrate data from SAN storage to inter hard disk of the server.
hp unix version: 11.31i
thanks and regards,
amol nagtilak
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2011 06:24 AM
06-07-2011 06:24 AM
Re: data migration in hp unix
Is the "data" a filesystem, or some form of a raw database?
LVM or VxVM?
Do you have MirrorDisk?
Are the internal hard disk(s) you plan to use currently unallocated, or are you going to use the system disks (vg00)?
If these are basic filesystems on LVM and you have MirrorDisk, and the local disks are currently unallocated, one possible procedure is:
1.) use pvcreate to prepare the unallocated disk for LVM
2.) use vgextend to join the local disk to the VG that holds the SAN disks you wish to migrate
3.) use "lvextend -m 1" to mirror the LV from the SAN storage to local disk
4.) when mirroring is complete, use "lvreduce -m 0 " to remove the mirror half that is on the SAN storage.
5.) Repeat steps 3 and 4 to all the LVs still on the SAN storage.
6.) Use "vgreduce" to remove the SAN disks from the VG.
7.) If you have other VGs on SAN storage, repeat steps 1-6 as necessary.
8.) Clean up: if required by your site policy, overwrite the SAN storage with zeroes, then disconnect the system from SAN and use rmsf to tell the system those disk devices are intentionally gone.
If you don't have MirrorDisk, you can use pvmove for the data migration instead of the "lvextend -m 1"/"lvreduce -m 0" pair.
MK
LVM or VxVM?
Do you have MirrorDisk?
Are the internal hard disk(s) you plan to use currently unallocated, or are you going to use the system disks (vg00)?
If these are basic filesystems on LVM and you have MirrorDisk, and the local disks are currently unallocated, one possible procedure is:
1.) use pvcreate to prepare the unallocated disk for LVM
2.) use vgextend to join the local disk to the VG that holds the SAN disks you wish to migrate
3.) use "lvextend -m 1
4.) when mirroring is complete, use "lvreduce -m 0
5.) Repeat steps 3 and 4 to all the LVs still on the SAN storage.
6.) Use "vgreduce" to remove the SAN disks from the VG.
7.) If you have other VGs on SAN storage, repeat steps 1-6 as necessary.
8.) Clean up: if required by your site policy, overwrite the SAN storage with zeroes, then disconnect the system from SAN and use rmsf to tell the system those disk devices are intentionally gone.
If you don't have MirrorDisk, you can use pvmove for the data migration instead of the "lvextend -m 1"/"lvreduce -m 0" pair.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP