SDS换坏盘步骤

 

1.# metadb
   flags       first blk        block count
  a m     u        16               1034            /dev/dsk/c0t0d0s4
  a       u        1050             1034            /dev/dsk/c0t0d0s4
  a       u        2084             1034            /dev/dsk/c0t0d0s4
  W   pc luo       16               1034            /dev/dsk/c0t1d0s4
  W   pc luo       1050             1034            /dev/dsk/c0t1d0s4
  W   pc luo       2084             1034            /dev/dsk/c0t1d0s4
 
The W in the flags field of the c0t1d0s4 slice indicates that the device has write errors. Three replicas on the c0t0d0s4 slice are still good
 
2.# metadb -d c0t1d0s4
 
the three state database replicas that exist on c0t1d0s4 are deleted. 
 
 
3.# metahs -d hsp000 c0t1d0s6
hsp000: Hotspare is deleted
 
 
hot spare pool hsp000 included c0t1d0s6, which is then deleted from the pool.
 
4.Replace the failed disk.
 
v440 cfgadm -x unconfigure /dev/rdskc0t1d0 
ok-to-move led light 
 
5.Use the format command or the fmthard command to partition the disk with the same slice information as the failed disk. If you have the prtvtoc output from the failed disk, you can format the replacement disk with the fmthard -s /tmp/failed-disk-prtvtoc-output command.
 
6.If you deleted state database replicas, add the same number back to the appropriate slice.
 
# metadb -a -c 3 c0t1d0s4
 
 
 
7.If any slices on the disk are components of RAID-5 volumes or are components of RAID-0 volumes that are in turn submirrors of RAID-1 volumes, run the metareplace -e command for each slice. 
 
In this example, /dev/dsk/c0t1d0s4 and mirror d10 are used.
 
 
 
# metareplace -e d10 c0t1d0s4
 
 
8.If any soft partitions are built directly on slices on the replaced disk, run the metarecover -m -p command on each slice that contains soft partitions. This command regenerates the extent headers on disk.
 
In this example, /dev/dsk/c0t1d0s4 needs to have the soft partition markings on disk regenerated. The slice is scanned and the markings are reapplied, based on the information in the state database replicas. 
 
 
 
# metarecover c0t1d0s4 -m -p
 
9.If any soft partitions on the disk are components of RAID-5 volumes or are components of RAID-0 volumes that are submirrors of RAID-1 volumes, run the metareplace -e command for each slice. 
 
In this example, /dev/dsk/c0t1d0s4 and mirror d10 are used.
 
 
 
# metareplace -e d10 c0t1d0s4
 
 
10.If any RAID-0 volumes have soft partitions built on them, run the metarecover command for each RAID-0 volume.
 
In this example, RAID-0 volume, d17, has soft partitions built on it. 
 
 
 
# metarecover d17 -m -p
 
 
11.Replace hot spares that were deleted, and add them to the appropriate hot spare pool or pools.
 
In this example, hot spare pool, hsp000 included c0t1d0s6. This slice is added to the hot spare pool.
 
 
 
