Specifications

62 MDR User Guide
<ServerName>
is the name of the MDR Server to try to connect to. This parameter shall
be provided by the user. The server name NULL is used to indicate to the program that it
should not try to connect to an MDR Server.
<DiskGroupName> is the name of the disk group to try to connect to. This parameter
shall be provided by the user. The disk group name
NULL is used to indicate to the
program that it should not try to connect to a disk group.
<FirstRecBlkToDump> is the first user block of the recording to be dumped,
<LastRecBlkToDump> is the last user block of the recording to be dumped
Examples:
• MdrDumpRec 1 mdr-250 NULL | dd of=/dev/rmt/0 bs=1m
copy the recording 1 to the tape (located in /dev/rmt/0) via the MDR server mdr-250.
• MdrDumpRec 1 NULL MyDiskGroup | dd of=/dev/rmt/0 bs=1m
copy the recording 1 to the tape (located in /dev/rmt/0) via the direct FC connection. The
recording is located in the disk group called
MyDiskGroup.
• MdrDumpRec 1 mdr-250 NULL 0 15 > Recording_1
copy the recording 1 (user blocks 0 to 15 only) to the file Recording_1.
Note: It is possible to read data back from tape to the workstation using the UNIX dd
command: dd if=/dev/rmt/0 of=Recording_1 bs=1m
8.5 MDR API Limitation
In order to use the ‘direct access to storage device’ API functions on Windows systems,
the QLogic Driver has to be installed first.
The QLogic Driver must be installed on systems running Windows NT4.0 or 2000.
Therefore, it is not possible to access the MDR storage device directly from hosts
running Windows 95/98/Millenium.
8.6 Compilation Instructions
The MDR API library has been compiled with several compilers according to the
platform:
• Windows platforms Microsoft Visual C++ 6.0
• Other platforms GNU compiler supplied by the FSF (Free Software
Foundation). Details about the gnu compiler can be found at GNU’s web site:
http://gcc.gnu.org.
To compile your own program and link it with the MDR API library, do the following
operations:
Find (and install if required) the compiler according to your platform. Currently, the
MDR project has been compiled with the following compilers:
•
ppc-vxworks GCC version 2.7.2-90126 (VxWorks 5.3.1)
•
sun-solaris GCC version 2.95.2
• x86-win32 Microsoft Visual C++ (Latest service pack)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










