Re: waiting for MNT_DETACH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ian,

On Sunday, 2. July 2006 20:51, Ian Turner wrote:
> I administer a two-node high-availability cluster using DRBD and heartbeat. 
> 
> So, here's the question: Is there a way to check if a call to umount2(..., 
> MNT_DETACH) has completed or not?

Check the usage count (refcount) of the DRBD module. It should be as low as
you would expect with a normal umount.

"cat /sys/module/drbd/refcnt" should be the right command.


Regards

Ingo Oeser
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux