清透水瓶 回复于:2004-11-01 16:27:37 |
1. Snapshot for E3500 c0t0d0 and c2t4d0 as example
1.1 c0t0d0s0 and c2t4d0s0 ( / root partition , non-soft partition) | | d100 ----------- d101 | d20 1.2. c0t0d0s1 and c2t4d0s1 ( swap partition , non-soft partition ) | | d102 ----------- d103 | d21 1.3. c0t0d0s3 and c2t4d0s3 ( soft partition ) | ---------|-----------| |----------|-----------| d150 d152 d184 d151 d153 d185 ( d104) ( d106 ) ( d222) ( d105) (d107) ( d223 ) | || ||| | || ||| |-----------||----------|||---------------- | || ||| d22 || ---------|||--------------------------|| ||| ( /home ) d23 |||-------------------------------------||| ( /solbak) d61 ( /dev/omc_db_temp ) 2. How to setup disksuite with soft partition Here , as E3500 c0d0t0 and c2t4d0 example , details how disksuite is setup in OMCR system. 2.1 c0t0d0s0 and c2t4d0s0 ( / root partition, non-soft partition ) Command line procedure to setup c0t0d0s0 / c2t4d0s0 disksuite . metainit d100 1 1 /dev/dsk/c0t0d0s0 metainit d101 1 1 /dev/dsk/c2t4d0s0 metainit d20 -m d100 metattach d20 d101 metaroot /dev/md/dsk/d20 Metastat output for d20 . # metastat d20 d20: Mirror Submirror 0: d100 State: Okay Submirror 1: d101 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 4506705 blocks d100: Submirror of d20 State: Okay Size: 4506705 blocks Stripe 0: Device Start Block Dbase State Hot Spare c0t0d0s0 0 No Okay d101: Submirror of d20 State: Okay Size: 4506705 blocks Stripe 0: Device Start Block Dbase State Hot Spare c2t4d0s0 0 No Okay 2.2 c0t0d0s1 and c2t4d0s1 ( swap partition, non-soft partition ) Command line procedure to setup c0t0d0s1 / c2t4d0s1 disksuite . metainit d102 1 1 /dev/dsk/c0t0d0s1 metainit d103 1 1 /dev/dsk/c2t4d0s1 metainit d21 –m d102 metattach d21 d103 Metastat output for d21. # metastat d21 d21: Mirror Submirror 0: d102 State: Okay Submirror 0: d103 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 2459835 blocks d102: Submirror of d21 State: Okay Size: 2459835 blocks Stripe 0: Device Start Block Dbase State Hot Spare c0t0d0s1 0 No Okay d103: Submirror of d21 State: Okay Size: 2459835 blocks Stripe 0: Device Start Block Dbase State Hot Spare c2t4d0s1 0 No Okay 2.3 c0t0d0s3 and c2t4d0s3 ( soft partition ) Command line procedure to setup c0t0d0s3 / c2t4d0s3 disksuite . metainit d150 -p c0t0d0s3 -o 1 -b 2100735 metainit d152 -p c0t0d0s3 -o 2100737 -b 4197879 metainit d184 -p c0t0d0s3 -o 6298617 -b 4197879 metainit d104 1 1 d150 metainit d106 1 1 d152 metainit d 222 1 1 d184 metainit d151 –p c2t4d0s3 –o 1 –b 2100735 metainit d153 –p c2t4d0s3 -o 2100737 –b 4197879 metainit d185 –p c2t4d0s3 -o 6298617 -b 4197879 metainit d105 1 1 d151 metainit d107 1 1 d153 metainit d223 1 1 d185 metainit d22 –m d104 metattach d22 d105 metainit d23 –m d106 metattach d23 d107 metainit d61 –m d222 metattach d61 d223 Metastat output for d22. d22: Mirror Submirror 0: d104 State: Okay Submirror 0: d105 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 2100735 blocks d104: Submirror of d22 State: Okay Size: 2100735 blocks Stripe 0: Device Start Block Dbase State Hot Spare d150 0 No Okay d150: Soft Partition Component: c0t0d0s3 State: Okay Size: 2100735 blocks Extent Start Block Block count 0 1 2100735 d105: Submirror of d22 State: Okay Size: 2100735 blocks Stripe 0: Device Start Block Dbase State Hot Spare d151 0 No Okay d151: Soft Partition Component: c2t4d0s3 State: Okay Size: 2100735 blocks Extent Start Block Block count 0 1 2100735 Metastat output for d23. # metastat d23 d23: Mirror Submirror 0: d106 State: Okay Submirror 0: d107 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 4197879 blocks d106: Submirror of d23 State: Okay Size: 4197879 blocks Stripe 0: Device Start Block Dbase State Hot Spare d152 0 No Okay d152: Soft Partition Component: c0t0d0s3 State: Okay Size: 4197879 blocks Extent Start Block Block count 0 2100737 4197879 d107: Submirror of d23 State: Okay Size: 4197879 blocks Stripe 0: Device Start Block Dbase State Hot Spare d153 0 No Okay d153: Soft Partition Component: c2t4d0s3 State: Okay Size: 4197879 blocks Extent Start Block Block count 0 2100737 4197879 Metastat output for d61. # metastat d61 d61: Mirror Submirror 0: d222 State: Okay Submirror 0: d223 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 4197879 blocks d222: Submirror of d61 State: Okay Size: 4197879 blocks Stripe 0: Device Start Block Dbase State Hot Spare d184 0 No Okay d184: Soft Partition Component: c0t0d0s3 State: Okay Size: 4197879 blocks Extent Start Block Block count 0 6298617 4197879 d223: Submirror of d61 State: Okay Size: 4197879 blocks Stripe 0: Device Start Block Dbase State Hot Spare d185 0 No Okay d185: Soft Partition Component: c2t4d0s3 State: Okay Size: 4197879 blocks Extent Start Block Block count 0 6298617 4197879 Disksuite Commands Summary metaclear Clears active metadevices metadb Creates and deletes replics of the metadevice state database metainit Configures metadevices metaroot Sets up system files for root metadevices metastat Prints status information for metadevice metattach Attaches a metadevice to a metamirror metadetach Detaches a metadevice from a metamirror metareplace Replaces components of submirror metasync Handles mirror resync during reboot |
metor78 回复于:2004-11-01 16:29:03 |
想给你加精华的,但是写关于这个太多了,不好意思 |
ywsun 回复于:2004-11-01 16:30:26 |
metaset 捏? |
清透水瓶 回复于:2004-11-01 16:32:50 |
[quote:baf8e0e158="metor78"]想给你加精华的,但是写关于这个太多了,不好意思[/quote:baf8e0e158]
没事的,我看过以前的一些帖子,觉得都是例子没有概念所以就补充一下 :em02: :em02: 最主要的是说明一下soft partition是干什么用的,给mazu看的 :em18: |
我爱臭豆腐 回复于:2004-11-01 20:36:54 |
这个是raid0吧? |
清透水瓶 回复于:2004-11-02 12:19:59 |
[quote:d9e4e9073d="我爱臭豆腐"]这个是raid0吧?[/quote:d9e4e9073d]
答对了,加10分 :em04: |
木刀客 回复于:2004-11-02 12:37:46 |
请问楼主:
soft partition技术 ----是sun的东东吗?还是第三方的东东? 在solaris 几中有(或者在几中可用) 3k u |
清透水瓶 回复于:2004-11-02 13:07:40 |
[quote:d4ce024a93="木刀客"]请问楼主:
soft partition技术 ----是sun的东东吗?还是第三方的东东? 在solaris 几中有(或者在几中可用) 3k u[/quote:d4ce024a93] 是sun的,在solaris 8中开始出现的 |
bear 回复于:2004-11-02 13:35:19 |
sp技术是sun 在solaris 8中disk suite 4.2.1的技术,不是操作系统的基本功能,在solaris 9中集成了svm了,一样的东西,算是操作系统的基本功能吧。
区别:sp在solaris 8中用metatool图形界面时没法使用,用命令行可以,smc我在solaris 8中没用过,solaris 9中没有metatool了,用SMC和命令行都行。 |
清透水瓶 回复于:2004-11-02 14:35:05 |
[quote:29801690ce="bear"]sp技术是sun 在solaris 8中disk suite 4.2.1的技术,不是操作系统的基本功能,在solaris 9中集成了svm了,一样的东西,算是操作系统的基本功能吧。
区别:sp在solaris 8中用metatool图形界面时没法使用,用命令行可?.........[/quote:29801690ce] 学习中…… |
我爱臭豆腐 回复于:2004-11-07 20:07:12 |
[quote:c52540f96a="清透水瓶"]
答对了,加10分 :em04:[/quote:c52540f96a] :roll: 还是把分换成钱吧要不然你来这边的时候请我吃饭吧 :m01: |
mmmmn 回复于:2004-11-08 00:29:06 |
软分区技术???
汗ing 为什么要自己创个词,而不用人家原来的叫法? SVM Solaris Volume Manage 卷管理技术???? |
roman_pan 回复于:2004-11-08 01:29:29 |
还是进来学习吧 |
我爱臭豆腐 回复于:2004-11-08 08:09:13 |
[quote:54b4954e46="mmmmn"]软分区技术???
汗ing 为什么要自己创个词,而不用人家原来的叫法? SVM Solaris Volume Manage 卷管理技术????[/quote:54b4954e46] 她的这个东西我看了半天才明白过来。 :em06: 所以我才问是否是raid0啊。 |
unixgood 回复于:2004-11-09 09:52:02 |
请教楼主,关于你的所说的文档中的一条类似命令#metainit d6 4 1 c0t1d0s0 1 c0t2d0s0 1 c0t3d0s0 1 /dev/dsk/c0t4d0s0,其中的d6可以自己随便定义吗?比如说定义为CD1;另外就是我在我的计算机上的/dev/md/dsk目录下,所看到的只有d0到d127,怎么样才能增加这个目录下的文件呢?
谢谢! |
metor78 回复于:2004-11-09 10:02:46 |
[quote:e657bc3668="unixgood"]请教楼主,关于你的所说的文档中的一条类似命令#metainit d6 4 1 c0t1d0s0 1 c0t2d0s0 1 c0t3d0s0 1 /dev/dsk/c0t4d0s0,其中的d6可以自己随便定义吗?比如说定义为CD1;另外就是我在我的计算机上的/dev/md/dsk目录下..........[/quote:e657bc3668]
1、可以自定义,但是必须是dx,不能是cdx 2、你的文件夹下面只有那些只能说很多你还没有用到而已,按顺序排列也是一个很好的管理办法 |
cash0107 回复于:2004-11-09 10:30:45 |
其实这个是否就是分区的列阵呢? |
metor78 回复于:2004-11-09 10:39:58 |
应该说叫虚拟的硬盘卷 |
frank2988 回复于:2004-11-09 12:52:06 |
在Veritas VM中呢 |
unixgood 回复于:2004-11-09 16:49:27 |
[quote:be3785bcd3="metor78"]
1、可以自定义,但是必须是dx,不能是cdx 2、你的文件夹下面只有那些只能说很多你还没有用到而已,按顺序排列也是一个很好的管理办法[/quote:be3785bcd3] 看来我还没有表达明白,我想问的。我是想问,现在在我的计算机/dev/md/dsk/目录下,只有d0到d127。而我现在想增加这个目录下的文件数,例如,d128,。。。d255,。。。d300等。请问有没有办法呢? |
mmmmn 回复于:2004-11-10 00:15:25 |
[quote:ac1925834e="unixgood"]
看来我还没有表达明白,我想问的。我是想问,现在在我的计算机/dev/md/dsk/目录下,只有d0到d127。而我现在想增加这个目录下的文件数,例如,d128,。。。d255,。。。d300等。请问有没有办法呢?[/quote:ac1925834e] 没问题,该个文件就OK了 馒头拿手 |
metor78 回复于:2004-11-10 09:12:43 |
[quote:dc5cad4c0c="lisuit"]modify /kernel/drv/md.conf[/quote:dc5cad4c0c] |
sexybabe 回复于:2004-12-13 14:14:59 |
02年的时候用过这个,快忘记了。 |