System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

problems mounting CIFS shares

Roman Schmidt
Frequent Advisor

problems mounting CIFS shares

Hello,


we have 2 cluster nodes running HP-UX and there is a cifs filesystem that should be mounted:

$ grep seorbc0003.adinfra.net /etc/fstab
seorbc0003.adinfra.net:/billing$ /mnt/pgbg cifs defaults 0 0

mountpoint before mounting the fs:

orbx0300:/mnt#ls -l
total 24
drwxrwxr-x 10 507 billing 4096 Nov 19 2008 billing
drwxrwxr-x 10 507 billing 4096 Mar 5 2009 billing2
drwxrwxr-x 10 507 billing 4096 Mar 5 2009 billing3
drwxrwxrwx 2 ora9i dba 96 Jun 29 19:09 pgbg


after mounting:

orbx0300:/mnt#cifsmount //seorbc0003.adinfra.net:/billing$ /mnt/pgbg

orbx0300:/mnt#ls -l
./pgbg not found
total 24
drwxrwxr-x 10 507 billing 4096 Nov 19 2008 billing
drwxrwxr-x 10 507 billing 4096 Mar 5 2009 billing2
drwxrwxr-x 10 507 billing 4096 Mar 5 2009 billing3

orbx0300:/mnt#ls -l pgbg
pgbg unreadable
total 8


the filesystem is unaccessable.

orbx0300:/mnt#grep /mnt/pgbg /etc/mnttab
seorbc0003.adinfra.net:/billing$ /mnt/pgbg cifs soft,novj,retrans=3,timeo=50,acregmin=1,acregmax=1,acdirmin=1,acdirmax=1,proto=udp,NFSv3,dev=1000025 0 0 1254815506



thanks for any help here.
4 REPLIES
piyush mathiya
Trusted Contributor

Re: problems mounting CIFS shares

What is the entry you made in /etc/dfs/dfstab in the server side. there will be the configuration missmatch happend.

Roman Schmidt
Frequent Advisor

Re: problems mounting CIFS shares

Hi


the server is a windows system where i currently have no access, so i'm stuck here i guess?

any other ideas what i can check from client side?


thanks...
eric roseme
Respected Contributor

Re: problems mounting CIFS shares

Hi Roman,

I do not see where you authenticated to the Windows domain/server. Try your mount like this:

orbx0300:/mnt#cifsmount //seorbc0003.adinfra.net:/billing$ /mnt/pgbg -U windowsuser

When I run tests on the client, this is how I do it:

cifsmount //windows.domain.com/cifsshare /cifsmountpoint -U administrator

then for a local HP-UX user to access the mount:

cifslogin //windows.domain.com/cifsshare /cifsmountpoint -U buffy

The Windows user must have permissions to mount the share on the Windows server.

Eric
Roman Schmidt
Frequent Advisor

Re: problems mounting CIFS shares

closing