]>
Commit | Line | Data |
---|---|---|
76e64919 MR |
1 | <?php |
2 | require 'OMVModuleZPool.php'; | |
3 | ||
c6268644 MR |
4 | $c = new OMVModuleZPool(array('type' => 1, 'vdevs' => 2), array(), true); |
5 | $c->addPool(array('/dev/sda', '/dev/sdb', '/dev/sdc', '/dev/sdd'), 'test', | |
6 | array('log' => array('disks' => ['/dev/sde', '/dev/sdf'], 'mirror' => true), | |
7 | 'cache' => ['/dev/sdg'], | |
8 | 'spare' => ['/dev/sdh', '/dev/sdi']) | |
9 | ); | |
10 | //var_dump($c); | |
76e64919 | 11 | ?> |