- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Moving raw lv's to another machine.
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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-18-2002 10:42 AM
04-18-2002 10:42 AM
Moving raw lv's to another machine.
My first post, and here it is.
I need to move raw logical volumes from one machine to another. On the host machine, the volumes are 2 gb, and I created 2gb lv's on the target machine. I used dd if=/dev/vg02/rraw1|remsh target of=/dev/vg10/rraw1. It took about 2 seconds to complete. I tried the same with a block size entry, and it still took about 2 seconds. I received no errors. Since i cannot really 'SEE' the data on the raw volumes, and it took only 2 seconds, I doubt the data is there. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 10:50 AM
04-18-2002 10:50 AM
Re: Moving raw lv's to another machine.
You need to complete the dd command locally to a local file, then rcp the file over to remote system & remsh the dd from file to device remotely.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 10:56 AM
04-18-2002 10:56 AM
Re: Moving raw lv's to another machine.
dd if=/dev/vg00/lvol1 | remsh host dd of=/dev/vg00/lvol1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:01 AM
04-18-2002 11:01 AM
Re: Moving raw lv's to another machine.
Something like this
dd if=/dev/vg02/rraw1 of=/path/to/filename
rcp /path/to/filename newhost:/path/to/filename
remsh newhost dd if=/path/to/filename of =/dev/vg10/rraw1
Of course these can be combined into a single script & blocking is up to you.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:04 AM
04-18-2002 11:04 AM
Re: Moving raw lv's to another machine.
I have tried your idea Yates, and it wont work. I am in the middle of trying Jeffs idea, and I'll keep you all posted.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:19 AM
04-18-2002 11:19 AM
Re: Moving raw lv's to another machine.
262+1 records in
262+1 records out
But the file is around2 gb. Kinda crazy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:42 AM
04-18-2002 11:42 AM
Re: Moving raw lv's to another machine.
Just take backup of those two volumes using fbackup and then try to restore the same on new machine.
That is the simplest solution.
Otherwise you can export the file systems from host machine and import on new machine ./ before importing filewsystems, disconnect the drives from old machine and place it to new machine.
Import using map file and -s option of vgexport command.
Let me know if you have further questions.
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:52 AM
04-18-2002 11:52 AM
Re: Moving raw lv's to another machine.
Your gonna love this. The machine I am dd'ing from is an old g-40, and the new machine is an R390 (new d390). The R has no tape drives, and the g only has dds-2 drives.
I'm just wondering why I got the I/O error even though the file that was created with the original dd looks like it may have come over OK.
To make things worse..These are Informix raw volumes, and the Informix DBA is gone...for good.
Thanks for your help.
I'll keep diggin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 12:57 PM
04-18-2002 12:57 PM
Re: Moving raw lv's to another machine.
timex remsh source_box " dd if=/dev/vga/rlv3 bs=1024k | gzip "| gunzip >/dev/vga/rlv3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 02:56 PM
04-18-2002 02:56 PM
Re: Moving raw lv's to another machine.
You may need to enable largefiles support on the system giving the error for the FS you're creating/copying in.
It's possible that even though the LVs are 2Gb, the file being created is slightly exceeding the limit.
Probably should go ahead & enable it on both - just to be safe.
Sorry I didn't point that out earlier.
You can check if supported, do
fsadm /mountpoint
If it comes back nolargefiles then do
fsadm -o largefiles /mountpoint
Then try to create again.
HTH,
Jeff