Mounting sub-directory from an NFS export

Till a few minutes ago, I didn’t know you can mount a sub-directory inside an NFS export. The NFS server here is a NetApp NAS. Our NAS guys have been asking me because customers have been asking them. I have been saying no until they showed me a server where it’s done that way.

NAS guys tell me they can’t export any further directory outside of a Q Tree. Say NAS:/vol/app is the Q tree. App guys want to mount NAS:/vol/app/web to /mount_point. Apparently, they have other directories in NAS:/vol/app/ and they want to hide all except “web” to a server.

The steps do achieve this would be

1) Mount NAS:/vol/app/ to /temp_mount_point
2) Create the directory structure you need
3) Unmount/temp_mount_point and mount the desired sub-directory to the desired mount point.

Not exactly but related threads

Mount only sub-directory in NFS export
exports and mount of subdirectories

Bottom line- I thought I knew NFS!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s