Results 1 to 6 of 6

Thread: How to mount an os/2 share

  1. #1

    Default 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?

  2. #2
    goldie NNTP User

    Default Re: How to mount an os/2 share

    > 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..

  3. #3
    Will Honea NNTP User

    Default Re: How to mount an os/2 share

    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 ;-)

    --
    Will Honea

  4. #4

    Default Re: How to mount an os/2 share [SOLVED]

    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".

  5. #5
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: How to mount an os/2 share [SOLVED]

    Quote Originally Posted by jimoe666 View Post
    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.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  6. #6

    Default Re: How to mount an os/2 share

    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):

    Code:
    //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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •