Changes

From SME Server
Jump to navigationJump to search
789 bytes added ,  12:05, 7 May 2010
Added cifs - "mount error 20" information
Line 248: Line 248:     
All backup files have allways distinct names. If the backup files are moved elsewhere for archiving, you must recreate the directory structure before doing a restore with the server manager.
 
All backup files have allways distinct names. If the backup files are moved elsewhere for archiving, you must recreate the directory structure before doing a restore with the server manager.
 +
 +
=== cifs - mount error 20 = Not a directory ===
 +
 +
Some network drives don't function correctly with Backup with DAR and the cifs file system. The mount command returns "mount error 20 = Not a directory". See [http://bugs.contribs.org/show_bug.cgi?id=4923 Bug 4923].
 +
 +
This can be worked around by adding the "nounix" option to the mount command in the /etc/e-smith/events/actions/workstation-backup-dar file.
 +
 +
Edit the above file and find the line:
 +
 +
$err = qx(/bin/mount -t cifs "$smbhost:$smbshare" $mntdir -o user=$login,pass=$password 2>&1);
 +
 +
and change it to:
 +
 +
$err = qx(/bin/mount -t cifs "$smbhost:$smbshare" $mntdir -o nounix,user=$login,pass=$password 2>&1);
 +
 +
Save the file.
 +
 +
Note that this change may not be preserved across updates/upgrades to the Backup with Dar sub-system.
    
----
 
----
 
[[Category:Contrib]]
 
[[Category:Contrib]]
 
[[Category: Backup]]
 
[[Category: Backup]]
105

edits

Navigation menu