unfsd Driving me mad!!!

Hi,

I am not having much luck with the unfsd so I am posting in the hope someone can help.

I have a DroboFS with the latest firmware installed. This is connected to a GB switch on my ADSL router. My Windows 7 Enterprise SP1 client is connected to the LAN via wireless. I have the NFS client components installed on the Win7 machine. The Drobo has an IP of 192.168.25.220 and my client has an IP address of 192.168.25.117.

I have removed and installed a fresh version of unfsd and when I run showmount -e 192.168.25.220
I get the default export mounts of 10.0.0.0 I have then ammended this to point to one of my share. This share is a fresh creation on the Drobo called vmware (Yes I want to mount this on my esx cluster).

Exports list on 192.168.25.220:
/mnt/DroboFS/Shares/vmware 192.168.0.0/24

My Exports file is configured as follows;

/mnt/DroboFS/Shares/vmware 192.168.0.0/24(rw,all_squash,anonuid=0,anongid=0)

I am not so worried about security as nothing is internet facing.

So far so good!

When trying to mount from the client using any of the following commands;

mount -o fileaccess=6 -u:root -p:root \192.168.25.220:/mnt/DroboFS/Shares/vmware x:

mount -o fileaccess=6\192.168.25.220:/mnt/DroboFS/Shares/vmware x:

mount \192.168.25.220:/mnt/DroboFS/Shares/vmware x:

I get the error;

Network Error - 53
Type ‘NET HELPMSG 53’ for more information.

There is no firewall between the client/Drobo and I have disabled the firewall on the client so there is no reason for this to not mount.

I have even tried to change the exports file with the settings;

(rw,insecure,all_squash,anonuid=99,anongid=99)

And changed the user settings;

chown -R nobody.nobody /mnt/DroboFS/Shares/VMWARE
chmod -R a+rw /mnt/DroboFS/Shares/VMWARE

And I still get the same 53 error.

Both ESX and Windows can not connect.

Every change I make to the exports I use dropbear to run the command;

/mnt/DroboFS/Shares/DroboApps/unfsd/service.sh stop
/mnt/DroboFS/Shares/DroboApps/unfsd/service.sh start

I don’t like using restart as I can test it is down and then up.

What the hell am I doing wrong neither win7 or ESX can attach and I have blown way too much time trying to configure this dam app. Every other app works great Fuppes streams perfectly to my PS3.

Any ideas or help would be good I really need to get the drobo connected to the ESX cluster.

Thanks in advance.

Andy.

As far as Google can tell, this error has nothing to do with NFS. This is a name resolution problem: http://technet.microsoft.com/en-us/library/cc940100.aspx

May I suggest that you download a LiveCD from any Linux distribution and try first to mount the NFS share using a real unix system? I have the strong suspicion that the problem here lies with Windows, not with the FS.

“ESX” – is that VMWare ESX Server?
Could you post the steps you took to try to connect to this Drobo from the ESX Linux system?

Interesting you say it’s DNS as I am using the ip for all of the commands not the netbios name of the drobo. I can add some host entries and see if it makes a difference.

Yes I mean vmware vsphere 4.1 I have enabled nfs in the firewall and made sure the port mapping service is running and nfs. I have a vmkernal Nic on the same subnet 192.168.25.x and can ping from both devices. When looking at the logs it gave me a permissions error but that was before I had the exports correct.

Thanks for the posts I will complete some further testing Sunday and post back.

Cheers.

I mentioned it because it wouldn’t be the first time the lack of DNS resolution messes up some FS service.

ProFTPd, for example, won’t start if it can’t resolve the FS’s hostname to an IP address. The workaround in that case is to add the hostname to the hosts file.

As Xfactors on and ive nothing else to do I have done some more testing!

I can now mount on the ESX server even with the failure on the Windows 7 node.

Added the NETBIOS name into the host file to make sure that the windows 7 node could connect via name but it stills fails. had a quick further Google and came up with the following;

