external hdd not configurable: please help (beginner)

  • Hi everybody,


    I have installed OMV 5.5.12-1 (Ursul) on a Raspberry Pi 4. I can connect to it via wifi/ethernet, log in, etc., but I cannot work with my external harddrives.

    There is a total of four 2.5" Western Digital Elements Portable (model number WDBU6Y0050BBK-WESN) drives that are connected to the Pi via USB 3.0, either directly (just one drive), or via an active USB hub with external power supply.


    Unfortunately, my system is set to German language, so I will provide some screenshots rather than guessing the exact translation to each setting.


    Just now there is only one HDD connected to keep things simple. It will appear under volumes => harddrives like this


    When I go to volumes => file systems, it looks like this


    Both /dev/sda1 and /dev/disk/by-label/Elements should be the same device. However, one is set to ext4, the other to ntfs. When I select /dev/sda1 and chose mount, I get this 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': raspberrypi: ---------- ID: create_filesystem_mountpoint_a3856fbf-cc90-4252-a09d-5644cb5af1d3 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_a3856fbf-cc90-4252-a09d-5644cb5af1d3 for file /etc/fstab was charged by text Started: 09:23:43.933588 Duration: 2.296 ms Changes: ---------- ID: mount_filesystem_mountpoint_a3856fbf-cc90-4252-a09d-5644cb5af1d3 Function: mount.mounted Name: /srv/dev-disk-by-label-Elements Result: False Comment: ntfs-3g: Failed to access volume '/dev/disk/by-label/Elements': No such file or directory ntfs-3g 2017.3.23AR.3 integrated FUSE 28 - Third Generation NTFS Driver Configuration type 7, XATTRS are on, POSIX ACLS are on Copyright (C) 2005-2007 Yura Pakhuchiy Copyright (C) 2006-2009 Szabolcs Szakacsits Copyright (C) 2007-2017 Jean-Pierre Andre Copyright (C) 2009 Erik Larsson Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point> Options: ro (read-only mount), windows_names, uid=, gid=, umask=, fmask=, dmask=, streams_interface=. Please see the details in the manual (type: man ntfs-3g). Example: ntfs-3g /dev/sda1 /mnt/windows News, support and information: http://tuxera.com Started: 09:23:43.937852 Duration: 164.314 ms Changes: ---------- ID: create_filesystem_mountpoint_7d17c426-ed3e-4182-9a8e-3413bffce4c8 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_7d17c426-ed3e-4182-9a8e-3413bffce4c8 for file /etc/fstab was charged by text Started: 09:23:44.102798 Duration: 3.073 ms Changes: ---------- ID: mount_filesystem_mountpoint_7d17c426-ed3e-4182-9a8e-3413bffce4c8 Function: mount.mounted Name: /srv/dev-disk-by-label-1.42.6-25426 Result: True Comment: Target was successfully mounted Started: 09:23:44.106194 Duration: 627.394 ms Changes: ---------- mount: True ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 09:23:44.736440 Duration: 10.182 ms Changes: Summary for raspberrypi ------------ Succeeded: 4 (changed=1) Failed: 1 ------------ Total states run: 5 Total run time: 807.259 ms


    However, after applying the configuration (top right corner), and after another error (below), it seems to be mounted, as I have the option to unmount it when I select it now.


    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': raspberrypi: ---------- ID: create_filesystem_mountpoint_a3856fbf-cc90-4252-a09d-5644cb5af1d3 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_a3856fbf-cc90-4252-a09d-5644cb5af1d3 for file /etc/fstab was charged by text Started: 09:24:21.086993 Duration: 2.391 ms Changes: ---------- ID: mount_filesystem_mountpoint_a3856fbf-cc90-4252-a09d-5644cb5af1d3 Function: mount.mounted Name: /srv/dev-disk-by-label-Elements Result: False Comment: ntfs-3g: Failed to access volume '/dev/disk/by-label/Elements': No such file or directory ntfs-3g 2017.3.23AR.3 integrated FUSE 28 - Third Generation NTFS Driver Configuration type 7, XATTRS are on, POSIX ACLS are on Copyright (C) 2005-2007 Yura Pakhuchiy Copyright (C) 2006-2009 Szabolcs Szakacsits Copyright (C) 2007-2017 Jean-Pierre Andre Copyright (C) 2009 Erik Larsson Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point> Options: ro (read-only mount), windows_names, uid=, gid=, umask=, fmask=, dmask=, streams_interface=. Please see the details in the manual (type: man ntfs-3g). Example: ntfs-3g /dev/sda1 /mnt/windows News, support and information: http://tuxera.com Started: 09:24:21.091305 Duration: 149.119 ms Changes: ---------- ID: create_filesystem_mountpoint_7d17c426-ed3e-4182-9a8e-3413bffce4c8 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_7d17c426-ed3e-4182-9a8e-3413bffce4c8 for file /etc/fstab was charged by text Started: 09:24:21.241048 Duration: 3.013 ms Changes: ---------- ID: mount_filesystem_mountpoint_7d17c426-ed3e-4182-9a8e-3413bffce4c8 Function: mount.mounted Name: /srv/dev-disk-by-label-1.42.6-25426 Result: True Comment: Target was already mounted Started: 09:24:21.244394 Duration: 146.291 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 09:24:21.393630 Duration: 10.22 ms Changes: Summary for raspberrypi ------------ Succeeded: 4 (changed=1) Failed: 1 ------------ Total states run: 5 Total run time: 311.034 ms

    When I select either drive and click create, I get this popup where no device can be selected (first input field)


    OMV is installed on top of raspi os via the commands found in the official documentation. When I previously asked about this in the /r/DataHoarder subreddet on reddit, I was advised to use the premade .iso image instead of installing OMV this way. I attempted to do this just now, but (a) didn't find an arm iso and (b) assume that -when even the official docs have a segment on how to installed on top of an existing system- this should work either way.


    Here is what I'd like to do


    1. connect all four 2.5" USB drives to my Pi through the active USB hub
    2. mount all drives
    3. encrypt them and create a mergerfs file system (should I encrypt them first, then create the fs, or create the fs and then encrypt that fs?)
    4. create network shares to allow other devices in my network to access data
    5. install syncthing (receive only) to back up most important files

    Whenever there is an action that requires me to select a device (see the image above "Dateisystem erstellen => Gerät: Wählen Sie ein Gerät aus"), there is nothing I can select.


    Once the drives are successfully mounted, encrypted, and combined to the mergerfs filesystem (and perhaps a RAID is created? Would you recommend this?), I should be able to create the network shares, install software, and set things up the way I need them. But I just cannot figure out how to even include my external harddrives to OMV at all.


    Thank you in advance for your help :)

  • Unfortunately, my system is set to German language, so I will provide some screenshots rather than guessing the exact translation to each setting.

    If you want to create screenshots in another language you can switch quite easily the language settings in the OMV WebUI temporarily.

    OMV 3.0.100 (Gray style)
    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1)- Fractal Design Node 304

  • Thank you. I updated the system (after re-installing raspi os all together) and now the drives can be mounted and encrypted.


    However, no mounting / decryotubg the encrypted drives doesn't work as planned. Sometimes it works, other times I get "communication error". This seems to be random, but when it happens, I cannot even mount the encrypted drives via the command line.


    Is this related to these particular drives (because they are connected via USB), or does that not have anything to do with it?

Participate now!

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