Posts by PyCoder

    Hi

    I encountered a strange problem...


    My OMV5 installation is +/- 3 months old and of a sudden it doest boot anymore because it cant mount /dev/sda1 to /boot/efi!! (See: Boot-Screenshot).
    When I remove the /boot/efi line out of the /etc/fstab my system is again booting.


    I never touched the efi partition and I can mount it manually without any issue!


    Can someone tell me wtf is going on?

    The filesyste is clear, the partition is clear, the blkid is the right.


    Code
    root@omv:~# dosfsck /dev/sda1
    fsck.fat 4.1 (2017-01-24)
    /dev/sda1: 3 files, 35/122634 clusters
    root@omv:~#
    Code
    root@omv:~# blkid /dev/sda1
    /dev/sda1: UUID="A838-E04F" TYPE="vfat" PARTUUID="0b15cb63-105d-484a-b9f3-4422af3f1044"
    Code
    root@omv:~# cat /etc/fstab | grep A838-E04F
    UUID=A838-E04F /boot/efi vfat umask=0077 0 0
    Code
    root@omv:~# mount /boot/efi/
    Code
    root@omv:~# mount | grep /boot/efi
    /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
    Code
    root@omv:~# uname -r
    5.7.0-0.bpo.2-amd64


    Maybe read your own link?


    "One more option to avoid a write hole id to use a ZFS which is a hybrid of a filesystem and a RAID. ZFS uses "copy-on-write" to provide write atomicity. However, this technology requires a special type of RAID (RAID-Z) which cannot be reduced to a combination of common RAID types (RAID 0, RAID 1, or RAID 5)."



    And tbh it's harder or almost impossible in my experience to kill a RaidZ compare to a btrfs raid 5/6.



    Try the same with btrfs.

    Try to assign one gateway only, either on wlan0 or eth0

    Doesnt work BUT i fixed it, i guess with this:


    Code
    route add default gw 192.168.0.1 wlan0



    route -n looks like this now

    Code
    root@omv:~# route -n
    Kernel-IP-Routentabelle
    Ziel Router Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

    And it works!



    BUT its not really beautiful, because i have to use rc.local :(



    Or is there a better solution?

    Hi, i have a strang problem with a new OpenMediaVault system



    The WiFi Card works, is up and i can ping my LAN but not outside (WAN).


    IP's are correct, DNS is correct, iptables is empty (disabled), submask is correct etc...


    Can someone tell me wtf is wrong?



    Cheers PyCoder


    Code
    root@omv:~# ping -I wlan0 192.168.0.1
    PING 192.168.0.1 (192.168.0.1) from 192.168.0.11 wlan0: 56(84) bytes of data.
    64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=7.00 ms
    64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.576 ms
    64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.592 ms


    But if i try to ping google.com


    Code
    root@omv:~# ping -I wlan0 google.com
    PING google.com (172.217.21.238) from 192.168.0.11 wlan0: 56(84) bytes of data.
    From OMV.linux (192.168.0.11) icmp_seq=1 Destination Host Unreachable
    From OMV.linux (192.168.0.11) icmp_seq=2 Destination Host Unreachable


    Or with the IP of google.com



    Code
    root@omv:/etc/# ping -I wlan0 216.58.207.46
    PING 216.58.207.46 (216.58.207.46) from 192.168.0.11 wlan0: 56(84) bytes of data.
    From 192.168.0.11 icmp_seq=1 Destination Host Unreachable
    From 192.168.0.11 icmp_seq=2 Destination Host Unreachable
    From 192.168.0.11 icmp_seq=3 Destination Host Unreachable


    iwconfig output looks like


    /etc/network/interfaces looks like



    route looks like

    Code
    root@omv:~# route -n
    Kernel-IP-Routentabelle
    Ziel Router Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    root@omv:~#


    iptables looks like


    Resolv.conf looks like


    Code
    root@omv:/etc/# cat resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 192.168.0.1
    search linux
    root@omv:/etc/#