Can't enable iscsi target

  • Hi,


    I have a fresh install of OMV.
    I want to enable iscsi Target but when I apply to commit the settings I get:


    Code
    Failed to execute command 'export LANG=C; monit -t 2>&1': /etc/monit/conf.d/openmediavault-filesystem.conf:12: Error: syntax error '"legacy"'


    Full detail error:


    After click enable, /etc/monit/conf.d/openmediavault-filesystem.conf gets this lines (several):

    Code
    check filesystem fslegacy with path "legacy"
      if space usage > 80% for 5 times within 15 cycles
        then alert else if succeeded for 10 cycles then alert
      #check program mplegacy with path "/bin/mountpoint -q 'legacy'"
      #  if status == 1 then alert


    Any ideas?


    Thanks!

  • Just to add some info:


    in /etc/openmediavault/config.xml:



    All these legacy dir are in the pool_15k pool.
    This pool was created 30 mins ago, and the disks were wiped before.

  • I ended up modifying the config.xml file, changing something else in the config and applying,
    It's working now.


    I think those directories were there it was because that zfs pool was part of FreeNAS before and it had those directories. I imported it from command line, but then destroyed them and created a new pool.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!