[DRBD-user] Unable to make DRBD Resource Secondary

Lars Marowsky-Bree lmb at suse.de
Wed Nov 9 23:39:39 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-09T22:19:58, Tom Gissel <trgissel at yahoo.com> wrote:

> Using drbd-0.7.5-0.18 on SLES 9 Patch 2 I occationally run into a problem where
> I'm unable to make a drbd resource secondary.  When I run the command I receive
> the followin:
> 
> node1:/usr/sbin/rsct/sapolicies/drbd # drbdadm down r1
> ioctl(,SET_STATE,) failed: Device or resource busy
> Someone has opened the device for RW access!
> Command '/sbin/drbdsetup /dev/nb1 down' terminated with exit code 20
> drbdadm aborting
> 
> 
> However, the mount point is not even mounted and when I perform an lsof there is
> nothing on the disk
> 
> node1: lsof  | grep /shared1 | wc -l 
> 0

You may want to, instead of grepping for files on the mount, grep for
the name of your drbd device node.

> Can someone please provide guidence?

Yes, find out what is accessing the device and stop it ;-)


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