]> git.datanom.net - omvzfs.git/blame_incremental - test.php
replace deprecated function join with implode
[omvzfs.git] / test.php
... / ...
CommitLineData
1<?php
2 require 'OMVModuleZPool.php';
3
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);
11?>
This page took 0.03335 seconds and 5 git commands to generate.