- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to migrate data (400 GB) to NetApp as quic...
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
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
тАО11-08-2003 11:27 PM
тАО11-08-2003 11:27 PM
I planned to use the command cp -rp *, but (I think because of the NFS mounts) this takes quite a while with 400 GB of data. This 400 GB is constantly changing data (not static data) and I need a copy of this on my new NetApp filer system and this should be an exact copy. So the system will be not used during the copy. But our customer wants a downtime as short as possible. I did some tests and it turned out that my downtime would be approx. 24 hours and this is too long. Is there another method rather than the cp command. Ftp is not really an option, because I have a lot of subdirectories as well. Who can help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2003 11:59 PM
тАО11-08-2003 11:59 PM
Re: How to migrate data (400 GB) to NetApp as quick as possible
I am not familiar with netapp filer, but is it possible to use rcp? It is a lot faster then cp.
greetings
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2003 12:02 AM
тАО11-09-2003 12:02 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
I would suggest to NFS over TCP instead of NFS over udp as it gives more performance since it supports large NFS transfer buffers .
since TCP is used , you get higher reliabilty and error recovery for this huge data.
regards,
U.SivaKumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2003 12:19 AM
тАО11-09-2003 12:19 AM
Solutiona) adding more memory or reducing process load and freeing memory
b) Increase number of 'nfsd' daemons
NUM_NFSD=16 (* /etc/rc.config.d/nfsconf *)
c) Eliminate symbolic links
d) NFS client will cache so maybe increase or decrease 'dbc_max_pct' and 'dbc_min_pct'. The issue here is writting to disk which usually happens when the buffer fills. So sometimes biggers is not better. Also, file sizes are a factor. Rule of thumb is buffer cache should be 25% of memory.
See attachment about NFS performance or thread link which refers to same.
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x1c97e8644a22d411ade70090279cd0f9%2C00.html&admit=716493758+1068383566904+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2003 12:28 AM
тАО11-09-2003 12:28 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2003 12:48 AM
тАО11-09-2003 12:48 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
I've had more success with mv.
The bottom line is the best you can do is tune the NFS and make sure the networking is full speed. lanadmin -x 0 zero is the lan number from lanscan.
If those lan connections are not the speed and duplex you expect, the speed of the transfer can be dramatically cut by getting it to 100 BaseT Full Duplex(lanadmin -X) and making sure NIC cards with connections 100 BT and slower are on switch ports that are not autonegotiate.
This is going to take some time, and its probably time to plan for down time.
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
тАО11-09-2003 02:11 AM
тАО11-09-2003 02:11 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
See man for options...
HTH
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 01:28 AM
тАО11-10-2003 01:28 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
ftp: can't be used, because I have several subdirectories as well, so scripts should be made
cp: cp -rp * will work
fbackup/frecover
tar cf/tar xf
cpio -o/i (turned out to be the slowest method)
I looked at the time command, and found out that the speed is not really good (5 MB/s) and that speed I reached on a backbone of 1GB (??). So I asked the customer now to check this network first. I did an ftp on another site (also using the A4929A 1000-T card) and then the speed was 20 MB/s. Quite a difference. So I have to wait for this. But the supplier of this NetApp filer system also said you need a seperate 1 GB network as well to assure the performance. I am also wondering if I should use jumbo frames now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 01:36 AM
тАО11-10-2003 01:36 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
http://www.netapp.com/tech_library/3146.html
Netapps now supports direct attach fibre to an HP-UX server so for your migration I suggest you ignore nfs and direct fibre connect your netapps to your HP, then copy it, then disconnect and remount your netapps on your HP using nfs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 01:41 AM
тАО11-10-2003 01:41 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
Also ensure both are running AUTO (HP Gigabit cards must be set to AUTO as is the switch theyre connected to - they will then negotiate up to 1000FD).
See the document in my last reply, using dd you can get 70MB/s over a gigabit lan connection to your Netapps filer - we do on ours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 03:09 AM
тАО11-10-2003 03:09 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
cd $srcdir
find . -xdev -print | cpio -pxdum $destdir
If you can directly attach the disks, then
you can use a host-level mirroring approach through LVM. Depending upon how much room is available in each vg on the hp server,
either:
1) vgextend vg1 disk1
2) pvmove old_disk1 disk1
3) vgreduce vg1 old_disk1
or:
1) vgextend vg1 disk1 disk2 disk3 disk4
2) vgdisplay -v vg1 | awk '/LV Name/{print $3} | while read LV
do lvextend -m 1 vg1/$LV disk1 disk2 disk3 disk4
done
3) vgdisplay -v vg1 | awk '/LV Name/{print $3} | while read LV
do lvreduce -m 0 vg1/$LV disk1 disk2 disk3 disk4
done
4) vgreduce vg1 old_disk1 old_disk2 old_disk3 old_disk4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 03:20 AM
тАО11-10-2003 03:20 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
cd /source_fs
find ./ -depth -print|cpio -pdvmu /netapp_fs
Option 2: vxdump/vxrestore
vxdump 0f - /source_fs|(cd /netapps_fs;vxrestore rf -)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 05:17 AM
тАО11-10-2003 05:17 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
While some copy methods are faster than others, going through a single host, ( between storTek and Netapps) is going to be time consuming.
If you have room, how about a StorTec to StorTec copy, using dd for instance.
Then you can bring the system/ dbase up, and do an NFS copy at your leisure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 06:04 AM
тАО11-10-2003 06:04 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
We used the snapshot feature of our Storage Tek d280 to do backups. We'd make a snapshot then copy that to tape while the underlying filesystem was mounted and the app running.
You could do the same. A very short outage to make the snapshot, then copy that to your netapp.
The advantage is you don't need enough free disk space to do a full copy of the original disks, and it is much faster than a full copy to make the snapshot. The downside is I believe Storage Tek makes you pay for snapshot software, so you might not have it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 04:30 AM
тАО11-19-2003 04:30 AM
Re: How to migrate data (400 GB) to NetApp as quick as possible
is your problem solved? If so, could you please award some points to those, who could help you?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2004 09:56 PM
тАО01-29-2004 09:56 PM
Re: How to migrate data (400 GB) to NetApp as quick as possible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2004 10:16 PM
тАО01-29-2004 10:16 PM
Re: How to migrate data (400 GB) to NetApp as quick as possible
Have a look at this thread, also some NFS/NetApps performance issues, maybe your solution is in this one.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=400028
Regards,
Peter Geluk