On Sat, June 14, 2008 9:22 am, Maurice Volaski wrote: > I'm running 2.6.25-gentoo-r1 on an AMD 64 box along with > nfs-utils-1.1.2-r1 and I have /var/lib/nfs symlinked to a separate > filesystem, /database/nfs > > Now the system is running drbd and heartbeat and /database is on > drbd, so that if the server fails, the secondary server will be able > to immediately take over nfs using the identical data on its > /database/nfs. > > If, however, I want to manually stop heartbeat on the primary server, > I cannot because /database will not umount, complaining "the device > is busy". I've tried to manually by shutting down all things nfs, but > something is still holding it, and nfsd in the kernel is the culprit. > I tested that by loading the module and from that point forward, > trying to unmount /database just results in the "device is busy" > complaint. That means the only way I can shutdown heartbeat is to > physically shut down the server. If nfsd is keeping the filesystem active, then exportfs -f should release it, though if there are active clients, one could grab it again very quickly. Alternately rpc.nfsd 0 exportfs -f umount rpc.nfsd 16 NeilBrown ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ NFS maillist - NFS@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/nfs _______________________________________________ Please note that nfs@xxxxxxxxxxxxxxxxxxxxx is being discontinued. Please subscribe to linux-nfs@xxxxxxxxxxxxxxx instead. http://vger.kernel.org/vger-lists.html#linux-nfs -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html