|Summary:||ASTERISK-09276: Backup fails during NFS mount|
|Date Opened:||2007-04-17 18:28:05||Date Closed:||2007-06-05 12:59:19|
|Environment:||Attachments:||( 0) backup_error.txt|
|Description:||Regularly scheduled or ad-hoc backup fails while executing a "mount" command for a remote NFS share (error code 32). Found out that the share will mount when a "nolock" option is used on the "mount" command.|
****** ADDITIONAL INFORMATION ******
Would like to know if it's possible to modify the "mount" command within the backup scripts, as a temporary workaround, until this issue is resolved.
|Comments:||By: James Lyons (james) 2007-04-18 10:37:29|
Are you using backups within the asterisk-gui?
By: hskora (hskora) 2007-04-18 11:04:10
Yes, this was a backup from AsteriskNow GUI
By: hskora (hskora) 2007-05-15 18:28:57
Any news on the resolution of this issue?
By: Pari Nannapaneni (pari) 2007-05-17 13:03:11
I'm not sure what you are talking about here.
The GUI just uses tar for backups
I do not see where the mount comes in to the picture.
If you are using a mount command in your custom backup stuff
then that is definitely not related to the GUI.
By: hskora (hskora) 2007-05-17 14:36:26
This time I'll upload screen shots so that you can see how the mount failure message is generated in AsteriskNow GUI. As you can see on one of the screen shots, I selected an NFS share as my preferred backup storage device (this was all configured using AsteriskNow GUI). Additionally, because I selected to be notified of the backup results, I receive an raa notification from AsteriskNow about the backup outcome. I include the text sent to me below. I all replaced relevant ip addresses and share name for security purposes:
Backup failed: Shell command "/bin/mount -t nfs -orw xx.xx.xxx.xxx:/share /tmp/raa-backup-mountonbursdir" exited with exit code 32
By: hskora (hskora) 2007-05-17 14:51:45
OK, I tried uploading a couple of files but I get Application Error ASTERISK-398 (followed by a string of jibberish). Is there an e-mail address I could send the files to?
By: James Lyons (james) 2007-05-17 15:13:28
Please just upload the files to this issue.
By: hskora (hskora) 2007-05-21 11:49:58
Did you receive the uploaded files? I sent it to firstname.lastname@example.org...
By: James Lyons (james) 2007-05-22 09:04:23
There's an "Upload File" section on this bug page, emailing your files will not work.
By: James Lyons (james) 2007-06-04 11:09:09
you can change the options in /usr/lib/python2.4/site-packages/raaplugins/backup/lib.py
around line 89 look for....
props = jobData['plugin_properties']
jobType = props['locationType']
options = ['rw']
However, this sort of change is unsupported and could yield unpredictable results. Verify that your nfs server configuration is sound
By: James Lyons (james) 2007-06-04 11:34:07
AsteriskNOW does not include portmap or nfs-utils, these will be added in the next release (beta6)
By: James Lyons (james) 2007-06-05 12:59:18
Please re-open this issue if you still experience this problem