Andrew: The server does not know whether or not a filesystem is mounted; however, when you kill the server, the server will NOT shutdown until all pending requests are completed. Also, the server will not accept any new requests. This works properly as long as kill -9 is not used, just kill <pid>.
Becky On Sun, Mar 11, 2012 at 12:52 PM, Andrew Savchenko <[email protected]>wrote: > Hello, > > is there any way to request on the pvfs2-server side a list of > clients mounted filesystem in question? In short I'm looking for > any analogue for nfs showmount command. > > Why I need this. I want to implement scripts for safe startup and > shutdown of pvfs2-server, pvfs2-client and startup mounter/umounter on > a cluster where both server and client nodes (in my case they will be > the same nodes) will likely to start and stop at once. > > Startup part is rather simple: using pvfs2-ping it is possible to > check whether all servers are ready and wait (with some sane max time > limit) for them to startup. > > On shutdown with no way to check on server side if it is still in > use, I need either to implement lockfiles for each client or > forcefully stop all clients via something like pdsh. > > I know, there are other ways to use pvfs2 like ROMIO, but that is out > of the scope of current question right now. I do not use heartbeat on > this setup too due to various reasons. > > Best regards, > Andrew Savchenko > > _______________________________________________ > Pvfs2-users mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users > > -- Becky Ligon OrangeFS Support and Development Omnibond Systems Anderson, South Carolina
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
