I have a Debian machine that boots from a zpool on a pair of mirreored 1TB disks.
A third disk of 4TB disk with zpool 'ariadne' is available for sharing:
Code
zfs list
NAME USED AVAIL REFER MOUNTPOINT
ariadne 312K 3,51T 96K /mnt/ariadne
rpool 5,37G 894G 96K /
rpool/ROOT 887M 894G 96K none
rpool/ROOT/debian 887M 894G 816M /
rpool/home 528K 894G 96K /home
rpool/home/develop 108K 894G 108K /home/develop
rpool/home/root 204K 894G 204K /root
rpool/home/seb 120K 894G 120K /home/seb
rpool/srv 100K 894G 100K /srv
rpool/swap 4,25G 898G 64K -
rpool/var 259M 894G 96K /var
rpool/var/cache 256M 894G 256M /var/cache
rpool/var/log 1,24M 894G 1,24M /var/log
rpool/var/spool 712K 894G 712K /var/spool
rpool/var/tmp 128K 894G 128K /var/tmp
Display More
Now, when I select the ZFS plugin it gives me this error:
Code
The configuration object 'conf.system.filesystem.mountpoint' is not unique. An object with the property 'dir' and value '/' already exists.
Error #0: OMV\AssertException: The configuration object 'conf.system.filesystem.mountpoint' is not unique. An object with the property 'dir' and value '/' already exists. in /usr/share/php/openmediavault/config/database.inc:495
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/fstab.inc(119): OMV\Config\Database->assertIsUnique(Object(OMV\Config\ConfigObject), 'dir') #1 [internal function]: OMVRpcServiceFsTab->set(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)
#4 /usr/share/omvzfs/Utils.php(209): OMV\Rpc\Rpc::call('FsTab', 'set', Array, Array)
#5 /usr/share/openmediavault/engined/rpc/zfs.inc(187): OMVModuleZFSUtil::fixOMVMntEnt(Array)
#6 [internal function]: OMVRpcServiceZFS->getObjectTree(Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getObjectTree', Array, Array)
#9 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ZFS', 'getObjectTree', Array, Array, 1)
#10 {main}
Display More
my /etc/fstab reads:
Code
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/zvol/rpool/swap none swap defaults 0 0
# >>> [openmediavault]
# <<< [openmediavault]
It seems that every time I use OMV a new <mntent> is appended to the config.xml - which fails because the <dir> value is not unique.
Whenever I delete such an entry, a new one pops in:
Code
<mntent>
<uuid>b63450e7-4c63-43e4-aefc-262d57d28e90</uuid>
<fsname>rpool</fsname>
<dir>/</dir>
<type>zfs</type>
<opts>rw,relatime,xattr,noacl</opts>
<freq>0</freq>
<passno>0</passno>
<hidden>1</hidden>
</mntent>
One strange thing is that the UUIDs change each time but are not familiar, that is to say they cannot be found under /dev/disk/...
Why does OMV keep inserting entries?
How can I set the list of zfs pools straight?
Does this behaviour have to do with the existing ZFS pools at all?
Is booting from ZFS a problem here?
Kind regards
birnbacs