Unix Technical Forum

smbfs on aix 5.3ML1

This is a discussion on smbfs on aix 5.3ML1 within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi all, I'd like to know any experience of using bos.cifs_fs under aix 5.3ML1 to mount windows share. Is ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 07:32 AM
fracrist@gmail.com
 
Posts: n/a
Default smbfs on aix 5.3ML1

Hi all,
I'd like to know any experience of using bos.cifs_fs under aix 5.3ML1
to mount windows share.
Is it stable? Did you have troubles? How did you resolve them?

TIA,
Francesco.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 07:32 AM
Norman Black
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1

<fracrist@gmail.com> wrote in message
news:1116593888.423800.302020@f14g2000cwb.googlegr oups.com...
> Hi all,
> I'd like to know any experience of using bos.cifs_fs under aix 5.3ML1
> to mount windows share.
> Is it stable? Did you have troubles? How did you resolve them?


I use it under 5.2 and it works fine.

Norman


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 07:32 AM
Ron Stohl
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1

I'd like to know how you got it to work. I was able to mount some shares
and not others, some mounted, but could see no files within. All of the
shares I setup were for testing only and configured identically. Shares
were on a Win2K machine.

Norman Black wrote:
> <fracrist@gmail.com> wrote in message
> news:1116593888.423800.302020@f14g2000cwb.googlegr oups.com...
>
>>Hi all,
>>I'd like to know any experience of using bos.cifs_fs under aix 5.3ML1
>>to mount windows share.
>>Is it stable? Did you have troubles? How did you resolve them?

>
>
> I use it under 5.2 and it works fine.
>
> Norman
>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 07:32 AM
Norman Black
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1


"Ron Stohl" <rsstohl@PRIVATE.com> wrote in message
news:d6ldfh$7m@dispatch.concentric.net...
> I'd like to know how you got it to work. I was able to mount some shares
> and not others, some mounted, but could see no files within. All of the
> shares I setup were for testing only and configured identically. Shares
> were on a Win2K machine.


This is my command line.
mount -v cifs -n norman/guest/guest /modula2 /mnt/norman/modula2

The machine name is norman which happens to be 192.168.1.101.
The share allows anonymous access so I just use guest for the username and
guest for the password. The password is not used for anonymous access but I
put something there because mount wants something there otherwise it
prompts.
The modula2 share is a read only share on a Windows XP Pro machine.

Sometimes mount says it could not connect to the remote machine. I just run
the command again it normally connects. Once or twice I have needed to try
three times.

Once connected I have never had a problem.

Norman


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 07:32 AM
Jurjen Oskam
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1

On 2005-05-20, Norman Black <nospam@nospam.com> wrote:

[CIFS/smbfs mount]
> Once connected I have never had a problem.


What I noticed was that the mount worked fine, accessing the files
worked fine too, but when I leave the mounted share inactive for
some time, the first command executed on it (e.g., ls /mountpoint)
will give an error. Immediately executing the command again works
fine.

This was on early 5.2 MLs with a Windows 2000 machine. Does this still
occur?

--
Jurjen Oskam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 07:32 AM
Norman Black
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1

"Jurjen Oskam" <joskam@quadpro.stupendous.org> wrote in message
news:slrnd8tsr6.82o.joskam@calvin.stupendous.org.. .
> On 2005-05-20, Norman Black <nospam@nospam.com> wrote:
>
> [CIFS/smbfs mount]
>> Once connected I have never had a problem.

>
> What I noticed was that the mount worked fine, accessing the files
> worked fine too, but when I leave the mounted share inactive for
> some time, the first command executed on it (e.g., ls /mountpoint)
> will give an error. Immediately executing the command again works
> fine.
>
> This was on early 5.2 MLs with a Windows 2000 machine. Does this still
> occur?


What does "inactive for some time" mean in absolute terms. Our machines are
shutdown and turned on each day. We are a software development setup so our
machines only need to be on while we are sitting in front of them.

I have never connected to a Win2K machine. Only XP Pro.

Norman
Saperion Inc.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 07:35 AM
fracrist@gmail.com
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1

Norman Black wrote:
> I use it under 5.2 and it works fine.

Me too.
I have problems on 5.3ML2, mount fails.
The command is:
mount -v cifs -n matilda/user/passwd -o fmode=777 EXPORT$ /mnt/export

And the error is:
There was an error connecting the share or the server.
Make sure the lsdev command shows that device nsmb0 is in
the Available state. Also make sure that the share name,
user name and password are accurate.

root@george>lsdev -l nsmb0
nsmb0 Available N/A

I checked servername, username, password and share name, everything
seems right, but nothing works...

Any hint?

> Norman

Greetings,
Francesco.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 07:35 AM
vlad.zam@gmail.com
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1

try
mount -v cifs -n matilda/user/passwd -o fmode=777 "EXPORT$" /mnt/export

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 07:35 AM
Francesco
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1

I tried but it doesn't work...

If I connect directly with smbclient (smbclient \\\\matilda\\export\$
-U user) everything works fine (read,write operations).

I've enabled share auditing on the exporting server, but no events are
recorded when trying to mount the share.
It seems like there's no communication between aix and w2k.

Any suggestion is welcome,
Francesco.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-05-2008, 07:35 AM
vlad.zam@gmail.com
 
Posts: n/a
Default Re: smbfs on aix 5.3ML1

well, it's a little bit different ... in term it's completely different
package on AIX... let's stick to cifs mounts...
is your win box is a member of the w2k/NT domain? It seems like IBM
didn't think about it at all and implemented cifs mounts only for
stanalone win boxes, therefore username/password are local on win
boxes...
also you might try to run tcpdump to see what's going on when you
execute mount on aix to mount win shares...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:11 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com