could be IY35344 U483289 NFS connection hang during NFS server
shutdown
HTH
Mark Taylor
If you have a dead "/nfstmp" (because od NFS server dead), you can
ADD a mount to /nfstmp from anywhere. E.g. if you export /tmp,
with correct NFS configuration, you can do a
mount localhost:/tmp /nfstmp
Now /nfstmp will not be considered as "dead", as a active "mount"
is on it.
If fact, this corresponds to the normal way of mounting a filesystem
under a UNIX system : The system hides the previous content of the
[mount point] directory, and gives instead the content of another
directory : the one given at mount time.
BUT this will *NOT* allow you to umount the previous acces to /nfstmp,
you are right, this is only a workaroud to avoid your system to seem
"hanged" when the NFS server goes down.
Regards,
Stephane
BogusStrawman a écrit:
I read in this group that cross mounting is a hack that overcomes this
problem, but I didn't understand the explanation. I tried the
following:
server exports /tmp
client mounts server:/tmp over /mnt/tmp
client exports /mnt/tmp
server mounts client:/mnt/tmp but gets error:
vmount: A file, file system or message queue is no longer available.
another go as a post mentioned the cross mounts were 'internal':
server exports /tmp
server mounts server:/tmp over /mnt/tmp
client mounts server:/tmp over /mnt/tmp
but as one would expect this had no affect.
Can anyone shed some light on this problem? Many thanks in advance.
m...@talk21.com (mark taylor) wrote in message news:<dee0a7c3.04051...@posting.google.com>...
I am now using my own reader.
Sorry for any confusion.
ok, that was one picked from many many related fixes as you have not
posted any software levels.
can you post your nfso -a and lslpp -l output for the client and
server filesets on both the server and the client ( am assuming they
are both AIX ).
Also, what flags are you using to mount the filesystem ? soft/hard,
retries, timeouts etc...
Mark
BogusStrawman wrote:
--
Remove the 'NS' from my address to reply.
thanks again.
Stephane Gassies <sgas...@club-internet.fr> wrote in message news:<40A131D8...@club-internet.fr>...
> On most UNIX systems, if you mount a directory name from many
> sources, only the last mount will be "active".
>
> If you have a dead "/nfstmp" (because od NFS server dead), you can
> ADD a mount to /nfstmp from anywhere. E.g. if you export /tmp,
> with correct NFS configuration, you can do a
>
> mount localhost:/tmp /nfstmp
>
> Now /nfstmp will not be considered as "dead", as a active "mount"
> is on it.
>
> If fact, this corresponds to the normal way of mounting a filesystem
> under a UNIX system : The system hides the previous content of the
> [mount point] directory, and gives instead the content of another
> directory : the one given at mount time.
>
> BUT this will *NOT* allow you to umount the previous acces to /nfstmp,
> you are right, this is only a workaroud to avoid your system to seem
> "hanged" when the NFS server goes down.
>
> Regards,
> Stephane
>
> BogusStrawman a crit:
Yes I have tried that (eg: lsof comes up clean) as well as killing the
nfsd and biosd processes.
Thanks anyway.
JohnM <jmadd_NOFR...@austin.rr.com> wrote in message news:<bNypc.115513$Dn1....@fe2.texas.rr.com>...
> If a client is using an nfs mount and the server of that exported nfs
> filesystem dies, the client cannot unmount the dead nfs mount - the
> error returned says the filesystem is in use. When you try to access
> that mount, the process hangs indefinitely.
On the client:
# ifconfig lo0 alias server-ip-address netmask 255.255.255.255
# umount /nfs-filesystem
# ifconfig lo0 -alias server-ip-address
Works on all versions.
--
Doing AIX support was the most monty-pythonesque
activity available at the time.
Eagerly awaiting my thin chocolat mint.