Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

DISKBLOCK I/O TESTER

 
SOLVED
Go to solution

DISKBLOCK I/O TESTER


This may not be a new thread I am still getting the use to the forum.

I tried to run and then compile the testdev sw and did not get very far.

I now downloaded the DISKBLOCK files

I first FTP them from the site

http://h71000.www7.hp.com/freeware/freeware70/diskblock/

to my PC I then FTP them to the alpha gs160

I tried doing the following and got some errors. Do I need to convert are change the file format ?

**********************************************
Directory DKD200:[DISKBLOCK]
diskblock061.a;1 522
diskblock061.b;1 324
diskblock061.c;1 900
diskblock061.d;1 846
diskblock061.e;1 1260

Total of 5 files, 3852 blocks.
$ backup/list=a.list diskblock061.a
%BACKUP-F-LISINPSAV, /LIST requires save set as input
$ backup/list=a.list diskblock061.a/save
%BACKUP-E-READERR, error reading DKD200:[DISKBLOCK]diskblock061.a;1
-BACKUP-E-BLOCKCRC, software block CRC error
%BACKUP-E-INVBLKSIZE, invalid block size in save set
%BACKUP-E-INVRECSIZ, invalid record size in save set
%BACKUP-E-INVRECSIZ, invalid record size in save set
%BACKUP-E-READERR, error reading DKD200:[DISKBLOCK]diskblock061.a;1
-BACKUP-E-HDRCRC, software header CRC error
%BACKUP-E-INVBLKSIZE, invalid block size in save set
%BACKUP-E-INVRECSIZ, invalid record size in save set
%BACKUP-E-READERR, error reading DKD200:[DISKBLOCK]diskblock061.a;1
-BACKUP-E-HDRCRC, software header CRC error
%BACKUP-E-INVBLKSIZE, invalid block size in save set

**********************************************

I really want to use some of this Freeware but I am not having any luck downloading or running/building this stuff

I need some help

Thank you very much

Robert J.
12 REPLIES
Ian Miller.
Honored Contributor

Re: DISKBLOCK I/O TESTER

I expect the ftp transfer has messed up the record size of the savesets.
Try this
http://h71000.www7.hp.com/freeware/freeware70/000tools/reset_backup_saveset_file_attributes.com

____________________
Purely Personal Opinion

Re: DISKBLOCK I/O TESTER


HI Ian

Thank you for your help I am getting the following. I guss the com file want larger block size ?

Rob

$ @RESET_BACKUP_SAVESET_FILE_ATTRIBUTES.COM;1 diskblock061.c
Unexpected block size
Error
$ @RESET_BACKUP_SAVESET_FILE_ATTRIBUTES1.COM;1 diskblock061.d
Unexpected block size
Error
$ @RESET_BACKUP_SAVESET_FILE_ATTRIBUTES1.COM;1 diskblock061.e
Unexpected block size
Error
Bojan Nemec
Honored Contributor

Re: DISKBLOCK I/O TESTER

Robert,

Have you transfered the files in binary mode?
Now I have no VMS handy, but a quick dump on the diskblock061.a says that was backuped with /BLOCK=9000. So try (after transfering files in binary mode):

$ SET FILE saveset /ATTR=(RFM:FIX,LRL:9000,MRS:9000)

on all savesets.

Bojan

Re: DISKBLOCK I/O TESTER



There may be something wrong with the FTP download I did get an error on the console inregards to the ethernet card not liking the possible mismatch in speed/halfduplex situation here. I will ask the network folks to strap the switch port to noauto and full duplex 100 base speed.

Ohter than that can someone just download the saveset and set file file or get a listing to makesure the savesets are in good working order.

Thank you again Robert J.




EIA0, Possible duplex mode mismatch condition detected



