Difference between revisions of "Image Upload: Error Checking Mount"

From FOG Project
Jump to: navigation, search
m
 
m (Updated the bit about /etc/exports)
Line 34: Line 34:
  
  
/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
+
<pre>/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
 +
/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
 +
</pre>
  
/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
+
<pre>/data/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
 
+
/data/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
'''/data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)'''
+
</pre>
 
 
'''/data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)'''
 

Revision as of 22:59, 27 May 2015

The Client mounts the NFS share successfully but throws an error while checking the mounted Share.

* Preparing to send image file to server 
* Mounting File System......................................mount:ser.ver.ipa.ddr:/data/images/dev/ failed, reason given by server: Permission denied 
Done 

* Checking Mounted File System ........................ 
########################################################################################### 
# # 
# An error has been detected # 
# # 
########################################################################################### 
 
Fatal Error: Failed to mount NFS Volume. 
 
########################################################################################### 
# # 
# Computer will reboot in 1 minute. # 
# # 
########################################################################################### 

In the folder on your server, check for the .mntcheck files. If these are not there then perform the following commands [Linux Systems Only]

touch /images/dev/.mntcheck

touch /images/.mntcheck


If still receiving the same error message after perfroming the above commands, you may need to edit /etc/exports to include your new mount point, i.e. /data/images and /data/images/dev with corresponding permissions.

See following example of /etc/exports:


/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
/data/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
/data/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)