I tried to mount the NFS share from another computer. I have this error :
mount.nfs: mount(2) Connection refused
Posts made by pimms
-
RE: Unable to upload an image : Failed to mount NFS volume
-
RE: Unable to upload an image : Failed to mount NFS volume
I never tried Just after the installation I changed the location. I restarted at least 10 times the NFS server and the whole FOG server after changing /etc/exports.
-
RE: Unable to upload an image : Failed to mount NFS volume
Sorry
Here the contents of the boot file :[CODE]#!ipxe
kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.12.59.1/fog/ consoleblank=0 loglevel=4 mac=xx:xx:xx:xx:xx:xx ftp=192.12.59.1 storage=192.12.59.1:/data/images/dev/ storageip=192.12.59.1 web=192.12.59.1/fog/ osid=5 loglevel=4 consoleblank=0 irqpoll hostname=first-host chkdsk=0 img=img imgType=mpa imgid=4 imgFormat= PIGZ_COMP=-9 hostearly=1 pct=5 ignorepg=1 type=up
imgfetch init_32.xz
boot
[/CODE]I changed the default store location with this howto : [url]http://www.topgearit.net/index.php?title=Change_FOG_Image_Storage_Location[/url]
maybe this caused this error ? -
RE: Unable to upload an image : Failed to mount NFS volume
Here the contents of /var/www/html/fog/service/ipxe/boot.php :
[CODE]<?php
header(“Content-type: text/plain”);
require_once(‘…/…/commons/base.inc.php’);
if ($_REQUEST[‘mac0’] && !$_REQUEST[‘mac1’] && !$_REQUEST[‘mac2’])
$_REQUEST[‘mac’] = $_REQUEST[‘mac0’];
else if ($_REQUEST[‘mac0’] && $_REQUEST[‘mac1’] && !$_REQUEST[‘mac2’])
$_REQUEST[‘mac’] = $_REQUEST[‘mac0’].‘|’.$_REQUEST[‘mac1’];
else if ($_REQUEST[‘mac0’] && !$_REQUEST[‘mac1’] && $_REQUEST[‘mac2’])
$_REQUEST[‘mac’] = $_REQUEST[‘mac0’].‘|’.$_REQUEST[‘mac2’];
else if ($_REQUEST[‘mac0’] && $_REQUEST[‘mac1’] && $_REQUEST[‘mac2’])
$_REQUEST[‘mac’] = $_REQUEST[‘mac0’].‘|’.$_REQUEST[‘mac1’].‘|’.$_REQUEST[‘mac2’];
$MACs = HostManager::parseMacList($_REQUEST[‘mac’]);
$Host = $FOGCore->getClass(‘HostManager’)->getHostByMacAddresses($MACs);
new BootMenu($Host);[/CODE] -
RE: Unable to upload an image : Failed to mount NFS volume
Yes Selinux is disabled and rpcbind is running.
-
RE: Unable to upload an image : Failed to mount NFS volume
/data/images/.mntcheck and /data/images/dev/.mntcheck exist.
The permissions are ok for /data/images (drwxrwxrwx). -
RE: Unable to upload an image : Failed to mount NFS volume
Hi, here the contents of /etc/exports :
/data/images/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
/data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)NFS server is running.
Nfsd is supported.
/data/images/dev directory exists.
Linux version : 3.10
[url]http://upload.dinhosting.fr/U/1/n/IMG_6991.png[/url]
Thanks !
-
Unable to upload an image : Failed to mount NFS volume
Hello guys,
I recently installed a FOG Server on RHEL7. I’m using FOG 1.2.0.
Unfortunately I can’t upload an image to my FOG server.
Error : “mounting 192.12.59.1:/data/images/dev on /images failed: Operation not supported” and “Fatal error: Failed to mount NFS Volume”.Any idea plase ?
Thanks