set file diskblock061.a/att=(rfm:fix,lrl:9000,mrs:9000)
$
$ set file diskblock061.b/att=(rfm:fix,lrl:9000,mrs:9000)
$ set term/perm/device=vt400/insert
$ set file diskblock061.c/att=(rfm:fix,lrl:9000,mrs:9000)
$ set file diskblock061.d/att=(rfm:fix,lrl:9000,mrs:9000)
$ set file diskblock061.e/att=(rfm:fix,lrl:9000,mrs:9000)
$ backup/list=diska.list diskblock061a/save
%BACKUP-F-OPENIN, error opening DKD200:[DISKBLOCK]DISKBLOCK061A.; as input
-RMS-E-FNF, file not found
$ backup/list=diska.list diskblock061.a/save
%BACKUP-E-READERR, error reading DKD200:[DISKBLOCK]diskblock061.a;1
-BACKUP-E-BLOCKCRC, software block CRC error
%BACKUP-E-INVBLKSIZE, invalid block size in save set
%BACKUP-E-INVRECSIZ, invalid record size in save set
%BACKUP-E-INVRECSIZ, invalid record size in save set
$
Bojan Nemec
Honored Contributor

Re: DISKBLOCK I/O TESTER

Robert,

You can change the speed and mode of the ethernet card on the fly using LANCP.

$ MC LANCP
LANCP> SHOW DEVICE EIA0 /CHAR
LANCP> SET DEVICE EIA0 /SPEED= /AUTO

See LANCP> HELP for more.

Bojan

Re: DISKBLOCK I/O TESTER

Hi Bojan


Yes The problem is at the switch itself from my understanding. I am not sure if this is the issue or not I just want to eliminate this for future ftp stuff etc.


I am worried about the files on the web site itself

http://h71000.www7.hp.com/freeware/freeware70/diskblock/

So I was hoping someone could download and expand these saveset out and see if they are good.

Thank you again Robert J.



LANCP> show device eia0/param

Device Characteristics EIA0:
Value Characteristic
----- --------------
1500 Device buffer size
Normal Controller mode
External Internal loopback mode
00-50-8B-DF-53-E8 Hardware LAN address
Multicast address list
CSMA/CD Communication medium
FF-FF-FF-FF-FF-FF Current LAN address
128 Minimum receive buffers
256 Maximum receive buffers
Yes Full duplex enable
Yes Full duplex operational
TwistedPair Line media type
100 Line speed (mbps)
Disabled/No Failset Logical LAN state
0 Failover priority

Re: DISKBLOCK I/O TESTER


Another aspect to this from my understanding is just how the backup saveset was made in terms of the blocking factor i.e 8192 or 32256 etc...


Does anyone know of this for the diskblock savesets?

Robert J.+
Hein van den Heuvel
Honored Contributor

Re: DISKBLOCK I/O TESTER

That's the 9000 in $ SET FILE saveset /ATTR=(RFM:FIX,LRL:9000,MRS:9000) that was suggested earlier. It independend of the file living on tape or on disk.

Hein.

Re: DISKBLOCK I/O TESTER

Yes I have tried to guess the blocking factor at 9000 but still a no go! I have tried the typical 8192 and 32256 which is used many times when wriing to tape.

if anybody can figure what the value is for the block size for these savesets please let me know.

Thank you

Robert J.
Karl Rohwedder
Honored Contributor
Solution

Re: DISKBLOCK I/O TESTER

I always used the attached little C-program to reset the fileattributes of Backupsavesets.
Usage info is in the comments...

regards Kalle
Karl Rohwedder
Honored Contributor

Re: DISKBLOCK I/O TESTER

I downloaded the .A saveset of DISKBLOCk and checked with FIX_SAVESET, it 9216 (see attached log).

regards Kalle
Antoniov.
Honored Contributor

Re: DISKBLOCK I/O TESTER

For me,
best solution is reload files on PC, then ftp on alpha with BINARY mode.
After of this, if you cannot yet read you can user set attribute command.
If you FTPed in text mode, before every hex 0A byte, ftp added hex 0D byte, so your saveset is unreadable.

Antonio Vigliotti
Antonio Maria Vigliotti