[DRBD-user] Re: Unable to make DRBD Resource Secondary

Lars Marowsky-Bree lmb at suse.de
Thu Nov 10 15:55:20 CET 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 2005-11-10T09:36:33, Todd Denniston <Todd.Denniston at ssa.crane.navy.mil> wrote:

> 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.

That really shouldn't happen.

I trust that you are quite aware of how to use fuser/lsof and were
looking for the right things in there... fuser w/ and w/o -m on the drbd
block device _ought_, in theory, to list all the files. And if it is not
mounted (check via /proc/mounts), NFS shouldn't be able to have any
hidden references to it either.

If all these predicates are right and it still can't set the device to
secondary mode claiming something has the device opened, that would be a
bug.


Sincerely,
    Lars Marowsky-Brée <lmb at suse.de>

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"




More information about the drbd-user mailing list