版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、云南遠程 v250 做 raid1 鏡像一、內(nèi)容介紹V250 單機對系統(tǒng)盤和數(shù)據(jù)盤做鏡像冗余,原來做了有四張盤,0 號為系統(tǒng)盤, 1 4 5 為數(shù)據(jù)盤, 并做了條帶為 /dev/md/dsk/d20, 要添加四塊盤, 一塊做系統(tǒng)盤鏡像, 另外三塊做卷 d20 的鏡像 d30。 8 盤磁盤名稱:AVAILABLE DISK SELECTIONS:0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci1d,700000/scsi4/sd0,01. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec
2、424> /pci1d,700000/scsi4/sd1,02. c0t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci1d,700000/scsi4/sd2,03. c0t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci1d,700000/scsi4/sd3,04. c0t8d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci1d,700000/scsi4/sd8,05. c0t9d0 <SUN72G cyl 14
3、087 alt 2 hd 24 sec 424> /pci1d,700000/scsi4/sd9,06. c0t10d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci1d,700000/scsi4/sda,07. c0t11d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci1d,700000/scsi4/sdb,0卷 d20d20: Submirror of d2State: OkaySize: 425835072 blocks (203 GB)Stripe 0: (interla
4、ce: 32 blocks)DeviceStart BlockDbaseState Reloc Hot Sparec0t1d0s60NoOkayYesc0t8d0s60NoOkayYesc0t9d0s60NoOkayYes# metadbflagsfirst blkblock counta mpluo168192/dev/dsk/c0t1d0s7apluo82088192/dev/dsk/c0t1d0s7apluo164008192/dev/dsk/c0t1d0s7apluo168192/dev/dsk/c0t8d0s7apluo82088192/dev/dsk/c0t8d0s7apluo16
5、4008192/dev/dsk/c0t8d0s7apluo168192/dev/dsk/c0t9d0s7apluo82088192/dev/dsk/c0t9d0s7apluo164008192/dev/dsk/c0t9d0s7二、備份分區(qū)表cp /etc/vfstab /etc/vfstab.bak三、將系統(tǒng)盤分區(qū)信息復(fù)制到2 號盤,將1 號盤分區(qū)信息復(fù)制到3 6 7 號盤 ,做 metadb# prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t2d0s2# prtvtoc /dev/rdsk/c0t1d0s2 | fmthard -
6、s - /dev/rdsk/c0t3d0s2# prtvtoc /dev/rdsk/c0t1d0s2 | fmthard -s - /dev/rdsk/c0t10d0s2# prtvtoc /dev/rdsk/c0t1d0s2 | fmthard -s - /dev/rdsk/c0t11d0s2# metadb a f c 3 c0t3d0s7 c0t10d0s7 c0t11d0s7四、對數(shù)據(jù)盤做鏡像,并做子鏡像卷# metainit -f d2 m d20 d2: Mirror is setup# metainit -f d30 1 3 c0t3d0s7 c0t10d0s7 c0t11d0s
7、7 d30: Concat/Stripe is setup# metattach d2 d30# metastatd2: MirrorSubmirror 0: d20State:0%Submirror 1: d30State: Needs maintenancePass: 1Read option: roundrobin (default)Write option: parallel (default)Size: 425835072 blocks (203 GB)d20: Submirror of d2State: okaySize: 425835072 blocks (203 GB)Stri
8、pe 0: (interlace: 32 blocks)DeviceStart BlockDbaseState Reloc Hot Sparec0t1d0s60NoOkayYesc0t8d0s60NoOkayYesc0t9d0s60NoOkayYesd30: Submirror of d2State: Needs maintenanceInvoke: metasync d2Size: 425835072 blocks (203 GB)Stripe 0: (interlace: 32 blocks)DeviceStart BlockDbaseState Reloc Hot Sparec0t3d0
9、s60NoOkayYesc0t10d0s60NoOkayYesc0t11d0s60NoOkayYes五、對系統(tǒng)盤做鏡像# metainit -f d40 1 1 c0t2d0s0 Concat/Stripe is setup# metainit -f d41 1 1 c0t2d0s1 Concat/Stripe is setup# metainit -f d47 1 1 c0t2d0s7 Concat/Stripe is setup# metainit -f d50 1 1 c0t2d0s0 Concat/Stripe is setup# metainit -f d51 1 1 c0t2d0s
10、1 Concat/Stripe is setup# metainit -f d57 1 1 c0t2d0s7 Concat/Stripe is setup# Metainit f d0 m d40# Metainit f d1 m d41# Metainit f d7 m d47# metaroot d0# vi/etc/vfstab 改為./dev/md/dsk/d1-swap-no-/dev/md/dsk/d0/dev/md/rdsk/d0/ufs1no-/dev/md/dsk/d7/dev/md/rdsk/d7/usrufs1no-/dev/md/dsk/d2/dev/md/rdsk/d
11、2/oracleufs-yes-# lockfs fa# Init 6六、追加子鏡像# metattach d0 d50# metattach d1 d51# metattach d7 d57生成可自動切換的能啟動鏡像磁盤installboot /usr/platform/'uname -i'/lib/fs/ufs/bootblk /dev/rdsk/c1t4d0s0等待鏡像同步完成查看狀態(tài)# metastat d7: MirrorSubmirror 0: d47State: OkaySubmirror 1: d57State: Okay Pass: 1Read option:
12、 roundrobin (default)Write option: parallel (default)Size: 20484288 blocks (9.8 GB)d47: Submirror of d7State: OkaySize: 20484288 blocks (9.8 GB)Stripe 0:DeviceStart BlockDbaseState Reloc Hot Sparec0t0d0s70NoOkayYesd57: Submirror of d7State: OkaySize: 20484288 blocks (9.8 GB)Stripe 0:DeviceStart Bloc
13、kDbaseState Reloc Hot Sparec0t2d0s70NoOkayYesd1: MirrorSubmirror 0: d41State: OkaySubmirror 1: d51State: OkayPass: 1Read option: roundrobin (default)Write option: parallel (default)Size: 12292608 blocks (5.9 GB)d41: Submirror of d1State: OkaySize: 12292608 blocks (5.9 GB)Stripe 0:Devicec0t0d0s1Start
14、 Block 0DbaseNoState Reloc Hot SpareOkayYesd51: Submirror of d1State: OkaySize: 12292608 blocks (5.9 GB)Stripe 0:Devicec0t2d0s1Start Block 0DbaseNoState Reloc Hot SpareOkayYesd0: MirrorSubmirror 0: d40State: OkaySubmirror 1: d50State: OkayPass: 1Read option: roundrobin (default)Write option: paralle
15、l (default)Size: 110572416 blocks (52 GB)d40: Submirror of d0State: OkaySize: 110572416 blocks (52 GB)Stripe 0:DeviceStart BlockDbaseState Reloc Hot Sparec0t0d0s00NoOkayYesd50: Submirror of d0State: OkaySize: 110572416 blocks (52 GB)Stripe 0:DeviceStart BlockDbaseState Reloc Hot Sparec0t2d0s00NoOkay
16、Yesd2: MirrorSubmirror 0: d20State: OkaySubmirror 1: d30State: OkayPass: 1Read option: roundrobin (default)Write option: parallel (default)Size: 425835072 blocks (203 GB)d20: Submirror of d2State: OkaySize: 425835072 blocks (203 GB)Stripe 0: (interlace: 32 blocks)DeviceStart BlockDbasec0t1d0s60Noc0t
17、8d0s60Noc0t9d0s60NoState Reloc Hot SpareOkayYesOkayYesOkayYesd30: Submirror of d2State: OkaySize: 425835072 blocks (203 GB)Stripe 0: (interlace: 32 blocks)DeviceStart Blockc0t3d0s60c0t10d0s60c0t11d0s60DbaseNoNoNoState Reloc Hot SpareOkayYesOkayYesOkayYes六、對更換磁盤做維護假如 c0t0d0 壞掉,停機,取出壞磁盤。在 ok 下用鏡像的盤啟動到單用戶模式下:boot disk2 s*2 號盤為系統(tǒng)鏡像盤系統(tǒng)啟動后插入新磁盤(format 格式化)執(zhí)行:metadb -d c0t0d0s7 * 刪除 metadbprtvtoc /dev/rdsk/c0t2d0
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024城市基礎(chǔ)設(shè)施建設(shè)項目特許經(jīng)營權(quán)協(xié)議
- 2024年幼兒園教師崗位聘任協(xié)議書模板
- 2024專業(yè)建設(shè)工程項目設(shè)計合同范本專業(yè)版
- 2024家庭保姆雇傭合同樣本
- 2024年先進制造業(yè)生產(chǎn)線自動化改造合同
- 2024年度家電行業(yè)C型鋼部件加工合同
- 2024年廢紙回收海運出口協(xié)議
- 2024年商場清潔服務(wù)合同
- 2024年建筑工程設(shè)計與施工一體化合同
- 2024年度智能硬件設(shè)備采購與安裝合同
- 醫(yī)院感染管理培訓(xùn)課件消毒劑的選擇與使用
- 平臺分銷返傭合作協(xié)議
- 中國城市行政代碼
- 低纖維蛋白原血癥的護理查房
- 數(shù)學4教材介紹
- 全國大學生職業(yè)生涯規(guī)劃大賽
- 肩關(guān)節(jié)鏡術(shù)的健康宣教
- 關(guān)于學校安全保衛(wèi)工作存在的問題及對策
- 2024年廣西鋁業(yè)集團有限公司招聘筆試參考題庫附帶答案詳解
- 2024年西藏開發(fā)投資集團有限公司招聘筆試參考題庫含答案解析
- 愛校主題班會課件
評論
0/150
提交評論