Hello all,
I administer a two-node high-availability cluster using DRBD and heartbeat.
One of my concerns is that at failover time, the replicated filesystem might
be in use. I can stop the official services that use the filesystem, but some
other transient scripts might have reason to probe it for a second or two.
umount -l seems like the answer to this question, in that one can ensure no
new accesses will be made to the filesystem, while those that exist can take
their time to finish. The catch is, there does not appear to be a way to tell
if the unmount has really completed or not.
So, here's the question: Is there a way to check if a call to umount2(...,
MNT_DETACH) has completed or not?
Thanks,
--Ian Turner
-
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]