02-01-2012 08:01 AM - edited 03-10-2019 06:47 PM
I am trying to use the NFS repository feature and the repository happens to be on a Windows domain share. I keep getting Erro mounting NFS location.
02-01-2012 12:40 PM
Hello,
Are you configuring the repositoy on CLI or GUI? Can you share the repository configuration as you have it now?
Usually the % Error mounting NFS location message is related to permission issues on the NFS side. The Username defined for the NFS transfer requires write privileges on the NFS root.
Are you hable to perform a "show repository
Keep in mind the following:
ACS 5 requirements from the NFS server mounted resource | |
Symptom: CLI export-data did not create any file on the NFS file system.e.g appl01/acsadmin(config-acs)# export-data user NFSSystem userexp resultfile none Export process Id is: 1Conditions: Workaround: Make sure ACS has full access to NFS filesystem, we need NFS file system on "read-write" and allow "root access" in the permission of NFS system |
Regards.
02-01-2012 12:53 PM
The user account does have write access to the share, which happens to live
on a windows 2008R2 domain, I have not found good directions for my
commands and our unix guy sent me a commands that I can't do because I
don't have permissions under the CISCO commands. Any help would be
wonderful, here is what I have in my config for the repository, on the
server the folder is named Backup, my group maps to the networking area of
the drive.
repository Backup
url nfs://crimson.intra.uwlax.edu:/OLFCabinet/ITS/Networking/
user admin.sand password hash 832a73914ff9baa01670a569f9f32eaf0fe5ae6a
repository acs-upgrade-repo
url disk:
repository backup
url nfs://Crimson/OLFCabinet/ITS/Networking/
On Wed, Feb 1, 2012 at 2:41 PM, camejia <
02-01-2012 01:00 PM
Hello,
Thanks for the information. Can you enable "debug backup-restore all" on the ACS CLI and attempt the backup again? Please share the outputs.
Also, execute the "show repository Backup" and verify if you can browse the NFS folder.
Regards.
02-01-2012 01:17 PM
debug results plus show repository backup
ACSMurphy/admin# show repository backup
7 : backup-restore:history: br_cli.c[136] :
carsshow_repository INVOKED
6 : backup-restore:history: br_cli.c[148] : error message:
Error mounting NFS location
% Error mounting NFS location
ACSMurphy/admin# 7 : backup-restore:backup: br_backup.c[427]
: initiating application component backup
ACSMurphy-20120112-120201-2115 to repos Backup
7 : backup-restore:backup: br_backup.c[450] : no staging url
defined, using local space
7 : backup-restore:backup: br_backup.c[41] : flushing the
staging area
7 : backup-restore:backup: br_backup.c[473] : creating
/opt/backup/backup-ACSMurphy-20120112-120201-2115-1328130901
7 : backup-restore:backup: br_backup.c[488] : creating
backup subdir:
/opt/backup/backup-ACSMurphy-20120112-120201-2115-1328130901/backup/appcomponent
7 : backup-restore:backup: br_backup.c[492] : Calling
appComponent backup with command: /opt/CSCOacs/bin/backup.sh
/opt/backup/backup-ACSMurphy-20120112-120201-2115-1328130901/backup/appcomponent
7 : backup-restore:history: br_history.c[252] : running date
7 : backup-restore:history: br_history.c[76] : obtained
backup history lock
7 : backup-restore:history: br_history.c[160] : loaded
history file /var/log/backup.log
7 : backup-restore:history: br_history.c[118] : stored
backup history file
7 : backup-restore:history: br_history.c[90] : released
backup history lock
7 : backup-restore:history: br_history.c[310] : added record
to history
3 : backup-restore:backup: br_backup.c[528] : backup
ACSMurphy-20120112-120201-2115 copy out failed
On Wed, Feb 1, 2012 at 3:01 PM, camejia <
02-01-2012 02:19 PM
Hello,
Did you configure the "backup-staging-url" command on the ACS CLI as well?
acs81/acsadmin(config)# backup-staging-url nfs://crimson.intra.uwlax.edu:/OLFCabinet/ITS/Networking/
Refer to the following:
To allow you to configure a Network File System (NFS) location that backup and restore operations will use as a staging area to package and unpackage backup files, use the backup-staging-url command in Configuration mode.
backup-staging-url word
word | NFS URL for staging area. Up to 2048 alphanumeric characters. Use nfs://server:path1 . |
1 Server is the server name and path refers to /subdir/subsubdir. Remember that a colon (:) is required after the server. |
No default behavior or values.
Configuration
The URL is NFS only. The format of the command is backup-staging-url nfs://server:path.
Warning Ensure that you secure your NFS server in such a way that the directory can be accessed only by the IP address of the ACS server.
acs/admin(config)# backup-staging-url nfs://loc-filer02a:/vol/local1/private1/jdoe
acs/admin(config)#
02-01-2012 02:31 PM
: backup-restore:backup: br_backup.c[427] : initiating
application component backup ACSMurphy-20120112-120201-2230 to repos Backup
7 : backup-restore:backup: br_backup.c[453] : mounting
remote staging area
3 : backup-restore: br_stage.c[187] : error mounting nfs
staging area crimson.intra.uwlax.edu:/OLFCabinet/ITS/Networking/
3 : backup-restore:backup: br_backup.c[458] : unable to
mount nfs staging area
On Wed, Feb 1, 2012 at 4:19 PM, camejia <
02-01-2012 02:32 PM
Thanks so much for the help, here are the results of the last command you
had me try.
: backup-restore:backup: br_backup.c[427] : initiating
application component backup ACSMurphy-20120112-120201-2230 to repos Backup
7 : backup-restore:backup: br_backup.c[453] : mounting
remote staging area
3 : backup-restore: br_stage.c[187] : error mounting nfs
staging area crimson.intra.uwlax.edu:/OLFCabinet/ITS/Networking/
3 : backup-restore:backup: br_backup.c[458] : unable to
mount nfs staging area
On Wed, Feb 1, 2012 at 4:19 PM, camejia <
02-01-2012 02:35 PM
Here are the lines from the new config with the backup-staging lines in....
On Wed, Feb 1, 2012 at 4:19 PM, camejia <
02-01-2012 02:41 PM
Hello,
Can you please confirm that your Windows Server 2008 is configured as described on the following link?
http://www.techietips.net/Creating-an-NFS-share-on-Windows-2008
Also, Please note that ACS is trying to mount as 'root'. That is why we need "root access" on the NFS for the ACS IP address.
Regards.
02-07-2012 05:59 AM
It is a 2003 server but a 2008 domain, just found this out, are there
directions for that configuration.
On Wed, Feb 1, 2012 at 4:41 PM, camejia <
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide