>>> Dimitri Maziuk <[email protected]> schrieb am 20.12.2012 um 17:50 in
Nachricht <[email protected]>:
> On 12/20/2012 1:55 AM, Ulrich Windl wrote:
>>>>> Lars Marowsky-Bree <[email protected]> schrieb am 19.12.2012 um 18:29 in
>>>>> Nachricht
> > <[email protected]>:
> >> On 2012-12-19T10:59:12, Ulrich Windl <[email protected]>
> >> wrote:
> >>
> >>> Unfortunately there was an update to SLES11 SP2 release notes recently
> >>> that
> >> forbid this kind of setup:
>
> >> That's a generic SLES question; I suggest using the SLES online forum
> >> (forums.suse.com) for this or support.
> >
> > I guess the typical forum user will ask me why I won't mount the
> > file
> system directly on the node instead of using the NFS server to export
> it, and the NFS client to import (mount) it ;-)
>
> Well, they'll be wrong unless there's a way nfs-export an unmounted
> filesystem. A reasonable question would be why not symlink <mount point>
> -> <export point> ;)
Hi!
So (pseudo-code following)
if (host(NFS_server) == host(NFS_client))
rmdir(mountpoint);
ln -s export_dir mountpoint
else
makedir(mountpoint);
mount(NFS_Server:export_dir, mountpoint)
?
Now when som program does a "cd mountpoint" and the NFS Server would move to
another host, you'd have to kill all processes that use mountpoint to be able
to unmount it.
In contrast with the NFS solution, the client applications would be blocked
until NFS server is running on the other node. Obviously this solution seems
preferrable.
Regards,
Ulrich
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems