如何在 SVM 中创建不同的 RAID 布局?

RAID 0(条带和串联)

  1. 从 3 个磁盘的 S2 分片创建串联:
# metainit d1 3 1 c0t1d0s2 1 c1t1d0s2 1 c2t1d0s2
d1 - the metadevice
3   - the number of components to concatenate together
1   - the number of devices for each component.
  1. 从 3 个磁盘的 S2 分片创建条带:
# metainit d2 1 3 c0t1d0s2 c1t1d0s2 c2t1d0s2 -i 16k
d2      - the  metadevice
1        - the number of components to concatenate
3        - the number of devices in each stripe.

-i 16k 条带段大小。

  1. 创建三个,2个磁盘串联并将它们条带化在一起:
# metainit d3 3 2 c0t1d0s2 c1t1d0s2  -i 16k 2 c3t1d0s2 c4t1d0s2  -i 16k 2 c6t1d0s2 c7t1d0s2  -i 16k
d3     - the meatadevice
3       - the number of stripes
2       - the number of disk (slices) in each stripe
-i 16k - the stripe segment size.
日期:2020-09-17 00:15:21 来源:oir作者:oir