October 27, 201312 yr I'm having issues with XenServer dropping NFS mounts to Unraid after a random period of time. I'm not trying to virtualize Unraid. I've set NFS tunable to -1 in Unraid. I've tried messing around with the mount settings in XenServer to have basic stuff. I installed straight Ubuntu on the same system and experienced the same NFS mount drops until I set the fstab with noac and even lookupcache=none. After I plugged that in it seemed to run fine for a long time on raw Ubuntu 12.04. I couldn't find the right settings in /opt/xensource/sm/nfs.py on XenServer that would have the same affect as how I set it in Ubuntu. Anyone know what settings I need in the nfs.py file on XenServer to keep the connection stable to Unraid?
October 29, 201312 yr Author No response...this is a bit discouraging. I tried it again and managed to get it to take "noac" into the settings. I confirmed this with "nfsstat -m". I can't get it to take "lookupcache=none" though. Or at least, it's not showing that. /var/run/sr-mount/e619a0fe-c648-fbbb-f9f5-e735288f8035 from 192.168.169.8:/mnt/user/vmware/e619a0fe-c648-fbbb-f9f5-e735288f8035 Flags: rw,sync,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,soft,noac,proto=tcp,port=65535,timeo=133,retrans=0,sec=sys,mountport=65535,local_lock=none,addr=192.168.169.8 Could some of the other options be interfering with the lookupcache option?
November 19, 201312 yr Just setup a cronjob to run every minute to remount fstab Sent from my Nexus 5 using Tapatalk
November 20, 201312 yr Author Doing a mount -a once the problem crops up does not solve the problem. Thanks for responding though. You're the first to acknowledge the problem!
November 20, 201312 yr Author Can I have a disk be in Unraid, shared out via NFS, but not part of the array? I get the impression the stale file handle problem is because of the share being mapped across multiple disks.
November 20, 201312 yr Can I have a disk be in Unraid, shared out via NFS, but not part of the array? I get the impression the stale file handle problem is because of the share being mapped across multiple disks. you will need SNAP for that.
November 23, 201312 yr Author Nevermind, found it. I'll try this out and let you all know if it works.
November 27, 201312 yr Author No good. SNAP doesn't support NFS, only SMB. I guess I'll be spinning up a FreeNAS box or something like it.
Archived
This topic is now archived and is closed to further replies.