Hi there,
I hope my question is not stupid but: How can I mount a local NAS (nfs) under MicroOs?
I always did it in a terminal with: <<sudo mount 10.xx.xx.xx:/export/…/… / /home/…/…>>
Under MicroOS this way does not work. It seems that /sbin/mount is missing. How does someone install missing programs like mount under MicroOs or is there a completely different approach to mounting under MicroOS?
I´m very interested in this new organisation of an OS but have absolutely no experience. (just “standard” Linux distributions)
I really appreciate any advice. Thanks in advance, broncheolus.
While I am a nitwit about microos, I would think one has mounts defined in /etc/fstab
and not mount such a long, typing error prone, statement by hand.
And when it is in /etc/fstab
it will either being mounted from boot to shutdown, or e.g. when needed with automount (and then I would advice the systemd
version of it).
But again, I now almost nothing about microos, thus I have no idea of there are restrictions here that bar my suggestions.
10:~ # which mount
/usr/bin/mount
10:~ # grep -w ID /etc/os-release
ID="opensuse-microos"
10:~ #
Thx. Well, for me it´s quite handy. I make 2 application startes with execution in Terminal and mount and umount with a mouse click. And I do not have to mess around with fstab.
Thx. When trying to mount it says:
sudo mount 10.0.0.1:/export/-------- /home/-----/------/------
mount: home/-----/------/------: Ungültige Option; für einige Dateisysteme (z.B. nfs, cifs) werden Sie
eventuell ein /sbin/mount.-Hilfsprogramm benötigen.
dmesg(1) könnte nach einem fehlgeschlagenen mount-Systemaufruf
weitere Informationen liefern.
That´s the output so far.
dmesg says:
RPC: Registered named UNIX socket transport module.
[ 147.224082] RPC: Registered udp transport module.
[ 147.224083] RPC: Registered tcp transport module.
[ 147.224084] RPC: Registered tcp-with-tls transport module.
[ 147.224085] RPC: Registered tcp NFSv4.1 backchannel transport module.
Please put LANG=C
before your mount command and use a codeblock when posting the output, this is the English Forum. And while some of can speak, what I think is German, not everybody can.
Sorry for that, I´ll do better.
@broncheolus I would assume under Naultilus, you can just go to other locations and use nfs://....
to mount?
I found out that I can see all the Exports of my OpenVault server in Nautilus. But when I choose one of them it says: Permission denied: Perhaps this host is disallowed or a privileged port is used.
What works is the ftp shares which I use anonymous. So when it works over ftp it´s ok for me, not perfect but OK.
Thanks for your efforts.
Ok, so this looks more like an NFS issue, and less a MicroOS/Kalpa issue. I believe you need to set “allow non-root mount” or whatever the option might be on your NFS server to get this to work.
(It’s “Allow Non-Root Mount” on my TrueNAS Scale server)
@broncheolus no firewall on Aeon, likely selinux… you could try disabling selinux temporarily.
I mount NFS just fine on my Kalpa workstation, but I am using fuse-nfs to mount it in userspace, I don’t know if that changes things or not.
@sfalken I just use ssh/sftp/sshfs here…
Hi,
I just want to thank again for your help and give an update regarding my problem.
I found a solution:
One has to start the transactional-update shell with
and then do a
from within this shell.
Doing this, 6 packages are chosen to get installed. Just say ´yes´ to the suggestion and the packages find their way into your system.
Exit the shell with ´exit´ then reboot and it´s possible to do a ´mount´ for an nfs-export.
I hope that helps if somebody else has the same or a similar problem.
Greetings, broncheolus.
Don´t know how to close the topic. Any help appreciated.
@broncheolus it will auto close at a point. Note to install packages, use transaction-update pkg install <your packages>
then as long as a reboot (eg a kernel module) is not required, then you can run transactional-update apply
and it will put you into the new snapshot.
Thx @malcomlewis for your answer. I just noticed that all my commands I wrote into my post are not there any more. Don´t know why, sorry for that. But I think after your answer rewriting the post makes no sense.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.