The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mount points are already mounted biju.mp UNIX for Dummies Questions & Answers 1 07-18-2008 10:57 AM
Cannot unmount mount points?? genzbeat HP-UX 1 02-01-2008 05:11 AM
tar using mount points legato UNIX for Dummies Questions & Answers 3 03-30-2005 11:54 PM
pwd Command and NIS mount points agreenwo UNIX for Dummies Questions & Answers 1 11-18-2002 01:04 PM
mount points manderson19 UNIX for Advanced & Expert Users 3 04-29-2002 03:11 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-28-2007
davidra davidra is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 3
NFS Mount Points

Hi
Solaris 10

On server A, there is a directory called data with 10 files. This data directory has a further 3 subdirectories, gl, pay, contract (for example)

On server B, I want to see the server A data directory

commands used:

on server A, share -F nfs -o ro -d "<description"> <directory>/data

on server B, mount -F nfs server A:<directory>/data /mnt/data

However, how do I restrict the mount on server B so that those who access server B, don't see the subdirectores gl, pay & contract but only see the 10 files ?
_________________

So that these mounts are available after a reboot, I should update the /etc/dfs/dfstab ?

Please advise

David
  #2 (permalink)  
Old 11-28-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by davidra View Post
However, how do I restrict the mount on server B so that those who access server B, don't see the subdirectores gl, pay & contract but only see the 10 files ?
Share a different directory on the same volume with hardlinks to the 10 datafiles.

Things will then get out of step if the 10 data files are deleted and replaced as the unlink will only affect the first directory and not the 2nd, the 2nd will still hold a copy of the old data file (shared inode), so if you replace the files you would have to remake the links.

If the files are simply modified, then the changes will be seen immediately.

So an alternative would be to hold the real files in the 2nd directory and use symbolic links in the original.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0