- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: migrating data to newer 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-25-2004 08:23 PM
тАО04-25-2004 08:23 PM
migrating data to newer disks
I don't have any idea on how to migrate the data from the older 2x4GB disks into 2x18GB disks. Any idea? Pls give me step by step. I'm new to HPUX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2004 08:31 PM
тАО04-25-2004 08:31 PM
Re: migrating data to newer disks
pvmove...
man pvmove for more details..
regds
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2004 08:32 PM
тАО04-25-2004 08:32 PM
Re: migrating data to newer disks
U have vg01 of disk3,disk4
pvcreate disk5 (use the proper devicename)
pvcreate disk6
vgextend vg01 disk5 disk6
pvmove disk3
pvmove disk4
Now u would have disk3 and disk4 free
Use lvdisplay on all the lv's and find these pv's (disk3 and disk4) are no longer used
vgreduce vg01 disk3
vgreduce vg01 disk4
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2004 08:35 PM
тАО04-25-2004 08:35 PM
Re: migrating data to newer disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2004 08:44 PM
тАО04-25-2004 08:44 PM
Re: migrating data to newer disks
AS you told you need to backup your data to some other Media and restore back after adding the new disks.
You can make the backup using either tapes or Network storage like NFS shares of other systems .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2004 08:46 PM
тАО04-25-2004 08:46 PM
Re: migrating data to newer disks
Once this excersise is done, u can install the removed vg's disks and then import the vg back
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 01:11 AM
тАО04-26-2004 01:11 AM
Re: migrating data to newer disks
It might be best to re-create it...
First, backup it up....
Next, make note of the lvols currently configured in vg01:
vgdisplay -v vg01 > /tmp/vgdisplay.vg01
Then, blow it away:
umount all the filesystems on vg01
vgchange -a n vg01
vgexport /dev/vg01
If your HASS is hot swap, swap the disks - if not, you will have to shutdown your box and HASS...
Re-create vg01:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate -s 8 -p 128 /dev/vg01 /dev/dsk/cXtXdX /dev/dsk/cXtXdX /dev/dsk/cXtXdX
/dev/dsk/cXtXdX (devs of your 3 disks - from /tmp/vgdisplay.vg01)
then, for each lvol in /tmp/vgdisplay.vg01, lvcreate them:
(For example - create a 4GB filesystem)
lvcreate -L 4096 -n lvvol1 /dev/vg01
newfs -F vxfs /dev/vg01/rlvol1
Once they are all created (to the size you want), mount them (entries should still be in /etc/fstab), then restore your data...
Rgds...Geoff