Results 1 to 3 of 3
Hi *
I'm looking for advice for best solution for following problem:
I have file server sharing files to diskless clients via NFS
I want have setup, where pluging ext. ...
- 10-31-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
Best solution for following problem...
Hi *
I'm looking for advice for best solution for following problem:
I have file server sharing files to diskless clients via NFS
I want have setup, where pluging ext. USB HDD will be dynamically visible on clients as new <subdir> with HDD contents.
So if user plug USB HD on server, diskless clients should see plugged HDD contents in dynamically created <subdirectory> with name equal to HD label and HD contents inside it.
I already wrote udev script which auto creates subdir=<label> in NFS server shared dir, and automounts USB HD in this subdir.
Issue is that diskless clients don't see this subdir unless I issue on server
exportfs -ua
exportfs -a
Problem is that above unexporting/exporting sequence issued on server brokes existing NFS shares between clients and server.
What is most elegant solution for such functional requirement ?
thx in advance
- 10-31-2009 #2
Hi
The third synopsis shows how to unexported a currently exported directory. When using exportfs -ua, all entries listed in xtab are removed from the kernel export tables, and the file is cleared. This effectively shuts down all NFS activity.
(from exportfs(
- Linux man page)
What about exportfs -r ?
chris81
- 10-31-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
thx
Well,
Can explain why I overlook -r option.
It looks like thing which I'm looking for.
After some basic test all seems to be OK.
thx for Your replay.
So nice somebody trying to help.
All the best


Reply With Quote

