LINUX.ORG.RU

История изменений

Исправление iZEN, (текущая версия) :

Простой RAID-1:

> zpool create sample mirror /dev/ada1 /dev/ada2
> zpool status sample
state: ONLINE
  scan: none requested
config:

        NAME         STATE     READ WRITE CKSUM
        sample       ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            ada1     ONLINE       0     0     0
            ada2     ONLINE       0     0     0

Превращаем RAID-1 в RAID-10:

> zpool add sample mirror /dev/ada3 /dev/ada4

> zpool status sample
state: ONLINE
  scan: none requested
config:

        NAME         STATE     READ WRITE CKSUM
        sample       ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            ada1     ONLINE       0     0     0
            ada2     ONLINE       0     0     0
          mirror-1   ONLINE       0     0     0
            ada3     ONLINE       0     0     0
            ada4     ONLINE       0     0     0

Исходная версия iZEN, :

Простой RAID-1:

> zpool create sample mirror /dev/ada1 /dev/ada2
> zpool status sample
state: ONLINE
  scan: none requested
config:

        NAME         STATE     READ WRITE CKSUM
        sample       ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            ada1     ONLINE       0     0     0
            ada2     ONLINE       0     0     0

Превращаем RAID-1 в RAID-10:

> zpool sample add mirror /dev/ada3 /dev/ada4

> zpool status sample
state: ONLINE
  scan: none requested
config:

        NAME         STATE     READ WRITE CKSUM
        sample       ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            ada1     ONLINE       0     0     0
            ada2     ONLINE       0     0     0
          mirror-1   ONLINE       0     0     0
            ada3     ONLINE       0     0     0
            ada4     ONLINE       0     0     0