solaris
映象maintenance
mirror
歡迎來到來到大浪濤天的部落格!
檢視映象發現有映象塊需要被維護
root@webserver # metastat
d20: mirror
submirror 0: d21
state: okay
submirror 1: d22
state: needs maintenance
resync in progress: 0 % done
pass: 1
read option: roundrobin (default)
write option: parallel (default)
size: 277764096 blocks
對需要維護的映象做重新同步操作
#metareplace -e d20 c0t0d0s0
檢視mirror狀態,看到同步過程resyncing。
root@webserver # metastat
d20: mirror
submirror 0: d21
state: resyncing
submirror 1: d22
state: needs maintenance
resync in progress: 0 % done
pass: 1
read option: roundrobin (default)
write option: parallel (default)
size: 277764096 blocks
d21: submirror of d20
state: resyncing
size: 277764096 blocks
stripe 0:
device start block dbase state hot spare
c0t0d0s0 0 no resyncing
d22: submirror of d20
state: needs maintenance
size: 277764096 blocks
stripe 0:
device start block dbase state hot spare
c0t1d0s0 0 no last erred
等d21完成後,再同步d22。時間很長,每步要等4-5小時。
#metareplace -e d20 c0t1d0s0
最後執行metastat檢視狀態正常
root@webserver # metastat
d20: mirror
submirror 0: d21
state: okay
submirror 1: d22
state: okay
pass: 1
read option: roundrobin (default)
write option: parallel (default)
size: 277764096 blocks
d21: submirror of d20
state: okay
size: 277764096 blocks
stripe 0:
device start block dbase state hot spare
c0t0d0s0 0 no okay
Solaris 10的執行級別
solaris如何改變系統執行級別 init 系統執行級別有8種,分別為 執行級別 意義 0 進入prom狀態 ok狀態 1 管理狀態 所有檔案系統都掛上的單使用者模式,禁止其他使用者登入 2 多使用者模式 沒有網路檔案共享服務 3 多使用者模式 有網路檔案共享服務 4 未使用 5 退出作業系統並關...
solaris10下解除安裝oracle
1.使用sql plus停止資料庫 oracle oracletest oracle sqlplus nolog sql connect as sysdba sql shutdown immediate sql exit 2.停止listener oracle oracletest oracle l...
Solaris 10解除安裝軟體命令
solaris 10解除安裝軟體命令 安裝solaris 10 後,缺省會安裝很多用不到的軟體,而只想保留開發環境。www.2cto.com 以解除安裝pidgin為例,在啟動選單的pidgin啟動項郵件屬性面板中,看到命令為pidgin。需要先定位程式所在位置 which pidgin usr b...