Posts by jfromeo

    Is it possible to install the plugin on a Rpi4B?


    I am getting the following error:



    Thank you both.


    I think I will unmount and remount all disks, as I see the uuid path was chosen over the label path for technical reasons. I prefer to have a functional system than a "pretty" one. I thought the uuid mount point was due to some misconfiguration from my part.


    I just recheck my mergefs plugin that makes mention to the old naming scheme.

    Hello all.


    I have a disk that got mounted by uuid instead of by label, and got a difficult-to-remember path in /srv that makes hard to rsync from cli, among other things.


    All my disks are mounted by label and have a path like "/srv/dev-disk-by-label-movies", but this one has a path like "/srv/dev-disk-by-uuid-a49f0b0b-2fd3-4f79-a860-143b89982376".


    I have tried the following.


    1. delete all shares linked to that disk (from shared folder in use)
    2. unmount the disk (from filesystem)
    3. e2label it to "movies" (from ssh)
    4. edit /etc/fstab and replace uuid chain to label one (from scp)
    5. edit /etc/openmediavault/config.xml and replace uuid chain to label one (from scp)
    6. omv-salt deploy run fstab (from ssh)
    7. reboot
    8. mount disk (from filesystem)


    But the mount point to uuid is still there.


    Is there anything I could do to change it, apart from erasing it and starting over? (it has 9.0TiB of data I would prefer not to move).


    Thank you in advance.

    Hello all.


    OMV-5.5.23-1 on arm64

    OMV-5.5.23-1 on x64


    I am trying to get a remote mount working between the two systems.


    I have created the shared folder "downloads" on the host (arm64), with path "/srv/dev-by-disk-by-label-cache/docker/transmission/downloads" and enabled it on smb shares.


    But when I try to create the remote mount on the guest (x64), and click on apply, I get the following error:


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': olmos13nas.olmos13: ---------- ID: create_filesystem_mountpoint_9cf9c99e-a60b-46c6-b9d8-caf05fe0ad5a Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_9cf9c99e-a60b-46c6-b9d8-caf05fe0ad5a for file /etc/fstab was charged by text Started: 19:55:17.011380 Duration: 0.673 ms Changes: ---------- ID: mount_filesystem_mountpoint_9cf9c99e-a60b-46c6-b9d8-caf05fe0ad5a Function: mount.mounted Name: /srv/dev-disk-by-label-cache Result: True Comment: Target was already mounted Started: 19:55:17.012512 Duration: 456.249 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ----------


    I guess it is because I already have a "/srv/dev-by-disk-by-label-cache/" mount at guest.


    Is there any workaround, apart from renaming the host mount point from cache to cache2 (for example)?


    Thanks in advance.


    Regards.

    I was inspecting the syslog after the OMV5 upgrade, and the only task which is giving errors is the postfix/smtpd service.


    In OMV4 I got all the notifications working (plus a telegram channel to replicate them with a bot), but in OMV5 I cannot make them to work, except the "Your user account was used to log in to the openmediavault control panel via a web browser" which works like a charm.


    I have the SMTP settings well configured (smtp.gmail:587, username without the domain and password) as the login email gets sent correctly. But the rest of notifications (disk resources, cpu usage, smart...) does not get sent.


    I tried to reinstall and restart postfix, and clean, save, fill in and save the notifications dialog in the GUI.


    These are the errors related in syslog:


    Code
    postfix/smtpd[20056]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    postfix/smtpd[20056]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
    postfix/master[7274]: warning: process /usr/lib/postfix/sbin/smtpd pid 20056 exit status 1
    postfix/master[7274]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    monit[1557]: Cannot create socket to [127.0.0.1]:25 -- Connection timed out
    monit[1557]: Cannot open a connection to the mailserver 127.0.0.1:25 -- Operation now in progress
    monit[1557]: Mail: Delivery failed -- no mail server is available
    monit[1557]: Alert handler failed, retry scheduled for next cycle


    Thanks in advance.

    Can you please post the content of /etc/resolv.conf?



    This is the new tool to deploy the configurations.

    Thank you for the quick response. After a reboot, everything worked fine.


    Code
    # cat /etc/resolv.conf
    nameserver 8.8.8.8
    nameserver 8.8.4.4


    Talking about nameservers, which is the difference between:


    /etc/resolv.conf
    /etc/resolvconf/run/resolv.conf


    And the edit option at Interfaces which let you fill in nameservers for each NIC/bond connections? (and how did you fill 2 different ones, separated with coma maybe?)


    a.png

    Hello all.


    I just upgraded to OMV5 and I am facing this error whenever I try to apply any change thorugh the webUI (rsync changes in this example):



    Has it something to do with python module? Should I try to reinstall it?. What is omv-salt exactly? It looks like a new OMV5 thing.


    I did:


    Code
    apt-get update
    apt-get upgrade


    And I have no packets to be updated at the moment.


    I tried browser cache cleaning and locale changing to English/Spanish.


    PD: Done some research. It seems there is another user on the same situation: https://forum.openmediavault.o…26061-Salt-Stack-in-OMV5/


    Quote

    "Every time you apply a configuration change OMV5 checks against its salt states and will fail if they aren't there.
    I then have to enable the custom OMV Salt Configuration, apply the change and then disable the config again."


    Thanks in advance.


    PD: Nevermind, got fixed after a reboot.

    I just upgraded to OMV5 with the following commands:


    Code
    # sed -i "s/stretch/buster/g" /etc/apt/sources.list
    # sed -i "s/stretch/buster/g" /etc/apt/sources.list.d/*
    # sed -i "s/arrakis/usul/g" /etc/apt/sources.list.d/*
    # apt-get update
    # apt-get dist-upgrade
    # reboot


    And after the reboot I am getting the RPC error whenever I try to log in to the webUI:



    My dkpg -l output:


    Code
    # dpkg -l | grep openmediavault
    Quote

    iF openmediavault 5.2.4-1 all openmediavault - The open network attached storage solution
    ii openmediavault-flashmemory 4.2.1 all folder2ram plugin for OpenMediaVault
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive


    My omv-engined output seems ok:


    Code
    # omv-engined -d -f



    My systemctl status output seems ok:


    Code
    # systemctl status openmediavault-engined


    And I fixed the resolv.conf issue by adding manually the nameservers from Google and protecting it to writing:


    Code
    # rm /etc/resolv.conf
    # echo "nameserver 8.8.8.8" >> /etc/resolv.conf
    # echo "nameserver 8.8.4.4" >> /etc/resolv.conf
    # chattr +i /etc/resolv.conf


    But my problem is that it seems like OMV5 has not been fully installed, as after the upgrasde command:


    Code
    # apt-get update
    # apt-get dist-upgrade

    I got this:

    Quote


    Thanks in advance.


    PD: Never mind, I got it working.

    First of all, thanks for the support.


    I am on latest offical OMV 4 branch. Whenever OMV 5 will be officially available, would it be enough to update via the web GUI? (dirty flash). I guess we should uninstall all plugins (and maybe docker images?) running on OMV 4 before.


    Or will we have to manually install it from scratch?


    PD: I see Rye has posted a way to upgrade by manually adding the sources and force the update. Is that the way to go before official upgrade arrives?


    Thanks.

    Hello all.


    I have a 120TB NAS with media files that I want to mirror to an "unlimited" cloud service like the one from Google (GSuite) as an offsite backup.


    I do not plan to mount a plexdrive, or stream from the cloud, just a "plain" offsite backup in case any HDD fails.


    Firstly, I was considering RAID/SnapRAID but I would have to invest in a new case and controller, and I already have an unlimited account on GSuite which I intend to use for this.


    I just need a rclone/duplicati configuration that allows me to mirror the HDD content on folders and performs incremental backups (if I add a new movie, compare the local content with the cloud one and upload it if new). I could run them from either dockers or plugins (I would prefer as dockers).


    Has anyone set up something similar to this? I do not need any exotic feature, maybe just to encrypt the cloud data and limit the upload speed to stay below 750GB/day which is Google's limit.


    Thanks.

    UAS or the old and anachronistic mass storage mode can make a huge difference wrt random IO. And I was a bit unclear about what could be interesting before: it's not about the external disk but your cache SSD that seems to be missing on most outputs you posted directly above.
    Anyway: one problem with ASMedia's chipsets is that the vendor reused product IDs for different chips so proper detection gets tricky. Which kernel version are you running with (uname -a)?

    uname -a

    Code
    Linux olmos13nas 4.16.0-0.bpo.2-amd64 #1 SMP Debian 4.16.12-1~bpo9+1 (2018-06-03) x86_64 GNU/Linux

    Hmm... unlikely but without knowing the contents of /etc/modprobe.d/usb-storage-quirks.conf and output of lsusb I can't tell anything... you might also watch dmesg output for informative messages...

    Here they go:
    cat /etc/modprobe.d/usb-storage-quirks.conf

    Code
    options usb-storage quirks=174c:55aa:u

    lusb

    Code
    Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 8564:1000 Transcend Information, Inc. JetFlash
    Bus 001 Device 002: ID 051d:0003 American Power Conversion UPS
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    lsusb -t (without the external hdd attached)

    Code
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    |__ Port 9: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 4: Dev 2, If 0, Class=Human Interface Device, Driver=usbfs, 12M
    |__ Port 6: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M

    lsusb -t (with the external hdd attached)

    Code
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    |__ Port 9: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 4: Dev 2, If 0, Class=Human Interface Device, Driver=usbfs, 12M
    |__ Port 6: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M

    dmesg (since the moment I attached the external drive)

    Thanks again.


    I am ok with this, I do not think I will miss any real performance between uas and usb-storage driver on the cache drive.

    Just to be sure: Did you reboot in between?

    Oh right, after a reboot it loads it as usb-storage, thank you a lot.


    The weird part is that it seems to have disabled completely uas because my cache SSD has changed from uas to usb-storage too. I have rechecked the vendor_id and product_id chain for my external enclosure in the quirks file.


    I prefer not having issues with the external drive to have a minimal boost on the cache disk so I will leave it as is now.


    Code
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    |__ Port 9: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 4: Dev 2, If 0, Class=Human Interface Device, Driver=usbfs, 12M
    |__ Port 6: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M

    Thank you again!