LinHES Forums
http://forums.linhes.org/

Best solution for following problem...
http://forums.linhes.org/viewtopic.php?f=6&t=20449
Page 1 of 1

Author:  Warped [ Sat Oct 31, 2009 12:52 pm ]
Post subject:  Best solution for following problem...

Hi *

I'm looking for advice for best solution for following problem:

I have MBE server sharing files to diskless FE via NFS

I want have setup, where pluging ext. USB HDD to MBE will be dynamically visible on FE 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

Author:  Warped [ Sat Oct 31, 2009 4:45 pm ]
Post subject: 

Well

Can explain why I overlook exportfs -r option.
It looks like thing which I'm looking for.
After some basic test all seems to be OK.
Will see after some more detailed tests.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/