cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8663
Views
0
Helpful
10
Replies

NFS repository

suchla.sand
Level 1
Level 1

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. 

10 Replies 10

camejia
Level 3
Level 3

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 " and retrieve the files on that same repository?

Keep in mind the following:

CSCth12958            Bug Details

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: 1

Conditions:


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.

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 <

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.

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 <

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:

backup-staging-url

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

Syntax Description


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.

Defaults

No default behavior or values.

Command Modes

Configuration

Usage Guidelines

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.



Examples

acs/admin(config)# backup-staging-url nfs://loc-filer02a:/vol/local1/private1/jdoe
acs/admin(config)# 

: 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 <

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 <

Here are the lines from the new config with the backup-staging lines in....

On Wed, Feb 1, 2012 at 4:19 PM, camejia <

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.

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 <