- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Exporting NFS file systems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 07:28 AM
07-16-2002 07:28 AM
1) You must export /opt and /opt/appl separately, if /opt/appl is a mount point of a separate file system.
2) You cannot export either a parent directory or a subdirectory of an exported directory that resides within the same file system. It is not allowed, for example, to export both /opt and /opt/appl if both directories reside on the same file system.
This is quoted from 9-27 of the HP System and Network Adminstion II class maunal.
What is the difference in these two statements. It would appear to me that statement 1 could not happen if statement 2 is true. Obvioulsy, I am missing something here.
Russell
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 07:38 AM
07-16-2002 07:38 AM
SolutionThis is simply saying that if /opt is mounted, for instance, on /dev/vg00/lvol6 and /opt/appl is mounted on /dev/vg01/lvol1, then you can export both.
If however, /opt/appl is merely a directory under /opt and not a separate mountpoint, then you cannot export /opt/appl.
Do a 'bdf' or view '/etc/fstab' to see if these are separate mountpoints.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 07:39 AM
07-16-2002 07:39 AM
Re: Exporting NFS file systems
in the first statement there are two file systems one mounted on /opt and another on /opt/appl. In this case export /opt is not enough to see /opt/appl. You will have to export /opt/appl also.
In the second sentence, suposse that there is one file system mounted on /opt and /opt/appl is just a directory inside this filesystem, In this case you cannot export /opt and also /opt/appl. In conclusion you can only export one directory per filesystem.
I hope this helps.
Juan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 07:40 AM
07-16-2002 07:40 AM
Re: Exporting NFS file systems
Suppose that /tmp/first/second and it's parent directories are all in one file system, under one mount point. Then, if you export "first", "second" is already shared, and then exporting "second" would be redundant and produce an error.
But if /tmp/first is on one disk, and /tmp/first/second is on another disk, they are not in the same file system, so you would need two exports.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 07:42 AM
07-16-2002 07:42 AM
Re: Exporting NFS file systems
1. Since in some systems you may have /opt and /opt/appl as different filesystems also.
ie. mounted on different lvols
2. And in some systems, /opt and /opt/appl may be in the same filesystem....mounted on same lvol.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 07:43 AM
07-16-2002 07:43 AM
Re: Exporting NFS file systems
===========
Imagine serverA and it's bdf output shows ..
..
/dev/vg00/lvol5 ..... /opt
/dev/vg00/lvol6 ..... /opt/appl
...
You got 2 different filesystems here and if you your NFS client to mount both, you got to export the 2 filesystem separately (2 separate entries in /etc/exports)
Staement 2
==========
Bdf gives ..
..
/dev/vg00/lvol5 .... /opt
...
In this case /opt/appl sits in "lvol5" ie the same FS as "/opt", hence you cannot export "/opt/appl" because the parent dir (/opt) is already exported (assuming /opt is in /etc/exports) since both of these dirs are in the same FS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 08:05 AM
07-16-2002 08:05 AM
Re: Exporting NFS file systems
just cd /opt/appl
then
bdf .
case 1:if it show the mounted on like
/opt
that means /opt/appl is not a file system appl is directory in /opt then u can export /opt only, u can not export /opt/appl.
case 2: if it show the mounted on like
/opt/appl
that means /opt/appl is a file sytstem and u can export it along with /opt.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 09:26 AM
07-16-2002 09:26 AM
Re: Exporting NFS file systems
Russell