当前位置: 代码迷 >> AIX >> 使用mksysb命令备份系统到磁带上,提示有文件没有写入,该如何解决
  详细解决方案

使用mksysb命令备份系统到磁带上,提示有文件没有写入,该如何解决

热度:10025   发布时间:2013-02-26 00:00:00.0
使用mksysb命令备份系统到磁带上,提示有文件没有写入,该怎么解决
界面提示信息如下
--------------------------------------------------------------------------------------
  COMMAND STATUS

Command: OK stdout: yes stderr: no

Before command completion, additional instructions may appear below.


Creating information file (/image.data) for rootvg..

Creating tape boot image........
bosboot: Boot image is 39051 512 byte blocks.
.

Creating list of files to back up.

Backing up 92432 files..............................
10801 of 92432 files (11%)..............................
11092 of 92432 files (12%)........backup: 0511-089 Cannot open ./var/adm/nfsv4/sm4.grace: A system call received a parameter that is
 not valid.
......................
25920 of 92432 files (28%)..............................
47241 of 92432 files (51%)..............................
80941 of 92432 files (87%)...................

0512-003 mksysb may not have been able to archive some files.
The messages displayed on the Standard Error contained additional
information.

bosboot: Boot image is 39051 512 byte blocks.





F1=Help F2=Refresh F3=Cancel Esc+6=Command
Esc+8=Image Esc+9=Shell Esc+0=Exit /=Find
n=Find Next  
--------------------------------------------------------------------------------------------------------------

backup: 0511-089 Cannot open ./var/adm/nfsv4/sm4.grace: A system call received a parameter that is
 not valid.这个错误是什么意思,文件无法打开,是坏了,还是消失了?这个错误正常吗?

最后提示只到87%,是不是就是说有13%的文件没有写入,包不包括上面的那个未能打开的文件.我在其他机器上备份成功过,看到最后提示是100%写入的.

------解决方案--------------------------------------------------------
对的,是应该是有100% 的时候,提示已经备份成功的。
解决问题的思路:
0511-089 Cannot open ./var/adm/nfsv4/sm4.grace: A system call received a parameter that is
 not valid.
这个问题可以忽略,因为你的备份方法没有错,而且下面又开始正常备份了。

0512-003 mksysb may not have been able to archive some files.
The messages displayed on the Standard Error contained additional
information.

这个错误是因为上面有文件没有写入的提示,我估计,显示是87%,实际上可能100%了。

看磁带的备份情况是可以用lsmksysb 来看的。(注意加个参数 : man lsmksysb)
  相关解决方案