sybase数据库的远程dump问题(在线候)
一台linux(2.6.X)的NFS Server,共享出一个目录。NFS配置如下:cat /etc/exports
/home/outdir (rw, sync, no_root_squash)
一台AIX系统(安装sybase数据库),NFS挂载linux共享出来的目录:
mount linux_ip:/home/outdir /mnt/backup
挂载成功后,赋予/mnt/backup最高权限,chmod 777 /mnt/backup
测试:
在共享目录/mnt/backup 中拷贝、删除、编辑文件都没有问题。
问题:
测试sybase的dump,出问题了。
dump database master to '/mnt/backup/master.dat' 执行不下去。
信息如下:
Server Message:Number3015, Severity10
Server 'onlnsrv', Line 1:
WARNING: In order to LOAD the master database, the SQL Server must run in single-user mode.If the master database dump uses multiple volumes, you must execute sp_volchanged on another SQL Server at LOAD time in order to signal volume changes.
Server Message:Number3216, Severity10
Server 'onlnsrv', Line 1:
Backup Server session id is:138.Use this value when executing the 'sp_volchanged' system stored procedure after fulfilling any volume change request from the Backup Server.
Server Message:Number404101, Severity1
Server 'onlnsrv_back', Procedure 'bs_write_header', Line 0:
Backup Server: 4.41.1.1: Creating new disk file /mnt/backup/master.dat.
Server Message:Number605301, Severity1
Server 'onlnsrv_back', Procedure 'bs_write_header', Line 0:
Backup Server: 6.53.1.1: OPERATOR: Volume on device /mnt/backup/master.dat' cannot be opened for write access. Mount another volume.
Server Message:Number607801, Severity1
Server 'onlnsrv_back', Procedure 'bs_write_header', Line 0:
Backup Server: 6.78.1.1: EXECUTE sp_volchanged @session_id = 138, @devname = /mnt/backup/master.dat', @action = { 'PROCEED' | 'RETRY' | 'ABORT' } 你的这种情况不属于sybase中的远程备份。
在sybase中远程备份指定的是备份到远程的备份服务器上去。 也就是执行dump的时候在命令后面加上: at remote_backup_server_name
比如: dump database master to "/mnt/back/master.dmp" at remote_backupserver_name
sybase是什么版本?可能和NFS有关系。 sybase是12.54版本。
我也在查NFS的问题。但是NFS配置换了好几个配法,都无效。
是否和NFS版本有关系?
页:
[1]