当前位置: 代码迷 >> Sybase >> sybase双机热备切机后数据库设备无法加载,该怎么解决
  详细解决方案

sybase双机热备切机后数据库设备无法加载,该怎么解决

热度:2595   发布时间:2013-02-26 00:00:00.0
sybase双机热备切机后数据库设备无法加载,急!
各位大牛,请帮帮小弟吧,都快急死了!非常感谢!
  我们有两台sun服务器a和b,共用一个磁盘阵列,sybase ASE12.5。以前磁盘阵列挂在a上,由于cpu风扇有问题,停了a机(在关机过程中忘了关数据库),数据库自动cluster到b机后几个设备无法初始化,报sybase 840错误。
 我是初学者,照着网上的资料查了一下,现在数据库的情况如下:
  1.重新把磁盘阵列挂到a机上数据库仍能正常运行
  2.我们的所有库文件都在磁盘阵列上(master也在)
  3.以前在a机上对数据库进行扩容,但好像b机的.cfg文件也相应修改过
  4.其中出问题的scbjhdb库的status为64
  5.在sysdevices中出问题的设备都能看到
  6.曾在b机上用 fsck -y 检查磁盘阵列文件,但由于时间不够,最后修复中断了
敬请各位大牛给我看看,有啥好办法没有。
   
b机sybase日志另帖
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'data47'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 47, '/disk/sybsystem/data47.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel dopen: open '/disk/sybsystem/data47.dat', Permission denied
00:00000:00001:2010/01/24 18:25:51.60 kernel udactivate: error starting virtual disk 47
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'data48'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 48, '/disk/sybsystem/data48.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel dopen: open '/disk/sybsystem/data48.dat', Permission denied
00:00000:00001:2010/01/24 18:25:51.60 kernel udactivate: error starting virtual disk 48
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'data49'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 49, '/disk/sybsystem/data49.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel dopen: open '/disk/sybsystem/data49.dat', Permission denied
00:00000:00001:2010/01/24 18:25:51.60 kernel udactivate: error starting virtual disk 49
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'data50'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 50, '/disk/sybsystem/data50.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel dopen: open '/disk/sybsystem/data50.dat', Permission denied
00:00000:00001:2010/01/24 18:25:51.60 kernel udactivate: error starting virtual disk 50
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'data51'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 51, '/disk/sybsystem/data51.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel dopen: open '/disk/sybsystem/data51.dat', Permission denied
00:00000:00001:2010/01/24 18:25:51.60 kernel udactivate: error starting virtual disk 51
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'data52'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 52, '/disk/sybsystem/data52.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel dopen: open '/disk/sybsystem/data52.dat', Permission denied
00:00000:00001:2010/01/24 18:25:51.60 kernel udactivate: error starting virtual disk 52
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'data53'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 53, '/disk/sybsystem/data53.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel dopen: open '/disk/sybsystem/data53.dat', Permission denied
00:00000:00001:2010/01/24 18:25:51.60 kernel udactivate: error starting virtual disk 53
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'data54'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 54, '/disk/sybsystem/data54.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel dopen: open '/disk/sybsystem/data54.dat', Permission denied
00:00000:00001:2010/01/24 18:25:51.60 kernel udactivate: error starting virtual disk 54
00:00000:00001:2010/01/24 18:25:51.60 server Activating disk 'pdrdata'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Initializing virtual device 9, '/disk/sybsystem/pdrdata.dat' with dsync 'on'.
00:00000:00001:2010/01/24 18:25:51.60 kernel Virtual device 9 started using asynchronous i/o.