January 31, 201412 yr Seemed like a pretty basic question, but I've read now for a few hours and am still at a loss. Running unRAID in a ESXI 5.1 with multiple VMs including one running the latest version of Ubuntu Server with Plex Server installed on it, an instance of PBX In a Flash running on CentOS, and ownCloud running on a 32bit variant of Linux. I (simply or so I though) want each of these to have access to some / all of my shares. Have unRAID (at IP 192.168.1.6) setup with only the root account (no password) and two shares at present - one Media that includes all 7 disks, High-water, Split 3 and the other Music, one disk, High-water, Split 0. What is the simplest way to go about this? Do not want to install Plex or anything else onto the UnRAID install. Like keeping everything separate.
January 31, 201412 yr If it's some sort of unix, you can add them to the /etc/fstab. Something like: tower:/mnt/user/primary /mnt/user/primary nfs rsize=8192,wsize=8192,timeo=14,intr 0 0 Note: I'm still waiting for beta3 to try all this out.
January 31, 201412 yr Author Still confused. Found this website: http://www.stchman.com/share_NFS.html Now, my UnRAID server is at IP: 192.168.1.6. User is root. Share is Media. Should the line added to /etc/fstab be: //192.168.1.6:/mnt/root/Media /mnt/root/Media nfs rsize=8192,wsize=8192,timeo=14,intr 0 0 Does that make sense?
January 31, 201412 yr You should not need the // and root is user as that's how unraid does it. Open a telnet session and test it. CD /mnt/user then ls, and you should see your shares Sent from my SCH-I535 using Tapatalk
January 31, 201412 yr unRAID lists all shares under /mnt/user. User does not mean a username. So it would be: 192.168.1.6:/mnt/user/Media /mnt/user/Media nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
January 31, 201412 yr Author So what I did was: 1. Enabled NFS under Settings in UnRAID 2. Edited /etc/fstab on the Ubuntu Server to now have as the last line: 192.168.1.6:/mnt/user/Media /mnt/user/Media nfs rsize=8192,wsize=8192,timeo=14,intr 0 0 In its entirety it reads as follows: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=41085614-54a8-4b5d-839f-959b0508511c /boot ext2 defaults 0 2 /dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 192.168.1.6:/mnt/user/Media /mnt/user/Media nfs rsize=8192,wsize=8192,timeo=14,intr 0 0 When watching Ubuntu boot, when it gets to the login I see the following: ubuntu login: mountall: Disconnected from Plymouth What am I doing wrong? Should I be changing NFS Security Settings (right now set as Export: No, Security Public) or SMB Security Settings (Set as Export:Yes, Security Public)?
January 31, 201412 yr What am I doing wrong? Should I be changing NFS Security Settings (right now set as Export: No, Security Public) or SMB Security Settings (Set as Export:Yes, Security Public)? Yes, in unRAID you need to set the NFS export to Yes.
January 31, 201412 yr Author Set NFS export to Yes, rebooted both UnRAID and Ubuntu/Plex VMs. Unfortunately still got the "ubuntu login: mountall: Disconnected from Plymouth" message. Ughhhhh! Edit: Should note that I also installed NFS on Ubuntu with the sudo apt-get install nfs-kernel-server command
January 31, 201412 yr I'll have to try this when Beta3 comes out (I'll be quickly jumping into testing a VM build from there), but that should work. Are you getting any logs on the unraid side?
January 31, 201412 yr Set NFS export to Yes, rebooted both UnRAID and Ubuntu/Plex VMs. Unfortunately still got the "ubuntu login: mountall: Disconnected from Plymouth" message. Ughhhhh! Edit: Should note that I also installed NFS on Ubuntu with the sudo apt-get install nfs-kernel-server command Remove nfs-kernel-server sudo apt-get remove nfs-kernel-server Install nfs-common sudo apt-get install nfs-common Update grub sudo update-grub Reboot sudo reboot See if that fixes your problem. If not... sudo mount 192.168.1.6:/mnt/user/Media /mnt Report back whatever it says.
February 1, 201412 yr Author 1. removed nfs-kernel-server 2. nfs-common was already installed 3. updated grub and rebooted (still got the "ubuntu login: mountall: Disconnected from Plymouth" message) 4. Tried the "sudo mount 192.168.1.6:/mnt/user/Media /mnt" command and it returned: "mount.nfs: mount point /mnt/user/Media does not exist mountall: mount /mnt/user/Media [1586] terminated with status 1
February 1, 201412 yr 1. removed nfs-kernel-server 2. nfs-common was already installed 3. updated grub and rebooted (still got the "ubuntu login: mountall: Disconnected from Plymouth" message) 4. Tried the "sudo mount 192.168.1.6:/mnt/user/Media /mnt" command and it returned: "mount.nfs: mount point /mnt/user/Media does not exist mountall: mount /mnt/user/Media [1586] terminated with status 1 Ok, now you need a folder to mount to. As far as I know, you need to mount to a folder mkdir /mnt/unRAID_Media sudo mount 192.168.1.6:/mnt/user/Media /mnt/unRAID_Media
February 1, 201412 yr Author Got the same message. I created the folder, then when I tried to mount it, got: "mount.nfs: mount point /mnt/user/Media does not exist mountall: mount /mnt/user/Media [1960] terminated with status 1"
February 1, 201412 yr what was your command? cd into /mnt and run ls and report the contents the error appears to say the folder you are mounting to is not there
February 1, 201412 yr Got the same message. I created the folder, then when I tried to mount it, got: "mount.nfs: mount point /mnt/user/Media does not exist mountall: mount /mnt/user/Media [1960] terminated with status 1" Running the following command and post the output: sudo showmount -e 192.168.1.6
February 1, 201412 yr Author Export list for 192.168.1.6: /mnt/user/Media * If I go to the mnt folder and type ls, nothing comes back.
February 1, 201412 yr Export list for 192.168.1.6: /mnt/user/Media * If I go to the mnt folder and type ls, nothing comes back. See if NFS is loaded sudo lsmod | grep nfs Anything? You will have better luck on Ubuntu Forums. It isn't an unRAID problem.
February 1, 201412 yr for the sake of comparison, this is what I get... [root@archu_1 ~]# sudo lsmod | grep nfs nfsv3 31466 1 nfs_acl 2623 1 nfsv3 nfsv4 408223 0 nfs 192981 4 nfsv3,nfsv4 lockd 76910 2 nfs,nfsv3 sunrpc 233456 20 nfs,lockd,nfsv3,nfsv4,nfs_acl fscache 47028 3 nfs,cifs,nfsv4 [root@archu_1 ~]#
February 1, 201412 yr Author SOLVED: Re-installed my VM instance of Ubuntu Server 13.04. Steps for someone else: Assume UnRAID IP is 192.168.1.6 and Ubuntu Server IP is 192.168.1.8 1. Install UnRAID, enable NFS (under Settings), and under Share Settings, set Yes to Export under NFS Security Settings 2. In Ubuntu Server, run: sudo apt-get install nfs-common portmap 3. Next, mount the directories in Ubuntu that will contain the NFS shared files: sudo mkdir -p /mnt/nfs/SHARE NOTE: replace SHARE with the name of your share (e.g. Media) 4. Then, mount the share using the following command: sudo mount 192.168.1.6:/mnt/user/SHARE /mnt/nfs/SHARE NOTE: replace SHARE with the name of your share (e.g. Media) 5. Use the following command df -h to check that the directory was mounted 6. Edit the /etc/fstab file (sudo nano /etc/fstab) adding the following line: 192.168.1.6:/mnt/user/SHARE /mnt/nfs/SHARE nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0 NOTE: replace SHARE with the name of your share (e.g. Media)
February 1, 201412 yr would there not be a benefit to speficiying 32k r/wsize? I use that at work, but that might be on 10-20GB links
February 2, 201412 yr Personally I do not want to run NFS at all. NFS is a huge bottleneck in terms of performance. I am researching xen block-attach.... http://backdrift.org/xen-disk-hot-add-block-device-howto
February 2, 201412 yr If you don't like NFS, think again. It's not that much of a bottleneck and is stupid simple to setup using autofs under an Arch VM. I made a little video about it
February 2, 201412 yr Can we trust nfs on unraid now? I remember it being unstable with a lot of stale handle errors. I'm running 5 on esxi and have all the shares on samba because of the errors.
Archived
This topic is now archived and is closed to further replies.