Unable to upload an image : Failed to mount NFS volume
-
Please the contents of ‘/etc/exports’ file. Are you sure NFS server ist running (‘ps ax | grep rpc’)?
Is nfsd filesystem supported (‘grep nfsd /proc/filesystems’)??
-
What version of Linux?
Simple stuff first; Make sure the /data/images/dev directory exists.
Thanks.
-
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 !
-
does
/data/images/.mntcheck and /data/images/dev/.mntcheck exist?
Are the permissions as: chmod -R 777 /data/images? -
/data/images/.mntcheck and /data/images/dev/.mntcheck exist.
The permissions are ok for /data/images (drwxrwxrwx). -
selinux disabled?
rpcbind running?
-
Yes Selinux is disabled and rpcbind is running.
-
What’s the boot file look like?
[url]Http://fogiphere/fog/service/ipxe/boot.php?mac=macofhostintasking[/url]
-
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] -
NO
from the browsergoto:
[url]http://<ipoffogserver>/fog/service/boot.php?mac=<macaddressofclientintask>[/url]
-
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 ? -
Did it work before you changed the location?? And did you restart the NFS server or the whole FOG server after changing ‘/etc/exports’??
-
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.
-
Could you please try mounting the NFS share from another computer:
[CODE]mkdir -p /mnt/nfstest && mount <fog-ip>:/data/images/dev /mnt/nfstest -v[/CODE]
I guess this will fail. Please report any error messages you see… -
This post is deleted! -
I tried to mount the NFS share from another computer. I have this error :
mount.nfs: mount(2) Connection refused -
IP Conflict?
I dunno… just kicking around ideas…
-
I managed to upload my image but this upload is blocked but i have this error now : FOG FTP Login Failed
-
[quote=“pimms, post: 42822, member: 28727”]I managed to upload my image but this upload is blocked but i have this error now : FOG FTP Login Failed[/quote]
Tell us, is your image sitting in /images/dev or in /images?
The Storage Management password is the culprit, probably. It’s the network folder looking thing in the Web GUI.
You should double check that the credentials set on the storage group in there are exactly the same as the [U]Linux[/U] Fog account credentials.
Also, you can double check that the FTP services are running on the FOG machine. Note any errors there.
-
My image is sitting in /images/dev, even if the storage default in the web GUI is /data/images
Tftp service is running.
The password of the Linux FOG account is the same as the web GUI password and TFTP password in the Web GUI.