Operating System - HP-UX
1833772 Members
2353 Online
110063 Solutions
New Discussion

Unable to view the mounted filesystems files and directories

 
yogesh kumar_2
Frequent Advisor

Unable to view the mounted filesystems files and directories

Hi,

I have mounted a file system from Linux server to unix server.for ex:

#mount 192.6.8.33:/tbase /tools/common/tbase

I am unable to view files and dir in (/tools/common/tabse/file1).
for ex:
#192.6.8.33:/tbase contains two directories namely
#file1 and file2
#Inside file1 it contains some files and directories
So after mounting the same should be available in /tools/common/tbase
#I type cd to /tools/common/tbase/file1
#In file1 i am unable to view the files and directories
#But in file2 i can view the file and directories

So anyone help me out in this issue.


4 REPLIES 4
Deepak Kr
Respected Contributor

Re: Unable to view the mounted filesystems files and directories

Yogesh,

What is the versions and name of of unix n linux servers here?

Also provide file system type on linux machine

assuming unix box as HP-ux. this is due to File system mismatch here..

Anyways how r u mounting it here ..using nfs ?
"There is always some scope for improvement"
yogesh kumar_2
Frequent Advisor

Re: Unable to view the mounted filesystems files and directories

hi deepak,

I am mounting file system through nfs.Linux server version is #1 and hp-unix version is 11.00.File system in linux is(fstyp=ext3).File system in unix is(vxfs)
Tim Hempstead
Frequent Advisor

Re: Unable to view the mounted filesystems files and directories

How are you mounting the filesystem onto the HPUX box from the Linux box, i.e. are you using NFS or CIFS/Samba or something else?

If you are using CIFS then you may need to use cifslogin to allow the user to access the content of the mounted share once it is mounted. This is even the case for root.

i.e. as HPUX user to get access:
cifslogin $linuxhostname $linuxuser -P $linuxuserpassword

This would then show as an entry in the lower half of the cifslist output.
Tim Hempstead
Frequent Advisor

Re: Unable to view the mounted filesystems files and directories

You updated whilst I was typing ... with NFS, hmmm are the permissions on file1 and file2 the same?

If not then maybe the squash setting on the NFS export is wrong so that even if you are accessing via root from HPUX it doesn't have root permissions on the Linux filesystem and hence cannot access the directory.

ref /etc/exports norootsquash setting.