例如找出 Tape 未連接裝置
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================
tape 1 0/4/1/0/4/0.2.0 stape NO_HW DEVICE IBM DDS Gen5
/dev/rmt/1m /dev/rmt/1mn /dev/rmt/c2t2d0BEST /dev/rmt/c2t2d0BESTn
/dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c2t2d0BESTb /dev/rmt/c2t2d0BESTnb
tape 0 0/4/1/0/4/1.0.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c3t0d0BESTn /dev/rmt/c3t0d0DDSb
/dev/rmt/0mb /dev/rmt/c3t0d0BEST /dev/rmt/c3t0d0BESTnb /dev/rmt/c3t0d0DDSn
/dev/rmt/0mn /dev/rmt/c3t0d0BESTb /dev/rmt/c3t0d0DDS /dev/rmt/c3t0d0DDSnb
找出顯示 NO_HW 的 H/W Path,再使用 rmsf 指令刪除
# rmsf -H 0/4/1/0/4/0.2.0
或是直接執行以下指令:
# ioscan -nfC tape|grep NO_HW|awk '{print $3}'|xargs -i -t rmsf -H {}
或是重新 reboot 也可以
最後再重新搜尋一次
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================
tape 0 0/4/1/0/4/1.0.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c3t0d0BESTn /dev/rmt/c3t0d0DDSb
/dev/rmt/0mb /dev/rmt/c3t0d0BEST /dev/rmt/c3t0d0BESTnb /dev/rmt/c3t0d0DDSn
/dev/rmt/0mn /dev/rmt/c3t0d0BESTb /dev/rmt/c3t0d0DDS /dev/rmt/c3t0d0DDSnb
2015年5月22日 星期五
2015年1月4日 星期日
Oracle ERP Daily Check
-- DB
invalid object
blocking lock
unusable index
enable but invalid trigger
top 5 event
long running session
session count
tablespace free status
tablespace space compare with the previous day
segment space compare with the previous day
-- AP
concurrent program enable run alone
concurrent program enable trace
diable User Has Pending concurrent request
concurrent request running but completed
concurrent request running
concurrent manager queue status
invalid object
blocking lock
unusable index
enable but invalid trigger
top 5 event
long running session
session count
tablespace free status
tablespace space compare with the previous day
segment space compare with the previous day
-- AP
concurrent program enable run alone
concurrent program enable trace
diable User Has Pending concurrent request
concurrent request running but completed
concurrent request running
concurrent manager queue status
訂閱:
文章 (Atom)