- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Copy 50GB data
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
тАО01-19-2009 08:41 AM
тАО01-19-2009 08:41 AM
Re: Copy 50GB data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 08:51 AM
тАО01-19-2009 08:51 AM
Re: Copy 50GB data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 08:52 AM
тАО01-19-2009 08:52 AM
Re: Copy 50GB data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 11:27 AM
тАО01-19-2009 11:27 AM
Solutionas this is local copy even cp and cpio, tar shall take a lot of time to backup or copy or restore.
dd or vdump as i feel u cannot use in this case as u are not to copy an entire LV or a Mounted LV.
dd would have been surely faster with an optimal and big Block Size specified.
i think u can go with the help of a fbackup and frecover with a config file. That shall help u open multiple readers processes in the memory and also help u make the use of fastness of fbackup by specifying a big block size hopefully.
cant tell of other backup softwaRE but Data Protector would have been really handy in this case.
however, using fbackup with a config file, u can achieve a better performance in backup and restoration, u can try like this.
u can have a look at the thread given below and read the post of JRF
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1232392329851+28353475&threadId=1296457\
and see this thread
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=815533
see the last as Bob Brown says:
Feb 17, 2005 11:56:37 GMT N/A: Question Author
--------------------------------------------------------------------------------
Well...I experimented and got MUCH better results. I'm up to >40GB/hour right now.
I set blocksperrecord to 8192,
records to 64,
checkpointfreq to 4096
Those made the biggest difference.
-Bob
u can achieve this by creating a config file for fbackup like this
#vi /tmp/fback.config
blocksperrecord 4096 ---- or 8192 ..... bob got a good result almost 40 GB /hr on Ultrium tape
records 64
checkpointfreq 4096
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000
save and exit.
then use this config file to take a backup.
#fbackup -0vf /dev/rmt/0m -c /tmp/fback.config -i /
here 0 mens full backup.
-f /dev/rmt/om is he device file of the Tape Drive.
-c /tmp/fnack.config is the config file.
-i /
and while restoring the same,
rewind the tape:
#mt -t /dev/rmt/0m rewind
go to the directory u wish to recover
#cd /test
say
#frecover -rvX -f /dev/rmt/0m -c /tmp/fback.config
or #frecover -xvX -f /dev/rmt/0m -c /tmp/fback.config -i /
-r is for recover all from the tape
-x is for selective recover of files.
-v verbose
-X is for recover to current directory instead of recovering to the original location.
thanks JRF abd Bob for the informations...
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 12:12 PM
тАО01-19-2009 12:12 PM
Re: Copy 50GB data
also make sure that ur system running 11.11 has the latest patches for fbackup, that will be an added advantage ... u can go to the itrc .. patches ... select .... 11.11 ...search by keywords "fbackup", downlaod and install that later on also ...
that helps fbackup exceedingly enhance the functionality with the New Ultrium Drives and Media.
however u can do that later on also ..
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 12:32 PM
тАО01-19-2009 12:32 PM
Re: Copy 50GB data
you described the task as a one time job.
Using temporary storage is - in my feeling - not the adequate technique for copying files from one file system to another (on the same server!):
Using temporary storage involves an additional read and write operation. This overhead cannot be regained, IMHO.
I still think,
find ... | cpio ...
is hardly to beat here.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 12:46 PM
тАО01-19-2009 12:46 PM
Re: Copy 50GB data
Thats being true, that the most suitable command for such operations is definitely the combination of find and cpio
that is '
#find ..... | cpio ....
and that is really good for the fileystem copy as we cannot use dd, and vdump here ...and also that cp is slower.
yes the #find .... | cpio ....
that is also a really recommendable solution here as surely that will not require any third storage and that this is more flexible too.
better u can as suggested also give a try to cpio also.
I fully agree and that is more flexible too.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 04:10 PM
тАО01-19-2009 04:10 PM
Re: Copy 50GB data
With fbackup/frecover, can I fbackup files and pipe the output to frecover to restore in destination without using tape?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 04:48 PM
тАО01-19-2009 04:48 PM
Re: Copy 50GB data
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1232412006748+28353475&threadId=1047319
see the post of marvik ::: U can use also dd with an optimal blocksize::
just FYI incase u want to copy large FS in the same server use:
umount /fs1 (X series)
umount /fs2 ( Y series)
dd if=/dev/vgxx/rlvolx of=/dev/vgyy/rlvoly bs=1024k
see another in the same post by marvik
# cd srcdir && fbackup -i . -f - | ( cd dstdir && frecover -Xsrf - )
Now its ur call,u have many options :)
also see the paost from JRF
Regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 04:52 PM
тАО01-19-2009 04:52 PM
Re: Copy 50GB data
"find ." might be smarter than "find *".
I'd probably use a "tar" (or "pax") pipeline,
but I haven't run any speed tests, so I
don't know if it would be faster than cpio or
anything else.
A Forum search for "tar pipeline" should find
many examples in previous discussions.