# metahs -a hsp000 c0t1d0s6
hsp000: Hotspare is added
相关文章
中心简介联系我们CopyRight © 2004-2010 南京雷超科技有限公司 All Right Reserved 苏ICP备10202983号-15
分分彩开奖结果
  • http://www.hn1c.com/howuU/65390920.html
  • http://www.hn1c.com/howuU/28297.html
  • http://www.hn1c.com/howuU/3272974.html
  • http://www.hn1c.com/howuU/16857390.html
  • http://www.hn1c.com/howuU/9608598.html
  • http://www.hn1c.com/howuU/9348424.html
  • http://www.hn1c.com/howuU/71528.html
  • http://www.hn1c.com/howuU/43823572.html
  • http://www.hn1c.com/howuU/0039993.html
  • http://www.hn1c.com/howuU/61627533.html
  • http://www.hn1c.com/howuU/2747.html
  • http://www.hn1c.com/howuU/7756.html
  • http://www.hn1c.com/howuU/731515.html
  • http://www.hn1c.com/howuU/589593.html
  • http://www.hn1c.com/howuU/3914813.html
  • http://www.hn1c.com/howuU/82300.html
  • http://www.hn1c.com/howuU/4544282.html
  • http://www.hn1c.com/howuU/790292.html
  • http://www.hn1c.com/howuU/04837196.html
  • http://www.hn1c.com/howuU/50012794.html
  • http://www.hn1c.com/howuU/3789338.html
  • http://www.hn1c.com/howuU/3871754.html
  • http://www.hn1c.com/howuU/860890.html
  • http://www.hn1c.com/howuU/9367538.html
  • http://www.hn1c.com/howuU/8915.html
  • http://www.hn1c.com/howuU/998364.html
  • http://www.hn1c.com/howuU/36622767.html
  • http://www.hn1c.com/howuU/3599.html
  • http://www.hn1c.com/howuU/823680.html
  • http://www.hn1c.com/howuU/79822.html
  • http://www.hn1c.com/howuU/712773.html
  • http://www.hn1c.com/howuU/7796174.html
  • http://www.hn1c.com/howuU/786716.html
  • http://www.hn1c.com/howuU/7103088.html
  • http://www.hn1c.com/howuU/22813902.html
  • http://www.hn1c.com/howuU/0663.html
  • http://www.hn1c.com/howuU/06163305.html
  • http://www.hn1c.com/howuU/98895.html
  • http://www.hn1c.com/howuU/2282575.html
  • http://www.hn1c.com/howuU/5141720.html
  • http://www.hn1c.com/howuU/851229.html
  • http://www.hn1c.com/howuU/37026848.html
  • http://www.hn1c.com/howuU/8074.html
  • http://www.hn1c.com/howuU/16796.html
  • http://www.hn1c.com/howuU/06253.html
  • http://www.hn1c.com/howuU/91057.html
  • http://www.hn1c.com/howuU/5091.html
  • http://www.hn1c.com/howuU/45299.html
  • http://www.hn1c.com/howuU/15869750.html
  • http://www.hn1c.com/howuU/25490.html
  • http://www.hn1c.com/howuU/80316.html
  • http://www.hn1c.com/howuU/70235.html
  • http://www.hn1c.com/howuU/06328.html
  • http://www.hn1c.com/howuU/96827745.html
  • http://www.hn1c.com/howuU/43947.html
  • http://www.hn1c.com/howuU/8274.html
  • http://www.hn1c.com/howuU/3858.html
  • http://www.hn1c.com/howuU/56773614.html
  • http://www.hn1c.com/howuU/5512.html
  • http://www.hn1c.com/howuU/6592.html
  • http://www.hn1c.com/howuU/188322.html
  • http://www.hn1c.com/howuU/1904.html
  • http://www.hn1c.com/howuU/7206063.html
  • http://www.hn1c.com/howuU/54498.html
  • http://www.hn1c.com/howuU/6992894.html
  • http://www.hn1c.com/howuU/1471834.html
  • http://www.hn1c.com/howuU/49427129.html
  • http://www.hn1c.com/howuU/28054084.html
  • http://www.hn1c.com/howuU/3074.html
  • http://www.hn1c.com/howuU/06753.html
  • http://www.hn1c.com/howuU/6785.html
  • http://www.hn1c.com/howuU/957837.html
  • http://www.hn1c.com/howuU/4409.html
  • http://www.hn1c.com/howuU/60789016.html
  • http://www.hn1c.com/howuU/3183529.html
  • http://www.hn1c.com/howuU/9171659.html
  • http://www.hn1c.com/howuU/0001825.html
  • http://www.hn1c.com/howuU/6812.html
  • http://www.hn1c.com/howuU/863854.html
  • http://www.hn1c.com/akaAQ/35631613.html
  • http://www.hn1c.com/akaAQ/850499.html
  • http://www.hn1c.com/akaAQ/3316935.html
  • http://www.hn1c.com/akaAQ/573318.html
  • http://www.hn1c.com/akaAQ/3128759.html
  • http://www.hn1c.com/akaAQ/3804.html
  • http://www.hn1c.com/akaAQ/8074.html
  • http://www.hn1c.com/akaAQ/0778487.html
  • http://www.hn1c.com/akaAQ/45851829.html
  • http://www.hn1c.com/akaAQ/1214156.html
  • http://www.hn1c.com/akaAQ/92696.html
  • http://www.hn1c.com/akaAQ/09293.html
  • http://www.hn1c.com/akaAQ/69185212.html
  • http://www.hn1c.com/akaAQ/764352.html
  • http://www.hn1c.com/akaAQ/395643.html
  • http://www.hn1c.com/akaAQ/9464.html
  • http://www.hn1c.com/akaAQ/45215643.html
  • http://www.hn1c.com/akaAQ/61795291.html
  • http://www.hn1c.com/akaAQ/82865.html
  • http://www.hn1c.com/akaAQ/7341.html
  • http://www.hn1c.com/akaAQ/125908.html