[Resolved]Problem with Rpi, fstab and config.xml

  • Hi, I have this error with a M3 Usb3 external drive on a RPi 3


    Code
    500 - Internal Server Error
    Failed to execute XPath query '//system/fstab'.

    Any idea ? Disk is there on the webgui though

    Code
    blkid
    /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="AE82-4BC1" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="c9105ecc-01"
    /dev/mmcblk0p2: LABEL="rootfs" UUID="6d2ff93e-eacd-415c-96d5-4611ad21e05f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="c9105ecc-02"
    /dev/sda1: LABEL="HARDPI" UUID="0da70cce-f234-4acc-96c9-fe45b486763b" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="365df5b8-01"


    mount : https://pastebin.com/p63VVaRn

    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system

    RPi2 32 Bits, and external hard drive
    Donator because OMV deserves it (20€ + 10€ for omv ; 10 € for omv-extras)

  • Please post the complete error message you get?

    Thanks :)


    The one I wrote in the previous message. It's when I try to add a file system in the webGUI. Nothing special in syslog


    Code
    500 - Internal Server Error
    Failed to execute XPath query '//system/fstab'.


    config.xml : https://pastebin.com/n8yhUE0D

    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system

    RPi2 32 Bits, and external hard drive
    Donator because OMV deserves it (20€ + 10€ for omv ; 10 € for omv-extras)

  • M3 Usb3 external drive on a RPi 3

    Link to it. And the size of the drive.

    And the full specs of the Pi.


    And what is uname -a output?

    • Offizieller Beitrag

    Can't use the code box when there is to much caracters

    You can put the output in a file and attach it to a post though. Much better than using third party site.

    omv 7.4.10-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.14 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ok, sorry, any hint to correct the error ? Do you need other infos ?


    Thanks

    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system

    RPi2 32 Bits, and external hard drive
    Donator because OMV deserves it (20€ + 10€ for omv ; 10 € for omv-extras)

    • Offizieller Beitrag

    You didn't post the full error (copy from the Bell in the top right of the web interface).


    Output from the following would be helpful:

    sudo mount /dev/sda1 /mnt

    sudo umount /dev/sda1

    omv 7.4.10-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.14 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Oh I did't knew there is more in the bell :/ Sorry


    sudo mount /dev/sda1 /mnt --> ok (but no file system to mount on webgui)

    sudo umount /dev/sda1 --> ok (file system in webgui but same error)


    Thanks again

    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system

    RPi2 32 Bits, and external hard drive
    Donator because OMV deserves it (20€ + 10€ for omv ; 10 € for omv-extras)

    • Offizieller Beitrag

    I did't knew there is more in the bell

    And it isn't helpful unfortunately.


    sudo mount /dev/sda1 /mnt --> ok (but no file system to mount on webgui)

    sudo umount /dev/sda1 --> ok (file system in webgui but same error)

    These were to only see if there was any error mounting the filesystem. They would not help anything in the web interface.


    I would try mounting in the web interface again. Maybe reboot and try again. Post the output of sudo dmesg | tail -n40 if the error message in the web interface is the same.

    omv 7.4.10-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.14 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thks


    If nothing work I'll try to reinstall all my sytem ! what is the best way ?


    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system

    RPi2 32 Bits, and external hard drive
    Donator because OMV deserves it (20€ + 10€ for omv ; 10 € for omv-extras)

  • (62.810017] hwmon hwmon1: Undervoltage detected!

    [ 69.050065] hwmon hwmon1: Voltage normalised

    [ 216.730358] hwmon hwmon1: Undervoltage detected!

    [ 229.210396] hwmon hwmon1: Voltage normalised

    Use a stronger power supply!

    https://github.com/Wolf2000Pi


    OMV6 Hewlett-Packard HPE-411at - Intel Core i7 CPU 870 @ 2.93GHz - 16GB Ram

    Proxmox omv 7 sandworm Dell OptiPlex 7050 i5-6500 CPU @ 3.20GHz - 32GB Ram (Test!!!!)

  • [ 17.049891] hwmon hwmon1: Undervoltage detected! [ 18.571472] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off

    Under voltage detected

  • 1. https://maxtor.seagate.com/fil…9_1_1512US_M3Portable.pdf

    2. Rpi 2 model B

    3. Linux raspberrypi 5.15.84-v7+ #1613 SMP Thu Jan 5 11:59:48 GMT 2023 armv7l GNU/Linux


    Can't use the code box when there is to much caracters ;)

    RPi2 only has USB2 ports.

    You can't use portable drives with it.


    You need a proper USB drive with external power.


    And speed won't match the speed of the drive.

  • Thanks, the total amount of current delivered by those USHB ports should be ok.


    I have the same error when I plug a usb flash drive


    Any hint to rester config.xml ? or have a clean fresh install ?


    thanks

    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system

    RPi2 32 Bits, and external hard drive
    Donator because OMV deserves it (20€ + 10€ for omv ; 10 € for omv-extras)

  • the total amount of current delivered by those USHB ports should be ok.

    Sorry but I don't understand what you mean with this.


    Any hint to rester config.xml ? or have a clean fresh install ?

    You have less troubles by fresh install.


    But don't expect great performance with it.

  • Sure I hear.


    The thing is I did try with a classic thumb drive and I have the same error. Everything worked fine till last week, by the way, with an exfat drive till I realized that file permissions were a mess with docker. I did changed to ext4, then messed up with fstab, then I don't know.... Now here I am with those errors.


    I said that USB has always a voltage of 5V. I have a good power supply attach to my Rpi2 though(I know I don't have to expect much performance). Since this disk is in USB3 mode, I think it drained to much current, and then the voltage drops (maybe I'm wrong but I have some electronic notions).

    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system

    RPi2 32 Bits, and external hard drive
    Donator because OMV deserves it (20€ + 10€ for omv ; 10 € for omv-extras)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!