- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: RE : help data transfer
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
02-14-2006 05:25 PM
02-14-2006 05:25 PM
RE : help data transfer
Can anyone advice how can I perform a data transfer from a b2000 workstation with a DS 2100 connected and a DS2300 connected via different scsi card. I understand that I can used dd to copy or use cp. The harddisk size is 72GB mirror two vg group. Which one is fster and how much time is reqiure. Also, can provide me with the dd command.
is it something like
dd if=/dev/dsk/c0t0d0 of=/dev/dsk/c1t0d0 block size 1024
assume c0t0d0 is the source and c1t0d0 is the target.
Regards
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 05:51 PM
02-14-2006 05:51 PM
Re: RE : help data transfer
Hi,
"dd" is just block-to-block coppying of FULLDISK, ie.. irrespective of the used/data area it would take the same time to complete the operation.
Based on the used space you can decide whcih command to use, if your used/data area is less then it is better to use the "cp" itself.
pls use -p option with "cp" command, this will preserve the permissions too.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 05:56 PM
02-14-2006 05:56 PM
Re: RE : help data transfer
cp -pS -r -e warn /directory
It is safer one.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 06:07 PM
02-14-2006 06:07 PM
Re: RE : help data transfer
You can use "cp" or "mv" to do this.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 06:17 PM
02-14-2006 06:17 PM
Re: RE : help data transfer
If you have mirror-Ux installed then the best way would be to extend the mirror to the new devices and then reduce it from the old devices. This will be slightly slow then the dd but will be the good option if disks sizes are slightly different.
Also cpio is an option. Create new VG on new disks and mount it on similar paths say if old is /data then at datanew, /data1 at /data1new and so on
Then
#pwd
/data
#find ./ -name "*" -print|cpio -pdmv /datanew
Repeat for other volumes.
In the end unmount original file systems and mount new file systems at that path. The benefit of this approach will be that you can resize / reconfigure VG and file systems. The downcome is that the application should be stopped during copy whereas earlier two methods do not require that and can achive the whole process with some compromise with performance.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 11:59 PM
02-14-2006 11:59 PM
Re: RE : help data transfer
Thanks for the info, lets assume that i have 2x 72GB disk mirror on vg01 and another 2x72GB disk mirror on vg02 . I intent to use 2 x 300GB newly add disk for vg01 and another 2 x300GB for vg02. Please advice on the steps how can I extend the mirror copies to the 300GB with the data intact and than reduce the old disk. Thanks.
Note, there isn't any backup available .
Regards
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 02:46 AM
02-15-2006 02:46 AM
Re: RE : help data transfer
Mount the "old" lvol to say /zmnt and the new disk to the new mount.
vxdump -0 -f - -s 1000000 -b 16 /zmnt/oracle | (cd /oracle ; vxrestore rf -)
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 05:03 PM
02-15-2006 05:03 PM
Re: RE : help data transfer
As there is quite a lot difference in the disk sizes for this method to be adoptive you will have to find out if your existing VGs support these disks. Find out PE_Size & MAX_PE_PER_PV from the output of
#vgdisplay -v /dev/vg01
#vgdisplay -v /dev/vg02
The multiplication of the parameters will give you the largest size of indivisual disk in these VG. If this is more than the size of new disks then you can add them in current VG.
Also you should have an option of physically connecting new four disks simultaneously with existing disks if the option for connecting two new disk is there than this will also work.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 03:32 AM
02-16-2006 03:32 AM
Re: RE : help data transfer
Regardless of the method you use, I would first make sure I had a good backup of the data before trying to copy it to another disk.
Regards,
Mark