()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 05-12-12 19:59
disksuite mirror .....
 ۾ :
ȸ : 7,076  
ýۿ Ǿ ִ mirroring ϴ Դϴ.

(test>root)/# more /etc/lvm/md.cf  --- matedb Ȯ....
# Ÿ ġ
#
d50 -m d51 d52 1
d51 1 1 c0t1d0s7
d52 1 1 c0t3d0s7
d40 -m d41 d42 1
d41 1 1 c0t1d0s5
d42 1 1 c0t3d0s5
d30 -m d31 d32 1
d31 1 1 c0t0d0s7
d32 1 1 c0t2d0s7
d20 -m d21 d22 1
d21 1 1 c0t0d0s1
d22 1 1 c0t2d0s1
d10 -m d11 1
d11 1 1 c0t0d0s0
d12 1 1 c0t2d0s0
(test>root)/# metadetach d10 d12 --- ȭ Ǿ ִ ũ и.....
d10: submirror d12() и
(test>root)/# metadetach d20 d22
d20: submirror d22() и
(test>root)/# metadetach d30 d32
d30: submirror d32() и
(test>root)/# metadetach d40 d42
d40: submirror d42() и
(test>root)/# metaderach d50 d52
metaderach: ɾ
(test>root)/# metadetach d50 d52
d50: submirror d52() и

metadetach submirror δ и մϴ. md.cf Ͽ
̷ ¦ Դϴ.

(test>root)/# vi /etc/vfstab , vi /etc/system .....

(test>root)/# vi /etc/vfstab
"/etc/vfstab" 20 , 834
#device        device          mount          FS      fsck    mount  mount
#to mount      to fsck        point          type    pass    at boot options
#
fd      -      /dev/fd fd      -      no      -
/proc  -      /proc  proc    -      no      -
/dev/dsk/c0t0d0s1      -      -      swap    -      no      -
#/dev/md/dsk/d10        /dev/md/rdsk/d10        /      ufs    1      no      -
/dev/dsk/c0t0d0s0      /dev/rdsk/c0t0d0s0      /      ufs    1      no      -
#/dev/md/dsk/d20        -      -      swap    -      no      -
#/dev/dsk/c0t0d0s5      /dev/rdsk/c0t0d0s5      /data  ufs    2      yes    -
#/dev/dsk/c0t0d0s6      /dev/rdsk/c0t0d0s6      /data1  ufs    2      yes    -
#/dev/dsk/c0t0d0s7      /dev/rdsk/c0t0d0s7      /data2  ufs    2      yes    -
#/dev/md/dsk/d30        /dev/md/rdsk/d30        /data  ufs    2      yes    -
#/dev/md/dsk/d40        /dev/md/rdsk/d40        /data1  ufs    2      yes    -
#/dev/md/dsk/d50        /dev/md/rdsk/d50        /data2  ufs    2      yes    -
#/dev/dsk/c0t0d0s7      /dev/rdsk/c0t0d0s7      /export/home    ufs    2      yes    -
/devices        -      /devices        devfs  -      no      -
ctfs    -      /system/contract        ctfs    -      no      -
objfs  -      /system/object  objfs  -      no      -
swap    -      /tmp    tmpfs  -      yes    -
wq!

(test>root)/# vi /etc/system
*      To set a variable named 'debug' in the module named 'test_module'
*
*              set test_module:debug = 0x13

* Begin MDD root info (do not edit)
#rootdev:/pseudo/md@0:0,10,blk
* End MDD root info (do not edit)
wq!

̷ иѴ /etc ؿ ִ system vfstab մϴ.
࿡ ʾ 쿡 system Ͽ
disksuite ּ óϰ, vfstab θ մϴ.

(test>root)/#reboot -- -r

(test>root)/# metaclear -f -r d10    ----- ̽ .....
d10: Concat/Ʈ
(test>root)/# metaclear -f -r d20
d20: Concat/Ʈ
(test>root)/# metaclear -f -r d30
d30: Concat/Ʈ
(test>root)/# metaclear -f -r d40
d40: Concat/Ʈ
(test>root)/# metaclear -f -r d50
d50: Concat/Ʈ
(test>root)/# metaclear -f -r d52
d52: Concat/Ʈ
(test>root)/# metaclear -f -r d42
d42: Concat/Ʈ
(test>root)/# metaclear -f -r d32
d32: Concat/Ʈ
(test>root)/# metaclear -f -r d22
d22: Concat/Ʈ
(test>root)/# metaclear -f -r d12
d12: Concat/Ʈ
(test>root)/# metadb
        flags          first blk      block count
    a m  pc luo        16              8192            /dev/dsk/c0t0d0s6
    a    pc luo        16              8192            /dev/dsk/c0t1d0s6
    a    pc luo        16              8192            /dev/dsk/c0t2d0s6
    a    pc luo        16              8192            /dev/dsk/c0t3d0s6
(test>root)/# metadb -d -f /dev/dsk/c0t0d0s6  ---- metadb .....
(test>root)/# metadb -d -f /dev/dsk/c0t1d0s6
(test>root)/# metadb -d -f /dev/dsk/c0t2d0s6
(test>root)/# metadb -d -f /dev/dsk/c0t3d0s6
(test>root)/# metadb
(test>root)/# metastat
(test>root)/# metadb

 
 

Total 185
ȣ     ۾ ¥ ȸ
35 warning: forceload of [misc/md_trans/md_hotspares]
2006/01/12 8857
34 vi ⸦ ̿ Ͱ ð....
2005/12/26 10089
33 sendmail daemon ϱ (ȡ
2005/12/21 11619
32 save core file
2005/12/21 5441
31 ֶ󸮽 ġ ڵ
2005/12/21 6312
30 ϵ ũ Ʈ ũ
2005/12/14 8587
29 ֶ󸮽 7 , 8 , 9 , 10
2005/12/13 7674
28 ý ũ ( ũ ) ....^^
2005/12/13 8618
27 disksuite mirror .....
2005/12/12 7077
26 fsck SuperBlock
2005/12/12 12047
25 disksuite mirror fail ũ ü...
2005/12/12 8221
24 disksuite mirror .....
2005/12/12 7438
23 rsync .....
2005/12/12 7994
22 ֶ󸮽 ũ ̸
2005/12/12 6319
21 root passwd ؾ Ծ login Ҽ .....
2005/12/06 5540
   11  12  13  
 
 
 
Administrator Login