1825793 Members
2297 Online
109687 Solutions
New Discussion

nfs moount question

 
SOLVED
Go to solution
Jim Tropiano_1
Frequent Advisor

nfs moount question

Doing a nfs mount can see the parent but can not list any of the sub directories.

On Hp9000 #1 I have
/mc/prod
/mc/prod/code (mount point)
/mc/prod/data (mount point)

I nfs mount /mc/prod onto HP9000 #2
as read only - I do a ls -al on /mc/prod, I see code and data but if I cd to them or do an ls on them they are empty.

Do i need to separately nfs mount code and data since they are separate mount points?
Confused -
4 REPLIES 4
Kent Ostby
Honored Contributor

Re: nfs moount question

Jim --

Can you post the commands you are running to do the mount and the /etc/exports file in question.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Victor BERRIDGE
Honored Contributor
Solution

Re: nfs moount question


>Do i need to separately nfs mount code and data since they are separate mount points?

Yes since they are separate file systems


All the best
Victor
Jim Tropiano_1
Frequent Advisor

Re: nfs moount question

adding the record to the /etc/fstab
on HP9000 #2
polly:/mc/prod/ /polly_dir/mc_prod/ nfs rw,soft 0 2

on polly the exportfs file says:
/mc/prod -ro
/ca/prod
/ar/prod
/ec/prod

Jim Tropiano_1
Frequent Advisor

Re: nfs moount question

Thanks for the input. This is what I thought,
that since they were there own file system that they needed to be mounted separately

thanks