[Linux-cluster] Re: Lazy umount - NFS HA
Jordi Prats
jprats at cesca.es
Thu Dec 21 18:03:41 UTC 2006
otherwise... it goes to a failed state...
Jonathan Biggar wrote:
> Matthew Geier wrote:
>> Jordi Prats wrote:
>>> Hi all,
>>> It's normal that I must use a script to do a lazy umount (umount -l
>>> /mountpoint) of a ext3 partition (not GFS) in a HA NFS cluster?
>>
>> I'm having the same problem - the service won't shutdown cleanly as
>> it can't unmount the file systems - which it can't unmount due to some
>> one logging in with SSH and their home directory is on that volume.
>
> I don't think using umount -l is going to do what you want. It means
> that the kernel will continue to write to the filesystem for an
> arbitrary amount of time after the umount completes, which *will* cause
> havok if another node mounts that ext3 partition.
>
> We got around this by writing a custom script that uses fuser to
> identify and kill all processes that had open files on the filesystem.
>
--
......................................................................
__
/ / Jordi Prats Català
C E / S / C A Departament de Sistemes
/_/ Centre de Supercomputació de Catalunya
Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
T. 93 205 6464 · F. 93 205 6979 · jprats at cesca.es
......................................................................
pgp:0x5D0D1321
......................................................................
More information about the Linux-cluster
mailing list