[Info-vax] Locally mount vms volumes in Linux
Jan-Erik Soderholm
jan-erik.soderholm at telia.com
Sat Feb 26 07:16:20 EST 2011
Henry Crun wrote 2011-02-26 12:34:
> On 26/02/11 12:49, gregor.oelze wrote:
>> On 26 Feb., 10:48, Henry Crun<m... at rechtman.com> wrote:
>>> On 26/02/11 11:02, gregor.oelze wrote:
>>>
>>>> On 26 Feb., 00:42, bur... at Encompasserve.org (Graham Burley) wrote:
>>>>> In
>>>>> article<f2f9a73b-ae71-43d0-8f25-2f8a6fdc5... at t13g2000vbo.googlegroups.com>,
>>>>> "gregor.oelze"<gregor.oe... at gmail.com> writes:
>>>
>>>>>> There seem to be many problems regarding the licenses and migration-
>>>>>> problems with the virtual hardware, so I asked myself if it could be
>>>>>> possible - to mount the available dd-image of the microvax harddrive
>>>>>> somehow in linux, so we can extract the compiled programs out of the
>>>>>> vms system and transfer them to the targetmachine via ftp on the same
>>>>>> host - where simh is running.
>>>
>>>>> I must be missing something here - why not just transfer the dd image
>>>>> onto the host where SIMH is running and attach (and mount) it in SIMH?
>>>
>>>> The dd image is actually running in simh - booting and everything.
>>>> The
>>>> problem is - that due changes of (simulated) hardware and licence
>>>> problems or some other problems we haven't thought about yet -
>>>> tcpware is not running so we can't communicate with the other host
>>>> in the network to transfer files.
>>>
>>>> Thats why i was hoping to "shortcut" the problem with mounting the
>>>> dsk(dd-image) and extract the changed files and transfer them via
>>>> ftp client on the ubuntu host.
>>>
>>>> best regards
>>>> Gregor Oelze
>>>
>>> As a workaround: do you have a serial port that is recognized by the
>>> emulator?
>>> If so have a look at Kermit; there are versions for OpenVMS, Linux, DOS
>>> or whatever.
>>>
>>> --
>>> Mike R.
>>> Home:http://alpha.mike-r.com/
>>> QOTD:http://alpha.mike-r.com/php/qotd.php
>>> No Micro$oft products were used in the URLs above, or in preparing this
>>> message.
>>> Recommended
>>> reading:http://www.catb.org/~esr/faqs/smart-questions.html#before
>>
>> I was able to access a terminal port via telnet. There is an option in
>> simh to enable a
>> telnet-server which connects to a seriel port on the system(?).
>>
>> There is a version of kermit installed in the vms 5.x system which was
>> set in server
>> mode. Then, on the ubuntu host i could start ckermit, connecting via
>> the telnet
>> command - but it was not able to establish a connection. Afaik, this
>> is just possible
>> with an ethernet based - telnet connection. Or was this just a failed
>> configured setup?
> If I understood you you are trying to run Kermit over a telnet connection.
> Rather connect an RS232 null-modem cable between ports on the source and
> target machines, and use kermit over that. Either "pull" by logging in to
> the target machine and connecting to the source by kermit, or "push" by
> logging in to the source machine and connecting to the target by kermit.
>
OK, if this is realy an emergency case there are other ways.
It to some degree depends on the number and size of the files, but...
I now and then copy files betweeen systems where I have no other
communication then my terminal emulators by cut-n-pasting uuencoded
data.
On the source system :
$ MC tcpip$uuencode myfile sys$output
that will give something like :
$ mc tcpip$uuencode a.exe sys$output
-----begin 750 a.exe
M`P````````!,`@``(`$``&@```"8````N`````````````,`````````````
M``````````$```````````````````#__________P(````H````P9+K&@``
M```!`````````!`````P`````````$`#``#_____2``!````````````````
...
... (a number of similar lines...)
...
M````````````````````````````````````````````````````````````
=````````````````````````````````````````
`
end
$
Mark all lines from "begin" to "end" and "copy".
On the target :
$ mc tcpip$uudecode sys$input
and "paste" into the emulator, maybe finish with a <ctrl-Z>.
Repeat for each file.
For a number of smaller files, this can be done on a ZIP file
with all or a number of the files.
If you do not have TCPIP services, use the UU-tools in TCPWare.
If they for som reason fails to run, use some freeware UU-tool.
It very much depends on the number of files, the sizes of the files,
if this is a one-off case and so on. You have as far as I know
failed to give details on those points.
More information about the Info-vax
mailing list