RAID数据恢复,Data Recovery

专业从事各种存储介质数据恢复服务的公司

数据恢复经验丰富 , 技术实力雄厚

为你的数据提供专业,安全,快捷,可靠的保障

当前位置:首页 >> RAID技术专题 >> 文章内容
单硬盘模拟各种RAID的做法 SunOS 5.8

单硬盘模拟各种raid的做法

SunOS 5.8
login: root
Password: 
Last login: Fri Apr  1 17:25:16 from 192.168.1.10
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   February 2004
# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <ST315320A cyl 29649 alt 2 hd 16 sec 63>  ST
          /pci@1f,0/ide@d/dad@0,0
Specify disk (enter its number): 
创建metadb数据库
# metadb -afc 3 c0t0d0s7
# bash
创建串联
bash-2.03# metainit d10 3 1 c0t0d0s4 1 c0t0d0s5 1 c0t0d0s6
d10: Concat/Stripe is setup
bash-2.03# metastat
d10: Concat/Stripe
    Size: 5654400 blocks
    Stripe 0:
        Device              Start Block  Dbase
        c0t0d0s4                   0     No   
    Stripe 1:
        Device              Start Block  Dbase
        c0t0d0s5                   0     No   
    Stripe 2:
        Device              Start Block  Dbase
        c0t0d0s6                   0     No   
bash-2.03# metadb  
        flags           first blk       block count
     a        u         16              1034            /dev/dsk/c0t0d0s7
     a        u         1050            1034            /dev/dsk/c0t0d0s7
     a        u         2084            1034            /dev/dsk/c0t0d0s7

bash-2.03# metaclear -a   
d10: Concat/Stripe is cleared
bash-2.03# metastat
创建条带
bash-2.03# metainit d10 1 3 c0t0d0s4 c0t0d0s5 c0t0d0s6
d10: Concat/Stripe is setup
bash-2.03# metastat
d10: Concat/Stripe
    Size: 5654400 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t0d0s4                   0     No   
        c0t0d0s5                   0     No   
        c0t0d0s6                   0     No   
bash-2.03# metaclear -a
d10: Concat/Stripe is cleared
做Mirror
bash-2.03# metainit d2 1 1 c0t0d0s4
d2: Concat/Stripe is setup
bash-2.03# metainit d3 1 1 c0t0d0s5
d3: Concat/Stripe is setup
bash-2.03# metainit d1 -m d2
d1: Mirror is setup
bash-2.03# metattach d1 d3
d1: submirror d3 is attached
bash-2.03# metastat
d1: Mirror
    Submirror 0: d2
      State: Okay         
    Submirror 1: d3
      State: Resyncing    
    Resync in progress: 0 % done
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 1884800 blocks
d2: Submirror of d1
    State: Okay         
    Size: 1884800 blocks
    Stripe 0:
        Device              Start Block  Dbase State        Hot Spare
        c0t0d0s4                   0     No    Okay         

d3: Submirror of d1
    State: Resyncing    
    Size: 1884800 blocks
    Stripe 0:
        Device              Start Block  Dbase State        Hot Spare
        c0t0d0s5                   0     No    Okay         
bash-2.03# metadetach d1 d3
d1: submirror d3 is detached
bash-2.03# metaclear -a
d1: Mirror is cleared
d2: Concat/Stripe is cleared
d3: Concat/Stripe is cleared
bash-2.03# metastat
做RAID5
bash-2.03# metainit d10 -r c0t0d0s4 c0t0d0s5 c0t0d0s6 -i 20k
d10: RAID is setup
bash-2.03# 
bash-2.03# metastat
d10: RAID
    State: Initializing 
    Initialization in progress: 6% done
    Interlace: 40 blocks
    Size: 3764888 blocks
Original device:
    Size: 3768720 blocks
        Device              Start Block  Dbase State        Hot Spare
        c0t0d0s4                 410     No    Initializing 
        c0t0d0s5                 410     No    Initializing 
        c0t0d0s6                 410     No    Initializing 
bash-2.03# metaclear -a
d10: RAID is cleared
做Concatenated Stripe
bash-2.03# metainit d1 2 1 c0t0d0s4 -i 16k 2 c0t0d0s5 c0t0d0s6 -i 32k
d1: Concat/Stripe is setup
bash-2.03# metastat
d1: Concat/Stripe
    Size: 5654400 blocks
    Stripe 0:
        Device              Start Block  Dbase
        c0t0d0s4                   0     No   
    Stripe 1: (interlace: 64 blocks)
        Device              Start Block  Dbase
        c0t0d0s5                   0     No   
        c0t0d0s6                   0     No   

 

相关文章

15000转/每分 希捷推出世界最快硬盘

进军在线存储 希捷1.85亿收购EVault

RAID 6和RAID 7技术

RAID技术深度剖析

当服务器数据丢失怎么办?如何恢复数据

RAID技术专题 本文章信息
发布日期:2007-1-18 2:12:47
文章出处:中国磁盘阵列
其他数据恢复技术文章
服务特色 服务特色
24小时免费技术咨询,硬盘检测
免费提供上门取硬盘服务
数据恢复不成功不收取任何费用
数据恢复前报价,客户确认后工程
数据修复 师开始数据修复
恢复过程不对客户原盘有任何写操
作,确保原盘数据完全.
与客户签订保密协议,对客户的数
据严格保密
免费提供3天数据备份
磁盘阵列或服务器用户视具体情况
况提供上门服务.
网站信息 网站信息
数据恢复上海( 主站 )
http://www.raidcn.net
RAID数据恢复
http://www.raidcn.com
数据恢复
http://www.raidcn.org
数据恢复
RAID数据救援中心 -上海
© 2002-2006 Copyright RAIDCN.COM All rights reserved.
沪ICP备06022491号