Posts by Marc

    Sorry, not meant to make you read all the threads, just the 1st one. :) I should've been more clear.


    Anyway, as far as I know, standard kernel won't work properly with ARM processors. This NAS seems to require some specific steps, including boot sector strings, to install anything (as described here).


    Then, the only way I could install it was installing this kernel-modded version of Wheezy, then installing OMV 0.4, then upgrading it. But it required A LOT of work and fixes, including some help of yours (davidh2k helped me a lot) but still had a lot of crashes and other issues --couldn't even copy large files to NAS without having it freezing up.


    As David said, it was all related to the kernel issues...


    Cheers! :)


    EDIT: Here's a part of the tutorial for installing OMV on this NAS:


    Greetings!


    I'm thinking about give another try on OMV; I reallly enjoyed it.


    However, it seems I cannot run OMV 1.9 on it, since I was running OMV on Debian Wheezy and several kernel resources were not available.


    It seems the better version for my NAS is 1.12. I have some questions,though:


    a) How do I install 1.12? Last time I did it, I installed 0.4x and ran 'apt-get update', ended up with 1.9.
    b) Can I install it straight from ISO, without Debian Wheezy? I think it should be cleaner, am I right?
    c) I'll need OwnCloud, DLNA and a Torrent client. Would love to make sure these are compatible with this version.
    d) Where can I find OMV 1.12 files? The Sourceforge download page jumps from 0.5x to 1.9.
    Thanks in advance.


    Cheers!

    Hello willri,


    I'm thinking about give it another try.


    I ended up with OMV 1.9 running on Debian Wheezy. It was running, but I had a lot of issues that made me quit. However, it requires a modded kernel since the NAS is way too old (about 5 years old or even more).


    I would love that someone could make an updated install tutorial, with the proper files and versions to use. I messed my install so much that I don't even remember what exactly I did to fix several of the issues.


    It seems the OMV 1.12 is the better version for this NAS. Not sure I'll be able to install it tho. I remember installing 0.4 and running apt-get update, then it ended up with 1.9. Not sure how to stop on 1.12.


    Cheers!

    Hello David,


    Thanks, but I'm giving up.


    I can't upload the log, because it crashes. I can't move files to the HDD, because it freezes/crashes (I need to restart it to make it work again).


    I do appreciate all your help, but it isn't worth the headache. I'll try to revert to the stock firmware and move on.


    Cheers.

    Hello again!


    Right, here's my actual fstab:

    Code
    # UNCONFIGURED FSTAB FOR BASE SYSTEM
    tmpfs           /tmp            tmpfs   defaults        0       0
    UUID=b3343e94-52f3-4c18-9060-7ce0c436eb1b  /media/b3343e94-52f3-4c18-9060-7ce0c436eb1b  ext4 defaults,nofail,acl,user_xattr,noexec 0 2
    
    
    #/dev/sda2      /mnt/Data       ext4    defaults        0       0
    # >>> [openmediavault]
    # <<< [openmediavault]


    config.xml (mntent section):

    Code
    </storage>
        <fstab>
          <!--
                            -->
        </fstab>
        <shares>
          <!--
                            -->
        </shares>


    Then I try to unmount /dev/sda2 via webgui and get this:

    Code
    Error #3003:
    exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[dir='/media/b3343e94-52f3-4c18-9060-7ce0c436eb1b'])' 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}


    dmesg | tail after trying to unmount the partition via webgui: (MAC address hidden)

    Code
    [   16.565173] EXT4-fs (sda1): re-mounted. Opts: (null)
    [   23.518545] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: user_xattr
    [   24.998405] IPv6: ADDRCONF(NETDEV_UP): lo: link is not ready
    [   27.581603] eth0: device MAC address xx:xx:xx:xx:xx:xx
    [   29.580277] libphy: stmmac-0:00 - Link is Up - 1000/Full
    [   29.597949] RPC: Registered named UNIX socket transport module.
    [   29.604001] RPC: Registered udp transport module.
    [   29.608696] RPC: Registered tcp transport module.
    [   29.613442] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [   29.808225] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).


    What now? :(

    Hello again, subzero!


    Before I saw your post, I had edited the /etc/openmediavault/config.xml and added the following:



    And it did the trick (I mean, the /dev/sda2 is mounting on boot device). So I cannot tell if your new instructions changed something.


    At this moment, I cannot unmount via webgui -when I try to do that, I get this error:

    Code
    Error #3003:
    exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[dir='/media/b3343e94-52f3-4c18-9060-7ce0c436eb1b'])' 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}


    My main issue at this moment is, when I try to add a shared folder for instance, I have no device listed. It shows blank.


    David got it working today, but all changes just disappeared some moments later (and later on, config.xml went all blank, luckily I had a backup).


    Then, my questions are:
    a) How can I make the /dev/sda2 show up again on 'devices'?, and
    b) Why the hell is it losing the configuration?


    Thanks again!

    Hello all,


    After all your help, it worked, thanks to subzero and David.


    But then, all of sudden, all the changes to the settings were gone and I'm back to start.


    Devices not listing again. I found out that config.xml was somehow modified and lost the entire mntent section.


    I've rebuild it (according to the instructions above) but nah, not working.


    What the heck??

    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! :)

    Here it is:


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


    And still can't mount the partition via webgui:

    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.

    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.