http://www.networkedmediatank.com/wiki/index.php/NFS_Windows7

Looks like classic Microsoft add a component that doesn’t actually work unless you install another piece of software!

I had made an error in the exports file as I was using a class C subnet rather than a class B as soon as I had changed that and restarted the service it works.

I can now write to the drive but is seems I can not read! When browsing the datastore I get no folders created. When viewing the folder structure from a windows share everything is in order and folders are listed. I can create a new VM and it creates the folders on the NFS mounted volume but when I try and start the VM it fails with the follwoing error.

Unable to retrieve the current working directory: 38 (Function not implemented). Check if the directory has been deleted or unmounted.

So I am not sure how supported it is in ESX. I wanted to test the functionality and see if the Drobo had the power to run the VM’s as I can’t run it via iSCSI.

I have come across the following article;

http://communities.vmware.com/thread/319295?tstart=0

Looks like ESX needs readdirplus to be able to run VM’s so its a no go unless someone can develop something.

Epic fail!

Thanks for all your assistance.[hr]
As Xfactors on and ive nothing else to do I have done some more testing!

I can now mount on the ESX server even with the failure on the Windows 7 node.

Added the NETBIOS name into the host file to make sure that the windows 7 node could connect via name but it stills fails. had a quick further Google and came up with the following;

http://www.networkedmediatank.com/wiki/index.php/NFS_Windows7

Looks like classic Microsoft add a component that doesn’t actually work unless you install another piece of software!

I had made an error in the exports file as I was using a class C subnet rather than a class B as soon as I had changed that and restarted the service it works.

I can now write to the drive but is seems I can not read! When browsing the datastore I get no folders created. When viewing the folder structure from a windows share everything is in order and folders are listed. I can create a new VM and it creates the folders on the NFS mounted volume but when I try and start the VM it fails with the follwoing error.

Unable to retrieve the current working directory: 38 (Function not implemented). Check if the directory has been deleted or unmounted.

So I am not sure how supported it is in ESX. I wanted to test the functionality and see if the Drobo had the power to run the VM’s as I can’t run it via iSCSI.

I have come across the following article;

http://communities.vmware.com/thread/319295?tstart=0

Looks like ESX needs readdirplus to be able to run VM’s so its a no go unless someone can develop something.

Epic fail!

Thanks for all your assistance.

Quick update on the unfsd issues.

I can only add one line in the exports file. If I add a second mount point both the original mount point stops has anyone experienced this?

Exports below;

/mnt/DroboFS/Shares/vmware 192.168.0.0/16(rw,all_squash,anonuid=0,anongid=0)
/mnt/DroboFS/Shares/public 192.168.0.0/16(rw,no_root_squash)[hr]
Quick update on the unfsd issues.

I can only add one line in the exports file. If I add a second mount point both the original mount point stops has anyone experienced this?

Exports below;

/mnt/DroboFS/Shares/vmware 192.168.0.0/16(rw,all_squash,anonuid=0,anongid=0)
/mnt/DroboFS/Shares/public 192.168.0.0/16(rw,no_root_squash)

This may be a dumb question, but are you sure the line breaks are being done using a Unix encoding? In other words, if you are editing this file on Windows, it might be the case that the encoding of the line breaks is wrong, thus making it a single line from the point of view of a Unix system.

There’s no such thing as a dumb question in my book.

Spot on I have been changing it in notepad. I will putty in and change it that way and give it another try.

Thanks Ricardo.[hr]
There’s no such thing as a dumb question in my book.

Spot on I have been changing it in notepad. I will putty in and change it that way and give it another try.

Thanks Ricardo.

[quote=“acexer, post:9, topic:2823”]
Spot on I have been changing it in notepad. I will putty in and change it that way and give it another try.

Thanks Ricardo.[/quote]

Don’t thank me just yet… :wink: