- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Copy 70G Filesystem
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
07-31-2006 12:57 AM
07-31-2006 12:57 AM
Copy 70G Filesystem
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:01 AM
07-31-2006 01:01 AM
Re: Copy 70G Filesystem
Best: fbackup frestore.
Not as good
scp -rp /fsname/* newhost:/fsname
Even less reliable
rcp -rp /fsname/* newhost:/fsname
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:01 AM
07-31-2006 01:01 AM
Re: Copy 70G Filesystem
Best: fbackup frecover
Not as good
scp -rp /fsname/* newhost:/fsname
Even less reliable
rcp -rp /fsname/* newhost:/fsname
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:04 AM
07-31-2006 01:04 AM
Re: Copy 70G Filesystem
on mounting the source to target just use
find . -print |cpio -pmdv
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:04 AM
07-31-2006 01:04 AM
Re: Copy 70G Filesystem
As Steve suggests, probably the best way would be to backup/restore. I always tend to run into permissions issues when I try to copy, whether rcp, scp or cpio. You might also want to look into vxdump.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:06 AM
07-31-2006 01:06 AM
Re: Copy 70G Filesystem
This depends on you network speed.
100mbFD max 10MB per second
1000mb max 50MB per second
if you have a gigabit network 70GB will take about 30 minutes to copy.
# cd /orig_filesystem
# find . | cpio -ov | remsh server_name "cd /copy_filestem ; cpio -idvum "
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:27 AM
07-31-2006 01:27 AM
Re: Copy 70G Filesystem
I just did a SAN migration using this
vxdump -0 -f- -b 1024 /src_fs | remsh
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
Cheers!
marvik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:45 AM
07-31-2006 01:45 AM
Re: Copy 70G Filesystem
thanks
brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:52 AM
07-31-2006 01:52 AM
Re: Copy 70G Filesystem
The use of 'fbackup'/'frecover' offers the ability to preserve any sparse files as sparse files, rather than inflating them at the destination. This should be another factor in your choice of copy methodology.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 02:14 AM
07-31-2006 02:14 AM
Re: Copy 70G Filesystem
fbackup -i . -f - | (remsh REMOTESERVER ; frecover -r -f - ) &
With rdist, you need to setup some files:
cat myscript.sh
#! /bin/sh
# Keep the DRP copy of the oracle up-to-date.
# Currently the files are in:
#
# /oracle
#
# See the rdist(1M) distfile for a list of exclusions.
DRPDIR=/app/admin/drp
DRPHOST=svr0031
HOST=`/usr/bin/uname -n`
( su - oracle -c "rdist -f $DRPDIR/distfile oracle"; ) 2>&1 |\
tee $DRPDIR/drp.log 2>&1 |\
mailx -s "oracle rdist output" sysadm
# cat distfile
ORACLEDR = ( svr0031 )
#
# File systems to be copied over to the DR host.
# Don't use -R in install - so as not to remove files on destination host
ORACLE = /oracle
oracle: ( ${ORACLE} ) -> ( ${ORACLEDR} )
install -w ;
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 02:31 AM
07-31-2006 02:31 AM
Re: Copy 70G Filesystem
will this work..
on server A(source)
cd /oracle
fbackup -i . -f - | (remsh serverb ; frecover -r -f - /oracle ) &
Thanks
brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 02:33 AM
07-31-2006 02:33 AM
Re: Copy 70G Filesystem
U can also use this :: it will keep all permission fine
# cd srcdir && fbackup -i . -f - | ( cd dstdir && frecover -Xsrf - )
Now its ur call,u have many options :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 03:56 AM
07-31-2006 03:56 AM
Re: Copy 70G Filesystem
I am using the vxdump and initially it failed becasuse after -b itexpects 1024 on vxrestore..then it worked but the permisiions are not same. it writes as root..how wd i fix this? i have aborted the dump now..
Thanks
brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 04:35 AM
07-31-2006 04:35 AM
Re: Copy 70G Filesystem
Thanks
brian