Posts by Morbid Angel

    Hi

    I have a problem to mount a NFS v4 share. If I try it with:

    mount -t nfs4 fs:/srv /storage/test/

    I get this:


    mount: fs:/srv failed, reason given by server: Permission denied

    mount: mounting fs:/srv on /storage/test/ failed: Bad file descriptor

    on 'normal' linux clients this command does work... What can be the problem?

    /etc/exports on nfs server looks like:

    /export *(rw,sec=sys,async,no_subtree_check,no_root_squash,fsid=0)

    /export/srv *(rw,sec=sys,async,no_subtree_check,no_root_squash)

    /export/srv/public/movie *(rw,sec=sys,async,no_subtree_check,no_root_squash,fsid=1,crossmnt)


    Greetz

    Hi

    I have problems with a forcedeth nic (Asrock ION330).

    I have a lot of rx/tx and errors and overruns.

    I've tried:

    (
    ethtool -s eth0 speed 100 duplex full autoneg off
    ethtool -A eth0 autoneg off rx off
    ) &

    in /storage/.config/autostart.sh
    and it seems a little bit better but not enough...

    I've seen there are parameters for forcedeth module which could help:msi=0 msix=0 but how can I use the parameters? it isnt a module, its compiled directly into kernel :/

    Can someone help?

    Greetz

    Hi

    I have created this file:

    /storage/.config/system.d/storage-srv.mount

    [Unit]
    Description=cifs mount script
    Requires=network-online.service
    After=network-online.service
    Before=kodi.service

    [Mount]
    What=//fs/srv
    Where=/storage/srv
    Options=username=kodi,password=\!mypass\!,ro
    Type=cifs

    [Install]
    WantedBy=multi-user.target

    activated it with systemctl enable but see at systemctl status this:

    [[0;1;31m●[[0m storage-srv.mount - cifs mount script
    Loaded: loaded (/storage/.config/system.d/storage-srv.mount; enabled; vendor preset: enabled)
    Active: [[0;1;31mfailed[[0m (Result: exit-code) since Sat 2017-01-21 20:21:15 CET; 7min ago
    Where: /storage/srv
    What: //fs/srv
    Process: 763 ExecMount=/bin/mount //fs/srv /storage/srv -t cifs -o username=kodi,password=\!mypass\!,ro [[0;1;31m(code=exited, status=255)[[0m

    Jan 21 20:20:45 wz-media systemd[1]: Mounting cifs mount script...
    Jan 21 20:20:45 wz-media mount[763]: mount: mounting //fs/srv on /storage/srv failed: Permission denied
    Jan 21 20:20:45 wz-media systemd[1]: [[0;1;39mstorage-srv.mount: Mount process exited, code=exited status=255[[0m
    Jan 21 20:20:45 wz-media systemd[1]: [[0;1;31mFailed to mount cifs mount script.[[0m
    Jan 21 20:20:45 wz-media systemd[1]: [[0;1;39mstorage-srv.mount: Unit entered failed state.[[0m

    if I do it on cmd line with:

    /bin/mount //fs/srv /storage/srv -t cifs -o username=kodi,password=\!mypass\!,ro

    it does work...

    what can be the problem?

    ('!mypass!' is not my real pass but I use '!' in my passwords, can this be a problem?)

    Greetz