Operating System - HP-UX
1833762 Members
2521 Online
110063 Solutions
New Discussion

Re: Time taken to copy data from one Volume Group to a Different Volume Group

 
SOLVED
Go to solution

Time taken to copy data from one Volume Group to a Different Volume Group

Hi,

I have to copy 250MB of data from one volume group/LV's to a different volume group/LV's on the same server. How to calculate how much time it take to copy the data.It is a HP-UX 11.11 server.

Thanks
9 REPLIES 9
Ganesan R
Honored Contributor
Solution

Re: Time taken to copy data from one Volume Group to a Different Volume Group

Hi Sajith,

Use timex command prefix to the actual command to do the copy.

Ex:

#timex cp -pr /data/*
Best wishes,

Ganesh.

Re: Time taken to copy data from one Volume Group to a Different Volume Group

This will just calucate time?, it wont do the copy right ?

Thanks

Re: Time taken to copy data from one Volume Group to a Different Volume Group

I have not created the destination VG/LV yet, how to calculate the copy time apporoximately.

Thanks
Dennis Handly
Acclaimed Contributor

Re: Time taken to copy data from one Volume Group to a Different Volume Group

>This will just calculate time?, it wont do the copy right?

It will time how long the copy did take.
unixguy_1
Regular Advisor

Re: Time taken to copy data from one Volume Group to a Different Volume Group


Hi Sajith,

Depends upon our data capacity and depends upon our server,it will be taking time,
so we are not able to calculate particular time.

after completed the copy,we can calculate the time,how long it was taking for copying process.

Regards,
Unixguy.




Ganesan R
Honored Contributor

Re: Time taken to copy data from one Volume Group to a Different Volume Group

Hi Sajith,

>>>This will just calucate time?, it wont do the copy right ? >>>

No. The command will do both. It will copy the data and calculate how much time taken for copying..
Best wishes,

Ganesh.
Kapil Jha
Honored Contributor

Re: Time taken to copy data from one Volume Group to a Different Volume Group

what you can do is use times to copy some data lets say 1GB and multiply by the actual amount u want to transfer.
We can not tell you how much it would take when ur server could be entirely different from ours,load may be different etc etc.

BR,
Kapil+
I am in this small bowl, I wane see the real world......

Re: Time taken to copy data from one Volume Group to a Different Volume Group

Thanks Every one.
Bill Hassell
Honored Contributor

Re: Time taken to copy data from one Volume Group to a Different Volume Group

There is no way to predict the copy time. It depends on how busy your system is, the speed of the interface(s) to the disk(s), how the logical volumes are laid out (stripe, extent layouts) and most important, the program used to perform the copy. Listed from slowest to fastest:

cp
cpio pipeline
tar pipeline
pax pipeline
scp
rsync
ftp




Bill Hassell, sysadmin