2009/1/15 Mike Sweetser - Adhost <[email protected]>:
> Hello:
>
> We're having serious issues with NFS properly releasing a DRBD-based
> device when the resource tries to migrate.  We repeatedly end up with
> "device or resource busy" errors when unmounting, and if we do a lazy

Depends on your kernel and nfsd, there'll be some /proc/fs/nfsd/unlock_* files.
use them to make nfsd drop files locks held on exported filesystems.

> umount (umount -l) then DRBD will not allow the resource to transfer,
> stating "device is open by somebody".
>
> The somebody appears to be NFS, as if we kill all NFS processes, it
> finally releases them.  However, this isn't an option, as we have
> multiple NFS-exported resources, and we can't kill them all to migrate
> one.
>
> Is there a way to find which NFS processes are using the specific mount
> and kill only those, or is there another way to reset things without
> totally restarting NFS?  We don't want to lose existing mounts other
> than the resource we're actually migrating.
>
> Thanks,
> Mike Sweetser
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to