UNSOLVED

cali_isaac

updated

15 years ago

C

cali_isaac

12 Posts

0

19075

July 18th, 2011 13:00

NFS share won't mount for firmware repository

Hey Guys.

I'm not able to connect to an NFS share for the firmware repository (only using it for staging at the moment).

Here's the export file:

# cat /etc/exports
/nfs2/dell_mgmt 192.168.26.28/255.255.255.255(rw,no_root_squash) *(ro)

Here's the "Staging Location" string I'm trying in the Management Center:
192.168.27.142/nfs2/dell_mgmt

192.168.27.142 is the NFS server

192.168.26.28 is the IP address of the Management Appliance. I can ping from the NFS server to the Appliance. I've tried by IP address and hostname.

I can connect with another server to that NFS share if I add it to the export list and I'm able to successfully use a CIFS share.

Thoughts?
  • irfan_azam

    18 Posts

    1234

    0

    Posted July 18th, 2011 15:00

    What error message you get when you try to test the connection for the share?

    The NFS path format supported by the appliance is host:/share. . Also make sure that appliance can also ping that share. You can test it from the repository share settings page.
  • cali_isaac

    12 Posts

    1234

    0

    Posted July 27th, 2011 16:00

    "What error message you get when you try to test the connection for the share?

    The NFS path format supported by the appliance is host:/share. . Also make sure that appliance can also ping that share. You can test it from the repository share settings page."
    Sorry, yes. there is a colon in my config
    192.168.27.142:/nfs2/dell_mgmt

    The error in the Management Center is just that it fails the last 2 tests: Staging Folder Path and Staging Folder Authentication

    I don't see where I can ping within the repository share settings page. Maybe I'm missing it.

    Here's the page with the config:
    http://mattspics.posterous.com/nfs-error#!/

    Thanks!
  • irfan_azam

    18 Posts

    1234

    0

    Posted July 27th, 2011 22:00

    You can login to the appliance console from vSphere client with admin account. Then do Alt-F2 and login with user=readonly, password same as the admin password. Then you can ping the NFS share IP to see if appliance can communicate with the share. Also make sure that the NFS mount point (/nfs2/dell_mgmt) has the write access enabled.
  • cali_isaac

    12 Posts

    1233

    0

    Posted July 28th, 2011 09:00

    Thanks for the reply. Yes, I can ping the NFS server from the console and the mount point is set to rw. I can mount it from another server and perform r/w operations.
    Any other thoughts?

    Thanks again for your help.
  • irfan_azam

    18 Posts

    1233

    0

    Posted July 28th, 2011 10:00

    Send me the appliance logs generated from Administration Portal -> Appliance Management -> Generate TroubleShooting Bundle. I will look into the logs for details
  • cali_isaac

    12 Posts

    1233

    0

    Posted July 28th, 2011 12:00

    Thanks!
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B4l7mfeHh2-IMmQxMzlmM2QtYjk4Mi00NzUwLWI2NGQtZjdiMWFkMzYzY2Uw&hl=en_US
  • irfan_azam

    18 Posts

    1233

    0

    Posted July 28th, 2011 19:00

    I can't find any info/error in the attached logs where it tried to connect to the NFS share. Can you test the nfs share connection once again from the plug-in and send me the logs again right after that.
  • cali_isaac

    12 Posts

    1233

    0

    Posted July 29th, 2011 10:00

    I ran the test before I submitted the first one, too. But here it is again. I looked through them, too and am not seeing any attempts to connect.

    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B4l7mfeHh2-IMmJlZTM5ODgtZTYxZS00MmQwLTg0NDMtM2UxZTVmNWIxY2Y3&hl=en_US

    Is there another way to test a connection other than through the Firmware Update Repository section in the plug-in?
  • irfan_azam

    18 Posts

    1233

    0

    Posted July 31st, 2011 11:00

    Yes I also can't find the appliance trying to connect to NFS share. I do find many CIFS share connections though.

    Let's try this,

    Login to the appliance console with read only user and then try to mount your nfs share in the /tmp folder.

    You can create a directory like /tmp/mnt. If it don't works then use sudo mkdir

    For the mount function again use sudo mount ....

    http://kb.open-e.com/How-do-I-mount-NFS-shares-under-the-Linux-console_95.html
  • cali_isaac

    12 Posts

    413

    0

    Posted August 1st, 2011 12:00

    Yes, I'm able to mount the share to the /tmp/mnt directory, though the readonly user can't run the mkdir or touch or anything from the /bin directory (see linked image).

    http://mattspics.posterous.com/nfs-mount

    Thanks again for your help.