Posts by Wek

    never seen something like that...maybe the usb you are making the bootable os with is corrupted?!


    Have you tried to install debian jessie oldstable minimal (with just utilities) and then add the omv3 repo on it manually as per the wiki?



    I would try that and see if it works with a new usb stick (especially the part with the dhcp problem), if it is maybe was really the crapped out usb so you could also try with the vanilla omv3, just to rule out it's not a problem of iso.

    Also is there a way to increase the monit treshold for limit resource?


    It's spamming my email and syslog with loadavg(5min) of 2.1 matches resource limit..is not even going over 39% on cpu utilization and there is plenty of ram is not really helpful to have all this mails telling me ok your server is barely doing something :°D


    But maybe is not possible to change?!

    I guess this became a thread to report omv4 bugs?!


    Anyway I found a little "bug" thanks to syslog complaining about openmediavault-mkrrdgraph be run in "insecure mode"
    it's just a file permissions issue:


    straight forward to solve

    Bash
    root@omv4:/etc/cron.d# chmod 622 openmediavault-mkrrdgraph

    thought to share with you.

    Ok, I think I'm getting closer to understand the usb backup error, I think is not an error of usb not mounted\ejected by the plugin, I tried to mount it manually and unplug it without unmount and I've got the real error


    Code
    [ 1531.361428] FAT-fs (sdd1): unable to read boot sector to mark fs as dirty

    as expected.
    So I guess this one instead:


    Code
    [ 1531.185592] usb usb3-port3: cannot disable (err = -32)

    is related to the server usb hub not properly manage the power to usbs, I guess I can ignore it, I will try to dig it a little bit more, but I can't find any info with google, just a bunch of issues related with usb ports, but that was already clear :D

    NOW everything is clear! set! thank you a thousand @ryecoaaron really appreciate, especially the suggestion to not worry about :°D it is the best suggestion ever :D


    I need just to understand why the disk with usb backup is unmounted properly at least on the webgui is says so, but the hard disk stays with a fixed light and as soon as I detached it I got that annoying usb warning and I'm ready to deploy.


    You has been very informative thanks

    I think I got it, right now it runs at 3:30 am every day, at 3:00 am on Monday of every week and at 2:30 am every 1st day of the month right?!


    The thing that I can't understand is how do I have to set it to have let's say at least 2 backups one at 6 in the morning and one at 6 in the evening of every day and retain them?


    Moreover I don't understand if I leave it at the first config so :


    Code
    # Create cron file
    # This is the cron file for openmediavault-rsnapshot.
    # The file /var/lib/openmediavault/cron.d/rsnapshot will mirror
    # the jobs that are configured in the plugin.
    # m h           dom mon dow user  command
    5 *         * * *           root    /var/lib/openmediavault/cron.d/rsnapshot hourly
    30 3        * * *           root    /var/lib/openmediavault/cron.d/rsnapshot daily
    0  3        * * 1           root    /var/lib/openmediavault/cron.d/rsnapshot weekly
    30 2        1 * *           root    /var/lib/openmediavault/cron.d/rsnapshot monthly
    00 2        1 1 *           root    /var/lib/openmediavault/cron.d/rsnapshot yearly


    It doesn't make any sense to have Retain daily = 5 like it is now, because it will basically make snapshot once a day...so you'll end up with just 1 back day and not 6


    I guess I'm totally misunderstanding how the plugin work right?


    @ryecoaaron could you help me out understand it better?

    • I'm using usb backup for the first time and having one issue, I tried to look in the forum for similar threads, but didn't find them.

    The issue is the plugin didn't seem to eject the usb hard disk after the backup is done, as it should do from what I understood.
    Here is the message I've got as soon as I insert the usb hard disk wait and the unplug.

    Code
    [ 1501.037635] sd 9:0:0:0: [sdd] No Caching mode page found
    [ 1501.037692] sd 9:0:0:0: [sdd] Assuming drive cache: write through
    [ 1545.734680] usb usb2-port4: cannot disable (err = -32)

    I don't see the hard disk mounted in the webgui, but then why the error on line 3.?
    Also I would expect the hard drive's light to slowly blink as when the same disk is safe ejected on windows (cofirmation of hard disk ejected properly) but it never happens, it stays with a fixed light (like when the hard disk is doing nothing not reading\writing just stays plugged in waiting)


    I don't know if depends on the kind of format anyway the external hard disks are formatted in fat32 (I need them to be plug and play in windows machine) and are usb 3.0.


    Everything seems to work fine, the files are backed up fine, the only thing is this error msg on dmesg, does it mean it doesn't eject the hard disk properly or should I ignore them? I would like not to corrupt the disks saving backups


    • Also I have a question about Rsnapshot plugin, I installed and configured it, but it seems it works only if I select the job created and click on Run on the webgui, I was expecting it to work on its own, do I need to create a systemd service or a cron\anacron job to autostart automatically daily?

    in /etc/cron.d is present the seguent openmediavault-rsnapshot:

    Code
    # Create cron file
    # This is the cron file for openmediavault-rsnapshot.
    # The file /var/lib/openmediavault/cron.d/rsnapshot will mirror
    # the jobs that are configured in the plugin.
    # m h           dom mon dow user  command
    5 *         * * *           root    /var/lib/openmediavault/cron.d/rsnapshot hourly
    30 3        * * *           root    /var/lib/openmediavault/cron.d/rsnapshot daily
    0  3        * * 1           root    /var/lib/openmediavault/cron.d/rsnapshot weekly
    30 2        1 * *           root    /var/lib/openmediavault/cron.d/rsnapshot monthly
    00 2        1 1 *           root    /var/lib/openmediavault/cron.d/rsnapshot yearly


    If not I misunderstanding, I would expect the snapshot run every 5 min hourly or every 30 min daily, but it doesn't seems so.


    and here is my rsnapshot plugin config:


    Code
    Retain hourly = 0
    Retain daily = 5
    Retain weekly = 4
    Retain monthly = 3
    Retain yearly = 0
    Rsync tries = 1


    Am I missing something here?

    Actually is even better I found one so I went ahead and configured it, I'm testing it right now, it has an internal sata port as well so I connected the ssd on the internal one (the one that you should use for the dvd) so I have 4 bays to play with data nice!!
    more than enough for the SOHO.


    Your suggestion about usbs are good I will try to play them with my server at home, unfortunately I need to deploy this in a SOHO outside my town, so the manual switching thing is a no go, for this project.
    Indeed I will try on my play\test server :)

    Goodnight\day everybody people!!


    @Zoki , yep already did know about that and fixed, I was talking about the line 35. Invalid RPC response, I don't think is related to the python issue


    @ryecoaaron I looked at syslog no warning\error messages if not the ones about watchdog retry timeout and kfd error getting iommu (but those are connected to my hp proliant microserver gen10 and I can't fix them) so far so good! no rpc response message since I reset the monitor switch under monitoring tab...so it seems everything is working like a charm now :)


    I'm glad to be part of this community this is a great software congrats guys!

    Yep I saw that was solved, I just wanted to advise you, that upgrading omv2 -> omv3 through ssh is not a really good advise, but if you are experienced with arch you probably are aswell on the breaking\fixing thing of side good luck then :D

    If it wasn't for the "plug and play Windows" requirement I'd advise against NTFS drives for backup. NTFS write support via fuse is heavily CPU dependent. So I suspect the backups will be quite slow, USB3 or not.I'd recommend FAT32, but that limits the file (and disk) size too much.
    If you do not expect files above 4GiB, you may format partitions above 32GB with FAT32 under Linux, windows reads those fine too - it just does not create them. YMMV.

    Yep unfortunately was a request to have it windows ready, but I guess I can't use fat32, they work on big files 3d and such, (I have to ask though) so I guess the NTFS is the only viable solution, exfat is excluded because no "journaling", also I guess is the same problem with ntfs on speed, in the end if the only problem will be slowness I guess they have to wait :D to have everything, but I will double check the 4 gig limit with them..


    I just thought go directly with ntfs because I didn't want to have any trouble with them saying, oh I have this one file but now the backup doesn't work :°D, especially because they are not really tech savy and I will not have to much time to fix every single mistake they make.
    (I'm not an IT guy by profession :D I do this for free to help them out..I just couldn't stand what another "professional IT guy\company" did manage to give them for almost 3 time the price of this unit..was a piece of junk falling apart...literally..so I just offered to build a more clear and solid solution for them with this unit and the great omv on top of it for free, so..I guess if the drawback is a bit of slowness in the portable backup they can handle it...especially in confront of the piece of junk it will substitute)

    @ryecoaaron I will look into it as soon as I'll be home again, and I'll post my findings if I cannot trace back the error I will post my syslog thanks a lot!

    Quote from qwertz123


    They sell NAS with a quarter of the RAM and half the CPU power for double the user count, so I'm not worried
    Just remember to a) backup on external drives too in case something goes horribly wrong and b) use the CIFS/SMB trashcan option, otherwise you'll go crazy restoring the users "oopsies" from backups/snapshots. In my experience it pays if the user is able to help him or herself, even if there's an IT-ish guy around.

    Thanks about the trashcan double check!! :°D I had already bad experience with people not knowing how to use a server unfortunately :°D so it's the first thing I set :°D, so I guess we share the same pain :D
    and already set backup plugin with 2 external usb 3.0 hard drive formatted in ntfs that point to the rsnapshot hard disk so they will aslo get a portable backup with incrementals directly on ntfs partition that can plug and play on their windows machine and recover also something that they f*cked up in the trashcan aswell :D.


    So I guess if now they will still fuck up they deserve a medal of honor :D (I hope not)


    Indeed really thanks @qwertz123 for all your inputs were really useful!


    Now what remain to do is fix those last omv4 errors weakref.py and invalid rpc response warning and I'm good to deploy this little buddy :)

    I started to play around with omv4, installed debian stretch and added omv4 repo everything went smooth.


    But today I've got this error after installing some packages (teamviewer host and others)



    the weakref.py I guess is the same others reported and fixed I'll look into it, but what about the invalid rpc response?


    Also I noticed that the omv4 extras-org deb package from http://omv-extras.org/joomla/index.php/guides is wrong.
    If you download from the link, it serves you the omv3 one, you have to manually put 4 at the end of omv-extras.org/openmediavault-omvextrasorg_latest_all3.deb -> openmediavault-omvextrasorg_latest_all4.deb

    • New update now with stretch+backports kernel+firmware-nonfree it's a bit better.
    • If you want to know DP works like vga (I had a dp cable around so I tested it)
    • I also blacklisted sp5100_tco to get rid of that nasty already in use error (I think doesn't create any problem to the system, despite I would have preferred some more clean solution to it)
    • Also the ACPI bios bug disappeared after blacklisting sp5100_tco (I don't know why or if it's related seems odd)

    Now my dmesg error level is considerably lower:

    Code
    [    2.253391] BERT: Can't request iomem region <00000000dd91c018-00000000dd91c02b>.
    [    5.215462] kfd kfd: error getting iommu info. is the iommu enabled?
    [    5.215527] kfd kfd: Error initializing iommuv2 for device (1002:9874)
    [    5.215758] kfd kfd: device (1002:9874) NOT added due to errors


    I found this article about kfd error https://community.amd.com/thread/170292 but the fix didn't worked out for me unfortunately.


    At the beginning I had also a warning about usb power management, but after a couple of reboot just disappeared ?(


    it remains just the annoying kfd iommu info, why does it try to load it if it's disabled on the bios is beyond me, I will try to look at the fix you mentioned of iommu
    but at least I think it's just cosmetic, so we are good!


    Indeed you were really helpful @qwertz123 thanks a lot!


    It is a good looking machine for the price point and consumption, I've another around, I'm considering to use it in a small office with 5\6 users to use samba\share where they work coupled with 2 data disks+ 2
    disk with rsnapshot to have backup of the data disks (I'm not really a raid guy, I prefere snasphots so you can go back in time) plus teamviewer host to let them turn on their pc and work from home if needed.


    I hope the amd apu can handle it, it shouldn't be too much difficult for it, indeed 5 users are not too much, so I hope will handle everything.


    Interesting choice with your upgrades plan, especially about the ram upgrade are you planning use zfs or just to have as much power as you could?
    I love the components for the price, especially the ecc support, leaving open road to future zfs upgrade aswell.

    Quote from qwertz123

    I used the minimal/network iso and the graphical expert install, since I wanted only the minimal system. Afterwards just added the OMV repository to sources.list and installed the packages according to the wiki.

    I did the same but I could only find one for kralizec in the official wiki
    Anyway I think not much is changed so I went ahead and went with:

    Code
    echo "deb http://packages.openmediavault.org/public arrakis main" > /etc/apt/sources.list.d/openmediavault.list
    apt-get install --allow-unauthenticated openmediavault-keyring
    apt update
    apt install  postfix
    apt install openmediavault
    omv-initsystem


    It looks that everything is ok, but I don't know if I need other packages for arrakis, I hope not.

    Really helpful @flmaxey one thing I understood...prices in the states are crazy cheap :°D, unfortunately I'm from europe and I cannot find any of that prices :°D, but I've got your suggestion I will look into it.


    The only reason I went for a m2 ssd, is because I don't want to occupy a sata port for the os, and I read lot of threads here that discourage to use usbs as system disk, I guess for reading\writing process wearing the usb fast as hell, moreover I have laying around some m2 ssd that I don't have use for, so that would be no problem.


    I dig alot that dell server you linked it's awesome I hope to find something similar here in my country

    That's really helpful info, thanks @qwertz123 , I will try today to achieve the same result.
    Yesterday I tried to install stretch just with utilities and ssh server (to access through ssh after installation and download the backport kernel) but didn't success, I unfortunately forgot that debian disable ssh access for root as default and I didn't created another user at installation time..so I will try again this morning.


    About the kernel, to be honest, I'm not really comfortable to install ubuntu's kernel in it, especially because I want to install omv on it and I want as less problem I could have for future upgrades (that's useful anyway for reference so thanks to have mentioned it)..but you said it will work with debian stretch backport kernel too 4.12 am I right or did I misunderstood you?!


    If that the case I'm all set, I don't really need IOMMU anyway because I'm no planning any vm on it, so I don't really care if it doesn't work for my needs.



    Thank you a million to have taken time and explained me my dmesg message was really helpful pal!! really really appreciate that!


    At last about the firmware, I already tied the product to my id and registered the serial (that went through), but still can't download it -.-, I will contact them and see what's going on.
    It will be my first time to contact support just for download from a link :D (I guess there is one time for everything).


    What about performance how did you find yourself with it? and what are your use for this microserver (I have the same model as yours by the way)

    Did you upgrade omv2 -> omv3 through the terminal?
    If yes, despite the fact now seems everything ok, I would suggest you to start from scratch, and just install omv3 from fresh install not upgrade.


    The reason for that, is debian (the distro under the hood for omv) changed to systemd, that's a huge change for the distro and I found out that at the beginning everything seemed fine, after a couple of weeks, I was encountering a lot of issues, so my suggestion for you, would be just go ahead and install omv3 from scratch instead and you will have no problems.