[DRBD-user] Re: Unable to make DRBD Resource Secondary
Todd Denniston
Todd.Denniston at ssa.crane.navy.mil
Thu Nov 10 15:36:33 CET 2005
Joachim Banzhaf wrote:
>
> IIRC the kernel (the drbd kernel module or an even lower level) has a use
> count on the devices.
> Usually, if I cannot find something via lsof or fuser, then its the kernel
> itself who uses the device. Most of the time then it is the kernel nfs
> server.
> I dont know of a general rule how to find the culprit - although i'd like to,
> so please tell me/the list, if you find out :-)
>
please let me second this and ask for a way other than the reset button to
force the kernel to release the resource.
I really hate when I am attempting to manually do a fallover[1] between
machines and it fails when the original primary can't seem to let go of a
drbd resource because of something in the kernel holding on (aka lsof &
fuser cant find anything).
[1] issue `service heartbeat stop` on redhat/fedora.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
More information about the drbd-user
mailing list