Kralizec - can't create shared folder, no volume?

  • Running Kralizec 1.0.6 on back-ported 3.14 kernel with two raid 10 volumes (for data, built before OMV install) but I can't seem to select or specify a "volume" to create a shared folder. The volumes are empty aside from a few folders If I had to re-create them under OMV instead, but I'd rather not if possible.


    Raid volumes /dev/md0 and /dev/md1 are mounted on /raid and /raid1 respectively and shows "online" under file systems.


    I'm not sure what the problem could be, but here are some screen shots...





  • Mounting them via the GUI should've sufficed...


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Hello,


    I'm having the same issue, although no RAID here. Running Kralizec 1.9.


    fstab:

    Code
    # UNCONFIGURED FSTAB FOR BASE SYSTEM
    tmpfs /tmp tmpfs defaults 0 0
    UUID=70c76c02-4223-4018-b741-1aaffbc74570 /media/70c76c02-4223-4018-b741-1aaffbc74570 ext4 defaults,nofail,acl,user_xattr,noexec 0 2
    #/dev/sda2 /mnt/Data ext4 defaults 0 0
    # >>> [openmediavault]
    # <<< [openmediavault]


    How can I fix it?


    Thanks in advance.

  • Hello!


    I get this unmount error:

    Code
    Error #3003:
    exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[dir='/media/70c76c02-4223-4018-b741-1aaffbc74570'])' in /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc:958
    Stack trace:
    #0 [internal function]: OMVRpcServiceFileSystemMgmt->umount(Array, Array)
    #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('umount', Array, Array)
    #3 /usr/sbin/omv-engined(500): OMVRpc::exec('FileSystemMgmt', 'umount', Array, Array, 1)
    #4 {main}


    Here's the section of my openmediavault/config.xml:

  • Sure:


    omv-mntent:

    Code
    <mntent>
    <uuid>70c76c02-4223-4018-b741-1aaffbc74570</uuid>
    <fsname>70c76c02-4223-4018-b741-1aaffbc74570</fsname>
    <dir>/media/70c76c02-4223-4018-b741-1aaffbc74570</dir>
    <type>ext4</type>
    <opts>defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0</opts>
    <freq>0</freq>
    <passno>2</passno>
    <hidden>0</hidden>
    </mntent>



    blkid:

    Code
    /dev/sda1: UUID="3ad4e271-f9ed-4d81-a9a5-ba90b6c3931e" TYPE="ext4" LABEL="System"
    /dev/sda2: UUID="70c76c02-4223-4018-b741-1aaffbc74570" TYPE="ext4" LABEL="Data"


    Thanks.

  • nano /etc/fstab


    Delete this line #3 you posted and save UUID=70c76c02-4223-4018-b741-1aaffbc74570 /media/70c76c02-4223-4018-b741-1aaffbc74570 ext4 defaults,nofail,acl,user_xattr,noexec 0 2


    Run omv-mkconf fstab, refresh the webUI. Check if the volume is now available for sharing

  • Hello subzero79,


    Didn't work.
    Volume still not showing.


    If I try to unmount the volume via webgui, I get this:

    Code
    Error #3003:
    exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[dir='/media/70c76c02-4223-4018-b741-1aaffbc74570'])' in /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc:958
    Stack trace:
    #0 [internal function]: OMVRpcServiceFileSystemMgmt->umount(Array, Array)
    #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('umount', Array, Array)
    #3 /usr/sbin/omv-engined(500): OMVRpc::exec('FileSystemMgmt', 'umount', Array, Array, 1)
    #4 {main}


    Besides,why it keeps saying stuff about arrays, if I have no raid set?


    And, not sure if it helps, but here's the content of my /media folder:

    Code
    total 20
    drwxr-xr-x 5 root root 4096 Jan 9 04:03 .
    drwxr-xr-x 23 root root 4096 Jan 9 14:08 ..
    drwx------ 2 root root 4096 Jan 9 02:21 32aaa5e4-2e35-42a8-8769-0f3f4c064a80
    drwxr-xr-x 3 root root 4096 Jan 9 03:13 70c76c02-4223-4018-b741-1aaffbc74570
    drwx------ 2 root root 4096 Jan 9 03:10 d11f6086-24ea-4d13-b712-43466839e34b


    Thanks again.

  • The try to edit the config.xml manually deleting the mntent entry for that drive


    First as always make a backup cp /etc/openmediavault/config.xml /root/config.xml.bk


    Then delete the entry, try to see if the unmount button can do his work now. If it goes ok offline, press the mount button to register the drive in OMV.


    The array is no raid, is code array php

  • I had to manually edit that mntent section before because I wasn't able to mount the data partition (/dev/sda2).


    So, I did as you told now, and here it is: (getting mad):



    Any clues?

  • Here it is:


    Code
    Data: clean, 11/121569280 files, 7680009/486273280 blocks


    And still can't mount the partition via webgui:

  • Not an USB disk, it's a 2TB HDD on a Iomega Home Media Network Drive Cloud Edition, with Debian Wheezy running.



    I can mount it manually. However:
    a) Without the additions on /etc/fstab and /openmediavault/config.xml (the ones I had before) it will lose the mount on reboot;
    b) Even with manual mount, I have nothing listed on devices dropdown menu when trying to create a new folder/share for instance.


    To edit fstab and config.xml, I did as this link says: OMV 1.0.29 Partition mount problem.


    Thanks for your patience! :)

  • Even with manual mount, I have nothing listed on devices dropdown menu when trying to create a new folder/share for instance.


    That's normal, the drive has to be mounted by OMV to be registered in the config.xml.This is very strange that it doesn't want to mount claiming fsck errors, when there is non.The problem could be the quota options.


    In this case I would try a manual register. Unmount the drive in CLI, then at fstab add the original line, but in between openmediavault tags



    Code
    >>> [openmediavault]
    UUID=70c76c02-4223-4018-b741-1aaffbc74570 /media/70c76c02-4223-4018-b741-1aaffbc74570 ext4 defaults,nofail,acl,user_xattr,noexec 0 2
    <<< [openmediavault]

    Run mount -a, the drive should appear mounted in omv if it goes ok


    At config.xml add the mntent entry you pasted here originally, but in options leave only defaults,nofail,acl,user_xattr,noexec


    BTW is this a new install? i mean the data shows no usage? if it has no data, then wipe the disk sda2 in the physical section, then create the file system in omv and mount

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!