Last week I've installed Windows Services For UNIX on a Windows 2003 Server test machine (s2003), and exported a folder through NFS. The share is named "storage", and is used as a temporary place for very large export/dump files. Unfortunately, this is the only machine where I have access to a big, inexpensive disk and is accessible from both production and test network environments.
I was able to mount the nfs share in read/write mode on two Solaris' servers, using the command:
The two machines are called, respectively:
- eprod, SunOS 5.8
- etest, SunOS 5.10
I've intensively used the mounted file system without any problems, from both machines. But today, while issuing a "ls" command on eprod, I've noticed the message:
On etest, I didn't have any issue and the remote share is still mounted and working.
So I thought that maybe there was a network problem in the weekend, and tried to umount and remount "/storage" on eprod:
So, I've tried the hard way, and it worked:
The problem now is that I am not able to mount the filesystem anymore:
The command "hangs" indefinitely... I've already performed basic connection tests from eprod to s2003:
- ping works
- telnet s2003 on port 2049 works
I've also tried to monitor network traffic with netstat and snoop while issuing the mount command:
I exclude possible problems on s2003, because I can mount "/storage" folder from other machines on the same network of eprod.
I've also found that using udp protocol instead of tcp (default) works:
What could be the problem? How can I solve this issue?
Did you try to stop/start the NFS Demon service on Windows? Maybe it's "locking" the connection for just those 2 hosts.
You can also check on the Sun boxes, if there is a /var/lib/nfs/rmtab (or something similar) which you might want to empty or delete entries for the 2 specific Sun boxes. Maybe there is some similar file on the Windows server which you can edit.
If this doesn't help and you already tested a lot you might think of not using NFS (I don't like it, too many problems on some machines) maybe try it with normal windows shares (SMB) and install/use a Samba client on the Sun boxes?
Yes, I've already stopped and restarted the NFS service on Windows, and on Solaris boxes "/etc/rmtab" is empty, even on etest where the filesystem is mounted.
About Samba, as far as I know there is no Samba Client fo SunOS, except Sharity or Sharity Light which I've played with some time ago, with a little success..... However, since eprod is a production system, I can't and I don't want to install anything on it, also because I don't need a persistent shared directory: it's only for temporary staging a big amount of data, after that I will umount the shared filesystem from both Solaris boxes.
Are you going to be using unix services for windows in production? Doesn't seem like a very wise decision if so, for reasons so obvious I won't go into them.
I've seen this behavior (udp based nfs working when tcp based nfs fails) on an extremely
busy network segment on an overutilized client. Are you monitoring these hosts via snmp?
Are you going to be using unix services for windows in production? Doesn't seem like a very wise decision if so, for reasons so obvious I won't go into them.
You are right, in fact I want to use that shared storage only for a big and not-so-critical data transfer between production and test environments, and then umount it. Unfortunately, I don't have enough disk space neither on eprod nor on etest, otherwise I should have created the files I need on eprod and then transferred them via ftp/scp on etest. With a shared storage, I also eliminate the need of a long data transfer.
I am not monitoring the network but I can't exclude that, for a short period, there could be a high load on s2003 or a network congestion. Given that, I can't believe that now I can't repair this situation, it sounds so strange...
Why don't you post the output of netstat on both hosts, restart mountd and portmap (or analogues) on the server, and then restart portmap on the client and attempt to remount. it could just be that the windows nfsd and unix-like rpc are buggy.
I think that the only remaining step I didn't tried yet is restarting nfs client and/or related processes on eprod. Unfortunately I don't have the knowledge to do that.
Could you provide some commands for restarting nfs client service on Solaris 8 (and 10)? I've googled around but my greatest concern is disabling something vital or hampering current connections between clients and eprod, because also on eprod there could be something shared with nfs that other clients may be accessing.
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Hi
I have 2 servers, one is running on SunOS SPARC and the other is running on GNU Linux. Since my Linux is very poor I am not sure on how to mount a NFS from SunOS to Gnu Linux. Please help!
FS at Host Server:
root@rocux4 # ls -ld /data/PCFILES/GTPROD/DWHFILES.NEW
drwxrwxrwx 4 nobody ... (6 Replies)
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Hello!
Im trying to mount an nfs share. But got a bit of a problem.
The problem im having is that i try to mount
The problem is that the my.server.com/pub/home is owned by root.
I know i can make a mount point my.server.com://pub/home/username - > /pub/home
But that means i have to do... (1 Reply)
New at NFS.
3 machines at hand
1 RedHat nfs Client which is connected to a spectrometer (chemistry Instrument):
# uname -a
Linux BH083108 2.6.9-78.0.17.ELsmp #1 SMP Thu Mar 5 04:52:17 EST 2009 i686 i686 i386 GNU/Linux
# cat /proc/version
Linux version 2.6.9-78.0.17.ELsmp... (9 Replies)
Hi,
I have an NFS mount on a Solaris 10 server with file permissions nobody:nobody. This is an NFS export from an Netapp filer. Export attributes from the filer are below.
Anonymous User ID=0
Read-Write Access (All Hosts)
Security (sys)
I have other NFS exports set up with the same... (7 Replies)
I have a NAS server that needs to have the share mounted on a unix server. I am not that familiar with NFS mounts....any help on what I have to do on the UNIX box...thanks! (7 Replies)
Hi,
We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time.
Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem..
Can... (1 Reply)
I try to share a directory from a wortstation to a server.
the share command was no problem.
Solaris 8
on mars
share -F nfs -o rw /dir/dir2
on the server
mount mars:/dir/dir2 /mount_point
RPC: Program not registered <--- What is the meaning of this ?
Thanks for you help ! (2 Replies)