How to mount an os/2 share

openSuse v11.1

We have an old os/2 server (v.4.52) and need to access its data from the linux systems we intend to deploy to replace the os/2 clients.

How do I mount an os/2 share?

smbclient can access the shares without a problem.

smbmount does not exist; smbfs does not seem to be an option; cifs using mount.cifs (or mount -t cifs) does not work (“mount error(112): Host is down”).

Is the openSuse linux kernel not built with smbfs? If not, what are my alternatives?

> We have an old os/2 server (v.4.52) and need to access its data from
> the linux systems we intend to deploy to replace the os/2 clients.

do you actually need to mount, or just copy data from the Warp machine
to the new host?

i’m not sure but i think you could do that via rsync, maybe…


goldie
if i opened my mouth and proved my ignorance again, it won’t be the
first time…

goldie wrote:

>> We have an old os/2 server (v.4.52) and need to access its data from
>> the linux systems we intend to deploy to replace the os/2 clients.
>
> do you actually need to mount, or just copy data from the Warp machine
> to the new host?
>
> i’m not sure but i think you could do that via rsync, maybe…

A cheap USB->IDE adapter is invaluable here - I just pull whatever disk I
need to access and plug it in to the USB - greatly simplifies the
head-scratching and works with about any disk format.

Another method: there is an OS/2 port of Samba around - install that instead
of the OS/2 File and Print sharing. You should be able to find that port or
I can look up the sources for you if need be.

For a quick and dirty, I usually just run the ftp server on OS/2 and use
plain old ftp transfer. Brute force frequently beats skill and cunning :wink:


Will Honea

The following command mounts the remote shares:

mount -t cifs //server-name/pub-data /t-drv -o username=ABC,password=XYZ,sec=lanman

The secret ingredient is “sec=lanman”.

Bravo – well discovered.

I will add this as a mental note for connecting to legacy servers. Presumably we have to use “sec = lanman” for windows 98/me as well.

The final solution…

Both the “servern” and “sec” options are required. I had dropped the servern option since it seemed to work without it, but after a reboot is was required again. Note that the servern value must be capitalized. The “nocase” option makes navigating a case-insensitive filesystem like in os/2 much easier.

Here is a complete /etc/fstab entry (text is no doubt wrapped):

//sma-server1/pub-data /t-drv cifs credentials=/home/user/.smb/.smbpw,uid=uuserid,gid=guserid,sec=lanman,file_mode=0664,dir_mode=0775,servern=SMA-SERVER1,nocase   
 0 0