Re: Calculate , how much has been restored from tape in 1 minute (322 Views)
Reply
Advisor
Alok_Behria
Posts: 28
Registered: ‎09-14-2011
Message 1 of 6 (336 Views)

Calculate , how much has been restored from tape in 1 minute

 

Hi All,

 

jdatest> uname -a
HP-UX jdadev B.11.11 U 9000/800 3251073457 unlimited-user license

 

We are in process of retoring datafiles from tape. it appeares to us that tapes are really slow to respond and now I am thinking of ctreating one schell script , which would able to calculate the data restored in terms of MB/per per minute. Looking forward to hear from you.

 

Regards

Alok

 

 

 

 

 

 

Acclaimed Contributor
Torsten.
Posts: 23,450
Registered: ‎10-02-2001
Message 2 of 6 (324 Views)

Re: Calculate , how much has been restored from tape in 1 minute

I would first check the bus speed (depending on technology used).

 

Example:

 

# scsictl -c get_target_parm /dev/rdsk/c2t0d0

 

# mptconfig /dev/mpt0


Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Advisor
Alok_Behria
Posts: 28
Registered: ‎09-14-2011
Message 3 of 6 (322 Views)

Re: Calculate , how much has been restored from tape in 1 minute

Thanks for the inputs. I think , my mistake , as I did not describe the way . I'd like it be. well, I have around 46 mound points like  /db/jdatest/data1 to  /db/jdatest/data46 and I am trying to do the df -P  at 2 different interval to calculate , how much has been restored to disk from tape. since this effort is manual , I was thinking of creating a script , which will periodically tell us , how much being restored. I hope, I was able to communicated my point of concern this time.

Acclaimed Contributor
Torsten.
Posts: 23,450
Registered: ‎10-02-2001
Message 4 of 6 (320 Views)

Re: Calculate , how much has been restored from tape in 1 minute

But "slow" may depend on the way you restore or the bus between the devices or even a problem with the tape drive itself.

I would also do an assessment test using LTT http://www.hp.com/support/tapetools

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Advisor
Alok_Behria
Posts: 28
Registered: ‎09-14-2011
Message 5 of 6 (319 Views)

Re: Calculate , how much has been restored from tape in 1 minute

 

 

Agreed!! but right now, I do not have access to these tapes and are made to wait for no reasons. I just need a way to calcualte , how much is getiing added to disks with the help of script. hope, you you understand.

 

Regards

Alok

Honored Contributor
Bill Hassell
Posts: 14,218
Registered: ‎05-29-2000
Message 6 of 6 (301 Views)

Re: Calculate , how much has been restored from tape in 1 minute

The simplest is to run this command line.

 

while : ; do du -sk /Dir_to_Watch;sleep 60;done

 This will report the total number of Kbytes in the directory you want to watch every 60 seconds.

 

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.