卷起不来了,数据库down掉了,怎么办-
2011年12月23日
卷起不来了,数据库down掉了,怎么办?卷起不来了
vxdg import sybasedg
导入不了
vxdg import otherdg
OK
怎么办...回复 1楼 amirwap 的帖子un Microsystems Inc. SunOS 5.7 Generic October 1998
You have new mail.
# Feb5 16:27:26 gzzymain last message repeated 1 time
Feb5 16:27:27 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd5):
Feb5 16:27:27 gzzymain Error for Command: load/start/stop Erro Level: Retryable
Feb5 16:27:27 gzzymain unix:Requested Block: 0 Erro Block: 0
Feb5 16:27:27 gzzymain unix:Vendor: IBM Seril Number: 00331BH935
Feb5 16:27:27 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:27 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:28 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:32 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd5):
Feb5 16:27:32 gzzymain Error for Command: load/start/stop Erro Level: Retryable
Feb5 16:27:32 gzzymain unix:Requested Block: 0 Erro Block: 0
Feb5 16:27:32 gzzymain unix:Vendor: IBM Seril Number: 00331BH935
Feb5 16:27:32 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:32 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:34 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:36 gzzymain last message repeated 1 time
Feb5 16:27:37 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:37 gzzymain Error for Command: load/start/stop Error Level: Retryable
Feb5 16:27:37 gzzymain unix:Requested Block: 0 Error Block: 0
Feb5 16:27:37 gzzymain unix:Vendor: IBM Serial Number: 00331BH935
Feb5 16:27:37 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:37 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:38 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:42 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:42 gzzymain Error for Command: load/start/stop Error Level: Retryable
Feb5 16:27:42 gzzymain unix:Requested Block: 0 Error Block: 0
Feb5 16:27:42 gzzymain unix:Vendor: IBM Serial Number: 00331BH935
Feb5 16:27:42 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:42 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:44 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:45 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:45 gzzymain offline
Feb5 16:27:46 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:47 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:47 gzzymain Error for Command: load/start/stop Error Level: Retryable
Feb5 16:27:47 gzzymain unix:Requested Block: 0 Error Block: 0
Feb5 16:27:47 gzzymain unix:Vendor: IBM Serial Number: 00331BH935
Feb5 16:27:47 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:47 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:48 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:52 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:52 gzzymain Error for Command: load/start/stop Error Level: Retryable
Feb5 16:27:52 gzzymain unix:Requested Block: 0 Error Block: 0
Feb5 16:27:52 gzzymain unix:Vendor: IBM Serial Number: 00331BH935
Feb5 16:27:52 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:52 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:54 gzzymain unix: SUNW,hme0: Link Down - cable problem?
主机启动时也报这个错import http://www.kingstarhpl.com的时候报的错误消息是什么?回复 3楼 风之幻想 的帖子# vxdg import sybasedg
vxvm:vxconfigd: ERROR: Disk group sybasedg: Errors in some configuration copies:
Disk c1t1d0s2, copy 1: Block 64: Duplicate record in configuration
Disk c3t1d0s2, copy 1: Block 64: Duplicate record in configuration
vxvm:vxdg: ERROR: Disk group sybasedg: import failed: Disk group has no valid configuration copiesvxdisk list 的结果如何呢?是DG的配置信息被破坏了.vxdisk list
磁盘状态是 online的
c1t1d0s2 online
c3t1d0s2 online磁盘应该是online的主要是看,还能不能看到DG的信息.这个消息是DG的配置数据被破坏了。DG的配置数据在磁盘的private region中一般就是磁盘的S3上.原帖由 amirwap 于 2006-2-5 16:59 发表
# vxdg import sybasedg
vxvm:vxconfigd: ERROR: Disk group sybasedg: Errors in some configuration copies:
Disk c1t1d0s2, copy 1: Block 64: Duplicate record in configuration
Disk c ...
首先请确认系统是否在CLUSTER环境?
出现这种状况之前对系统做了什么操作?
检查磁盘的VXVM私有分区信息是否可用(状态为enable表示可用)
# /etc/vx/diag.d/vxprivutil list /dev/rdsk/c1t1d0s3
# /etc/vx/diag.d/vxprivutil list /dev/rdsk/c3t1d0s3
将磁盘VXVM私有分区信息导出
# /etc/vx/diag.d/vxprivutil dumpconfig /dev/rdsk/c1t1d0s3 > /tmp/dc1
# /etc/vx/diag.d/vxprivutil dumpconfig /dev/rdsk/c3t1d0s3 > /tmp/dc2
检查VXVM配置信息是否正确
# cat /tmp/dc1 | vxprint -D - -ht
# cat /tmp/dc2 | vxprint -D - -ht
[ 本帖最后由 hjp1973 于 2006-2-6 10:36 编辑 ]系统原来有双机roseha,千百度女鞋出现这种情况之前没做操作.可能是断电引起的.#./vxprivutil scan /dev/rdsk/c1t1d0s3
diskid:1101599738.1079.gzzymain
group: name=sybasedg id=1020709136.1189.rootdg
flags: private noautoimport
hostid:
version: 2.1
iosize:512
public:slice=4 offset=0 len=428851200
private: slice=3 offset=1 len=12287
update:time: 1139195114seqno: 0.144
headers: 0 248
configs: count=1 len=9050
logs: count=1 len=1371
# ./vxprivutil scan /dev/rdsk/c3t1d0s3
diskid:1020709135.1186.rootdg
group: name=sybasedg id=1020709136.1189.rootdg
flags: private noautoimport
hostid:
version: 2.1
iosize:512
public:slice=4 offset=0 len=428851200
private: slice=3 offset=1 len=12287
update:time: 1139195114seqno: 0.1010
headers: 0 248
configs: count=1 len=9050
logs: count=1 len=1371
=====
# ./vxprivutil list /dev/rdsk/c1t1d0s3
diskid:1101599738.1079.gzzymain
group: name=sybasedg id=1020709136.1189.rootdg
flags: private noautoimport
hostid:
version: 2.1
iosize:512
public:slice=4 offset=0 len=428851200
private: slice=3 offset=1 len=12287
update:time: 1139195114seqno: 0.144
headers: 0 248
configs: count=1 len=9050
logs: count=1 len=1371
tocblks: 0
tocs: 2/12285
Defined regions:
config priv 000017-000247: copy=01 offset=000000 enabled
config priv 000249-009067: copy=01 offset=000231 enabled
log priv 009068-010438: copy=01 offset=000000 enabled
#./vxprivutil list /dev/rdsk/c3t1d0s3
diskid:1020709135.1186.rootdg
group: name=sybasedg id=1020709136.1189.rootdg
flags: private noautoimport
hostid:
version: 2.1
iosize:512
public:slice=4 offset=0 len=428851200
private: slice=3 offset=1 len=12287
update:time: 1139195114seqno: 0.1010
headers: 0 248
configs: count=1 len=9050
logs: count=1 len=1371
tocblks: 0
tocs: 2/12285
Defined regions:
config priv 000017-000247: copy=01 offset=000000 enabled
config priv 000249-009067: copy=01 offset=000231 enabled
log priv 009068-010438: copy=01 offset=00
关于SUBFILE的问题 0000 enabled
#
=====
2011年12月23日
卷起不来了,数据库down掉了,怎么办?卷起不来了
vxdg import sybasedg
导入不了
vxdg import otherdg
OK
怎么办...回复 1楼 amirwap 的帖子un Microsystems Inc. SunOS 5.7 Generic October 1998
You have new mail.
# Feb5 16:27:26 gzzymain last message repeated 1 time
Feb5 16:27:27 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd5):
Feb5 16:27:27 gzzymain Error for Command: load/start/stop Erro Level: Retryable
Feb5 16:27:27 gzzymain unix:Requested Block: 0 Erro Block: 0
Feb5 16:27:27 gzzymain unix:Vendor: IBM Seril Number: 00331BH935
Feb5 16:27:27 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:27 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:28 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:32 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd5):
Feb5 16:27:32 gzzymain Error for Command: load/start/stop Erro Level: Retryable
Feb5 16:27:32 gzzymain unix:Requested Block: 0 Erro Block: 0
Feb5 16:27:32 gzzymain unix:Vendor: IBM Seril Number: 00331BH935
Feb5 16:27:32 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:32 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:34 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:36 gzzymain last message repeated 1 time
Feb5 16:27:37 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:37 gzzymain Error for Command: load/start/stop Error Level: Retryable
Feb5 16:27:37 gzzymain unix:Requested Block: 0 Error Block: 0
Feb5 16:27:37 gzzymain unix:Vendor: IBM Serial Number: 00331BH935
Feb5 16:27:37 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:37 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:38 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:42 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:42 gzzymain Error for Command: load/start/stop Error Level: Retryable
Feb5 16:27:42 gzzymain unix:Requested Block: 0 Error Block: 0
Feb5 16:27:42 gzzymain unix:Vendor: IBM Serial Number: 00331BH935
Feb5 16:27:42 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:42 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:44 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:45 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:45 gzzymain offline
Feb5 16:27:46 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:47 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:47 gzzymain Error for Command: load/start/stop Error Level: Retryable
Feb5 16:27:47 gzzymain unix:Requested Block: 0 Error Block: 0
Feb5 16:27:47 gzzymain unix:Vendor: IBM Serial Number: 00331BH935
Feb5 16:27:47 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:47 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:48 gzzymain unix: SUNW,hme0: Link Down - cable problem?
Feb5 16:27:52 gzzymain unix: WARNING: /sbus@b,0/SUNW,fas@3,8800000/sd@b,0 (sd25):
Feb5 16:27:52 gzzymain Error for Command: load/start/stop Error Level: Retryable
Feb5 16:27:52 gzzymain unix:Requested Block: 0 Error Block: 0
Feb5 16:27:52 gzzymain unix:Vendor: IBM Serial Number: 00331BH935
Feb5 16:27:52 gzzymain unix:Sense Key: Not Ready
Feb5 16:27:52 gzzymain unix:ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
Feb5 16:27:54 gzzymain unix: SUNW,hme0: Link Down - cable problem?
主机启动时也报这个错import http://www.kingstarhpl.com的时候报的错误消息是什么?回复 3楼 风之幻想 的帖子# vxdg import sybasedg
vxvm:vxconfigd: ERROR: Disk group sybasedg: Errors in some configuration copies:
Disk c1t1d0s2, copy 1: Block 64: Duplicate record in configuration
Disk c3t1d0s2, copy 1: Block 64: Duplicate record in configuration
vxvm:vxdg: ERROR: Disk group sybasedg: import failed: Disk group has no valid configuration copiesvxdisk list 的结果如何呢?是DG的配置信息被破坏了.vxdisk list
磁盘状态是 online的
c1t1d0s2 online
c3t1d0s2 online磁盘应该是online的主要是看,还能不能看到DG的信息.这个消息是DG的配置数据被破坏了。DG的配置数据在磁盘的private region中一般就是磁盘的S3上.原帖由 amirwap 于 2006-2-5 16:59 发表
# vxdg import sybasedg
vxvm:vxconfigd: ERROR: Disk group sybasedg: Errors in some configuration copies:
Disk c1t1d0s2, copy 1: Block 64: Duplicate record in configuration
Disk c ...
首先请确认系统是否在CLUSTER环境?
出现这种状况之前对系统做了什么操作?
检查磁盘的VXVM私有分区信息是否可用(状态为enable表示可用)
# /etc/vx/diag.d/vxprivutil list /dev/rdsk/c1t1d0s3
# /etc/vx/diag.d/vxprivutil list /dev/rdsk/c3t1d0s3
将磁盘VXVM私有分区信息导出
# /etc/vx/diag.d/vxprivutil dumpconfig /dev/rdsk/c1t1d0s3 > /tmp/dc1
# /etc/vx/diag.d/vxprivutil dumpconfig /dev/rdsk/c3t1d0s3 > /tmp/dc2
检查VXVM配置信息是否正确
# cat /tmp/dc1 | vxprint -D - -ht
# cat /tmp/dc2 | vxprint -D - -ht
[ 本帖最后由 hjp1973 于 2006-2-6 10:36 编辑 ]系统原来有双机roseha,千百度女鞋出现这种情况之前没做操作.可能是断电引起的.#./vxprivutil scan /dev/rdsk/c1t1d0s3
diskid:1101599738.1079.gzzymain
group: name=sybasedg id=1020709136.1189.rootdg
flags: private noautoimport
hostid:
version: 2.1
iosize:512
public:slice=4 offset=0 len=428851200
private: slice=3 offset=1 len=12287
update:time: 1139195114seqno: 0.144
headers: 0 248
configs: count=1 len=9050
logs: count=1 len=1371
# ./vxprivutil scan /dev/rdsk/c3t1d0s3
diskid:1020709135.1186.rootdg
group: name=sybasedg id=1020709136.1189.rootdg
flags: private noautoimport
hostid:
version: 2.1
iosize:512
public:slice=4 offset=0 len=428851200
private: slice=3 offset=1 len=12287
update:time: 1139195114seqno: 0.1010
headers: 0 248
configs: count=1 len=9050
logs: count=1 len=1371
=====
# ./vxprivutil list /dev/rdsk/c1t1d0s3
diskid:1101599738.1079.gzzymain
group: name=sybasedg id=1020709136.1189.rootdg
flags: private noautoimport
hostid:
version: 2.1
iosize:512
public:slice=4 offset=0 len=428851200
private: slice=3 offset=1 len=12287
update:time: 1139195114seqno: 0.144
headers: 0 248
configs: count=1 len=9050
logs: count=1 len=1371
tocblks: 0
tocs: 2/12285
Defined regions:
config priv 000017-000247: copy=01 offset=000000 enabled
config priv 000249-009067: copy=01 offset=000231 enabled
log priv 009068-010438: copy=01 offset=000000 enabled
#./vxprivutil list /dev/rdsk/c3t1d0s3
diskid:1020709135.1186.rootdg
group: name=sybasedg id=1020709136.1189.rootdg
flags: private noautoimport
hostid:
version: 2.1
iosize:512
public:slice=4 offset=0 len=428851200
private: slice=3 offset=1 len=12287
update:time: 1139195114seqno: 0.1010
headers: 0 248
configs: count=1 len=9050
logs: count=1 len=1371
tocblks: 0
tocs: 2/12285
Defined regions:
config priv 000017-000247: copy=01 offset=000000 enabled
config priv 000249-009067: copy=01 offset=000231 enabled
log priv 009068-010438: copy=01 offset=00
关于SUBFILE的问题 0000 enabled
#
=====