* where is exportfs
@ 1996-09-11 4:00 Xinfu Xia
1996-09-11 4:00 ` Brian C Hill
1996-09-12 4:00 ` Erik Persson
0 siblings, 2 replies; 8+ messages in thread
From: Xinfu Xia @ 1996-09-11 4:00 UTC (permalink / raw)
Dear Experts:
Where is exportfs on this OSF1 machine?
There is a file /etc/exports. Can I export the directories listed in
the file
manully?
Thanks a lot!
Xinfu Xia
Dept. Biophysic and Biochemistry
University of North Carolina at Chapel Hill
Chapel Hill, NC 27599
Phone: 919-966-8625
Email: xia@femto.med.unc.edu
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: where is exportfs
1996-09-11 4:00 where is exportfs Xinfu Xia
@ 1996-09-11 4:00 ` Brian C Hill
1996-09-12 4:00 ` Matt White
1996-09-12 4:00 ` Erik Persson
1 sibling, 1 reply; 8+ messages in thread
From: Brian C Hill @ 1996-09-11 4:00 UTC (permalink / raw)
Xinfu Xia (xia@femto.med.unc.edu) wrote:
: Dear Experts:
: Where is exportfs on this OSF1 machine?
: There is a file /etc/exports. Can I export the directories listed in
: the file
: manully?
:
: Thanks a lot!
:
: Xinfu Xia
: Dept. Biophysic and Biochemistry
: University of North Carolina at Chapel Hill
: Chapel Hill, NC 27599
:
: Phone: 919-966-8625
: Email: xia@femto.med.unc.edu
OSF1 through 4.0 doesn't seem to have exportfs(1) - only the
system call exportfs(2). You have to restart mountd(8)
____________________________________________________________________
/ Brian C. Hill bchill@ucdavis.edu (916) 753-0358 \
| Systems Programmer University of California, Davis |
| Graduate School of Management & GIS Center |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: where is exportfs
1996-09-11 4:00 ` Brian C Hill
@ 1996-09-12 4:00 ` Matt White
1996-09-12 4:00 ` Brian C Hill
1996-09-12 4:00 ` Peter Ford
0 siblings, 2 replies; 8+ messages in thread
From: Matt White @ 1996-09-12 4:00 UTC (permalink / raw)
Brian C Hill (bchill@gis.ucdavis.edu) wrote:
: Xinfu Xia (xia@femto.med.unc.edu) wrote:
: : Dear Experts:
: : Where is exportfs on this OSF1 machine?
: : There is a file /etc/exports. Can I export the directories listed in
: : the file
: : manully?
:
: OSF1 through 4.0 doesn't seem to have exportfs(1) - only the
: system call exportfs(2). You have to restart mountd(8)
Actually, it seems to re-read it automatically when it gets a mount request
if the file has changed (at least on 3.2D and 3.2F)...
---------------------------------------------------------------------
- Matt White whitem@arts.usask.ca -
- Network Technical Support http://arts.usask.ca/~whitem -
- College of Arts & Science University of Saskatchewan -
---------------------------------------------------------------------
She said her name was emergency and asked to see my gun
Said her telephone number was 9 - 1 - 1.
- The Tractors..."Baby Likes to Rock It"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: where is exportfs
1996-09-12 4:00 ` Matt White
@ 1996-09-12 4:00 ` Brian C Hill
1996-09-12 4:00 ` Peter Ford
1 sibling, 0 replies; 8+ messages in thread
From: Brian C Hill @ 1996-09-12 4:00 UTC (permalink / raw)
Matt White (whitem@bofh.usask.ca) wrote:
: Brian C Hill (bchill@gis.ucdavis.edu) wrote:
: : Xinfu Xia (xia@femto.med.unc.edu) wrote:
: : : Dear Experts:
: : : Where is exportfs on this OSF1 machine?
: : : There is a file /etc/exports. Can I export the directories listed in
: : : the file
: : : manully?
: :
: : OSF1 through 4.0 doesn't seem to have exportfs(1) - only the
: : system call exportfs(2). You have to restart mountd(8)
:
: Actually, it seems to re-read it automatically when it gets a mount request
: if the file has changed (at least on 3.2D and 3.2F)...
:
: ---------------------------------------------------------------------
: - Matt White whitem@arts.usask.ca -
: - Network Technical Support http://arts.usask.ca/~whitem -
: - College of Arts & Science University of Saskatchewan -
: ---------------------------------------------------------------------
: She said her name was emergency and asked to see my gun
: Said her telephone number was 9 - 1 - 1.
: - The Tractors..."Baby Likes to Rock It"
Sure enough. I could swear I tried it several times (on 3.2D-2).
____________________________________________________________________
/ Brian C. Hill bchill@ucdavis.edu (916) 753-0358 \
| Systems Programmer University of California, Davis |
| Graduate School of Management & GIS Center |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: where is exportfs
1996-09-12 4:00 ` Matt White
1996-09-12 4:00 ` Brian C Hill
@ 1996-09-12 4:00 ` Peter Ford
1996-09-12 4:00 ` Mike Iglesias
1 sibling, 1 reply; 8+ messages in thread
From: Peter Ford @ 1996-09-12 4:00 UTC (permalink / raw)
Matt White wrote:
>
> Brian C Hill (bchill@gis.ucdavis.edu) wrote:
> : Xinfu Xia (xia@femto.med.unc.edu) wrote:
> : : Dear Experts:
> : : Where is exportfs on this OSF1 machine?
> : : There is a file /etc/exports. Can I export the directories listed in
> : : the file
> : : manully?
> :
> : OSF1 through 4.0 doesn't seem to have exportfs(1) - only the
> : system call exportfs(2). You have to restart mountd(8)
>
> Actually, it seems to re-read it automatically when it gets a mount request
> if the file has changed (at least on 3.2D and 3.2F)...
>
That's right - if you RTFM for exports(4) it tells you that the
/etc/exports file is re-read when a mount request comes in - no need to
explicitly export anything.
Certainly true for 4.0, and probably for earlier versions too.
Surprised me, as an ex-HPUX admin. but very nice feature IMHO.
--
Pete Ford Unix Sys. Admin. Oxford University Computing Services
Phone: +44 1865 2~73266 Look mum, a real job!
"I'm sorry but you need more help than I can give you over the phone"-
R. Letts
The above message represents my personal opinion; neither my employers,
nor any other organisation, is responsible for statements made therein
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: where is exportfs
1996-09-12 4:00 ` Peter Ford
@ 1996-09-12 4:00 ` Mike Iglesias
0 siblings, 0 replies; 8+ messages in thread
From: Mike Iglesias @ 1996-09-12 4:00 UTC (permalink / raw)
In article <3237D932.41C6@oucs.ox.ac.uk>,
Peter Ford <Peter.Ford@oucs.ox.ac.uk> wrote:
>That's right - if you RTFM for exports(4) it tells you that the
>/etc/exports file is re-read when a mount request comes in - no need to
>explicitly export anything.
>Certainly true for 4.0, and probably for earlier versions too.
It's been that way since OSF/1 v1.2 or v1.3.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: where is exportfs
1996-09-11 4:00 where is exportfs Xinfu Xia
1996-09-11 4:00 ` Brian C Hill
@ 1996-09-12 4:00 ` Erik Persson
1996-09-16 4:00 ` Eric Werme
1 sibling, 1 reply; 8+ messages in thread
From: Erik Persson @ 1996-09-12 4:00 UTC (permalink / raw)
Xinfu Xia <xia@femto.med.unc.edu> writes:
> Dear Experts:
> Where is exportfs on this OSF1 machine?
> There is a file /etc/exports. Can I export the directories listed in
> the file
> manully?
There is no exportfs on Digital Unix. What you will have to to i to
restart the NFS services (or at least mountd). You can set up a script
to do this:
Restarting all the NFS-stuff:
--->snip<---
#!/bin/sh
/sbin/init.d/nfs stop
/sbin/init.d/nfs start
--->snip<---
Restarting mountd:
--->snip<---
#!/bin/sh
/sbin/kill -HUP `/sbin/ps -e | /bin/grep mountd | grep -v grep |\
/bin/awk '{print $1}'`
--->snip<---
/Erik
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: where is exportfs
1996-09-12 4:00 ` Erik Persson
@ 1996-09-16 4:00 ` Eric Werme
0 siblings, 0 replies; 8+ messages in thread
From: Eric Werme @ 1996-09-16 4:00 UTC (permalink / raw)
Erik Persson <erik@stravinsky.ikp.liu.se> writes:
>There is no exportfs on Digital Unix. What you will have to to i to
>restart the NFS services (or at least mountd). You can set up a script
>to do this:
As others have noted, mountd looks at the modify time of /etc/exports
an rereads it on its own. Stopping and starting all of NFS is not necessary.
"showmount -e" _may_ display stale data, but I'm too lazy to check the code
tonight. Oh all right, I just check ... it _will_ get current data too.
--
<> Eric (Ric) Werme <> Why Government Doesn't Work! For details <>
<> <werme@zk3.dec.com> <> visit http://www.HarryBrowne96.org/ <>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1996-09-16 4:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-11 4:00 where is exportfs Xinfu Xia
1996-09-11 4:00 ` Brian C Hill
1996-09-12 4:00 ` Matt White
1996-09-12 4:00 ` Brian C Hill
1996-09-12 4:00 ` Peter Ford
1996-09-12 4:00 ` Mike Iglesias
1996-09-12 4:00 ` Erik Persson
1996-09-16 4:00 ` Eric Werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox