|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OBSD client hangs mounting NFS; Linux client doesn't
client 1: Arch linux i686
client 2: OBSD 4.7 i386 server: OBSD 4.7 powerpc client 1 mounts perfectly and reliably client 2: Code:
mount -t nfs myserver:/mnt/mydir /mydir ctrl-c gets me an error message about server not responding (speaking of which; could someone point me to where i can find shutdown and in-use logs? nothing in /var/log/ seemed to have the errors i've seen) to be sure my server pf.conf wasn't the problem, i disabled it; no change. server rc.conf.local has: portmap=YES nfs_server=YES i would have thought 2 vanilla OBSD boxes would share without adding any other options, so i basically followed the procedures on faq (and yes i did read the suggested manpages). what totally obvious thing am i missing here? |
|
|||
NTFS support is not enabled by default in the kernel as NTFS support is deemed experimental. Reading from NTFS partitions should be fine; writing is for the adventurous.
In order to enable NTFS support, yo will need to uncomment "NTFS" in the GENERIC kernel configuration file, & recompile the kernel according to the informationg found in Section 5.3 of the FAQ. You should also read the mount_ntfs(8) manpage. There, it states that the kernel supports only NTFS4 & NTFS5. |
|
|||
@ocicat,
are you not reading my mount option -t nfs and transposing the letters? this is a ffs drive i'm trying to share. mount -t nfs myserver:/mnt/mydir /mydir or alternately: Code:
mount_nfs myserver:/mnt/mydir /mydir @IdOp: server /etc/exports: mnt/mydir -maproot=daemon -alldirs myclient (btw, do we add code tags to .conf contents also?) OBSD client: Code:
mount -t nfs myserver:/mnt/mydir /mydir Code:
mount myserver:/mnt/mydir /mydir Last edited by amorphousone; 25th August 2010 at 05:09 PM. Reason: added exports and mount info |
|
||||
One further thought along the same line. On the client machines, are there entries in /etc/fstab for this nfs mount, which have options which may be getting picked up?
For example, my Linux client accessing NetBSD NFS server uses these options in the fstab: Code:
myserver:/home/dos /home/dos nfs rw,rsize=65536,wsize=65536,posix,noauto,nfsvers=3,nordirplus Last edited by IdOp; 29th August 2010 at 07:14 PM. Reason: acronym failure |
|
|||
yes, in my linux fstab i've specified read and write size for optimal performance. however i'd like to avoid exploring fstab options because it should just work with mount and fstab is just adding another complication into the mix.
from most of the OBSD docs i've read, defaults are generally optimal/sane (for example i read that defining read/write size is generally not needed, a case that wasn't true on my linux box). from OpenBSD faq (http://www.openbsd.org/faq/faq6.html#NFS: Quote:
|
|
|||
Quote:
|
|
||||
I have OBSD systems with NFS mounts working fine. I have also had trouble in the deep dark past, which I will reiterate in short form, in the hope it may help:
The situation: Mounts would hang using the UDP default protocol. Connections via TCP would work fine. The root cause: My server had multiple IP addresses sharing the same NIC. My client was using one of the alias address in the mount request. Traces with tcpdump(8) showed the UDP the mount request arriving at the alias address, but server responses were coming from the base IP address. Because UDP is stateless, the client was ignoring the responses from this address that it did not associate with the server. (TCP, being stateful, did not have this issue.) The moral of my story: You may not be using an alias address on your server, as I was. But you may want to still test TCP protocol, to see if there is a different result. As I did, you may discover that learning to use tcpdump(8) to analyze network problems will be more helpful for more things than you'd ever imagined. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Server-Client | c0mrade | Programming | 3 | 18th March 2009 05:22 PM |
ipsec with client nat | sicute | OpenBSD General | 0 | 30th October 2008 05:39 PM |
IM Client | schrodinger | OpenBSD Packages and Ports | 6 | 16th September 2008 02:09 PM |
DDNS Client | revzalot | OpenBSD Installation and Upgrading | 3 | 12th August 2008 02:21 AM |
Client torrent ! | gnowar | OpenBSD General | 10 | 3rd June 2008 10:50 AM |