- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Fastest way to copy data from NFS filesystem to lo...
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
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
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-05-2006 10:17 PM
тАО04-05-2006 10:17 PM
I am looking for the fastest way to copy data from an NFS filesystem to a local filesystem. The filesystem is 65GB. I am thinking of doing a multi stream remote 'dd' copy. Any other suggestions ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 10:22 PM
тАО04-05-2006 10:22 PM
Solutionremsh or ssh (preferable without encryption) both are way faster than NFS. Even Samba outperforms NFS by factors.
Not that I oppose to NFS, I'm using it everywhere, but not for big datatransfers.
# cd /new/folder
# remsh remotehost cd /folder/to/copy \; tar cf - . | dd | tar xf -
The dd acts as a buffer, causing more reliable tar acting
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 10:23 PM
тАО04-05-2006 10:23 PM
Re: Fastest way to copy data from NFS filesystem to local disk
Backup and restore via a tape, or if you have gigabit nics on both sides you could use a remote tar or cpio.
# cd /orig_fs
# find . | cpio -pcmud /copy_fs
Hope this helps a bit.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 10:27 PM
тАО04-05-2006 10:27 PM
Re: Fastest way to copy data from NFS filesystem to local disk
Probably, this link should help you
http://www.sunmanagers.org/archives/1999/1914.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 10:30 PM
тАО04-05-2006 10:30 PM
Re: Fastest way to copy data from NFS filesystem to local disk
for DIR in $(find /NFS_FS -type d) | some awk first, second dir | sort -u)
do
cp -pr $DIR DESTINATION &
done
or use fbackup frecover pipe:
/usr/sbin/fbackup -f - -0 -y -i $DIR | (cd DESTINATION_DIR && /usr/sbin/frecover -r -oyX -f -) &
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 10:47 PM
тАО04-05-2006 10:47 PM
Re: Fastest way to copy data from NFS filesystem to local disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2006 01:16 AM
тАО04-06-2006 01:16 AM
Re: Fastest way to copy data from NFS filesystem to local disk
As one who has actualy done this inter-HP-UX/Solaris systems or accross the two many many times, the following method worked best for me:
Re-mount the NFS using UDP
mount -o proto=udp nfsserver:/nfsshare /nfsmount
(Why UDP? -- a whole lot faster than TCP..)
Then either use cpio or GNUtar to transfer /nfsmount's contents to /localfs. Depending on how /nfsmount is populated -- you can do a single stream or multi-stream cpio or tar:
Examples:
tar cf - /nfsmount|(cd /localfs;tar xf -)
cd /nfsmount
find ./ -depth -print|cpio -pdvmu /localfs
Hope this helps...
If you've a 100BT link -- expect the task to be done in about 2-3 hours (depending of course on the content.. if the're zillions of smaller files -- longer...)
If GigE -- significantly less than a 100BT.
Tape will be faster IF you are using a fast tape drive.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2006 11:03 PM
тАО04-06-2006 11:03 PM
Re: Fastest way to copy data from NFS filesystem to local disk
Don't forget to /verify/ that the data has transfered correctly. This will probably take just as long to complete as the copy did in the first place.