OpenSuse 13.1 NFS Server Problems

I have a home nfs network linking 4 computers. I have been running OpenSuse 12.3 on my main computer that holds my media files, pictures and documents.
I haven’t had any problem exporting files with nfs for a long time.

Because OpenSuse 13.1 has been around for a while, and because it’s going to be “evergreened”, I thought it was time to switch to Opensuse 13.1. A clean installation of OpenSuse 64 bit seemed to proceed just fine.

However, when I tried to export a couple of directories via nfs (Used Yast, nfsserver, entered the directories) I kept getting an error message saying “Unable to start idmapd”
and telling me to check my domain.

The threads I have examined don’t seem to have an answer as to what is going on.

What is happening here, and what needs to be done to fix this?

On 2014-09-17 19:46, robertsmits wrote:

> However, when I tried to export a couple of directories via nfs (Used
> Yast, nfsserver, entered the directories) I kept getting an error
> message saying “Unable to start idmapd”
> and telling me to check my domain.

I don’t know/remember if this is the case, but if apparmour is running,
you could try stopping it for a moment, then try again. If it works,
then you can adapt the apparmour profiles using aa-logprof.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

very interested in your result.
I could not get the NFS to work on my setup, even though I specifically did not even install apparmor on my server.
currently I am running Samba shares on my.

I’m running NFS without issues (v4) with 13.1.

The idmapd error can be ignored, it’s not causing the failure - you get it even on a fully working system as it used to be a separate package but is now included in the nfssserver and apparently YAST hasn’t been updated.

However NFSv4 has totally different exports format than v3, have you adapted it?

sorry Miuku, but I am sort of/ kind of a noob to Linux, even though I have managed to build out
my current server setup (OpenSuse 13.1 + Xen and Samba for sharing)
moved my laptop to opensuse 13.1 (I do not use it much at the moment but it had XP on it.)
as well as HTPC , and main office PC to Linux Mint.
I am kind of good with google :-).

but I could not find a descent howTo on making the NFS work on the server. nothing I found work thus Samba setup.

my main goal is to have a good Server setup to use as
A. File server for the home (central data store and HTPC multimedia store)
B. A Virtual server to run several special use VMs like
— headless Ubuntu server for SubNZB+ coach potato + sick beard
,Torrent (Transmission or Deluge), a Calibre Server
— a UTM box (Sophos or pfSense)
— maybe MyOwnCloud VM for external sharing (not sure how I will set it up yet but it’s a thought)
OR maybe just will run an FTP server and be done with it.

but for all that the Dom0 must be able to share the storage space properly. so like OP I am working on figuring out on how to just that. I read that NFS is the best for sharing amongst Linux machines.

If SMB/CIFS is working for you, there is no need for NFS really - it’s useful for very specific situations, for “normal use” SMB/CIFS is just as good.

thanks, yes SMB works OK. I have to figure out best share layout and such but other than that I can get to my test share just fine.

On 2014-09-18 22:16, vl1969 wrote:

> but I could not find a descent howTo on making the NFS work on the
> server. nothing I found work thus Samba setup.
>
> my main goal is to have a good Server setup to use as
> A. File server for the home (central data store and HTPC multimedia
> store)
> B. A Virtual server to run several special use VMs like
> — headless Ubuntu server for SubNZB+ coach potato + sick beard
> ,Torrent (Transmission or Deluge), a Calibre Server
> — a UTM box (Sophos or pfSense)
> — maybe MyOwnCloud VM for external sharing (not sure how I will set
> it up yet but it’s a thought)
> OR maybe just will run an FTP server and be done with it.
>
>
> but for all that the Dom0 must be able to share the storage space
> properly. so like OP I am working on figuring out on how to just that. I
> read that NFS is the best for sharing amongst Linux machines.

I think that your problem and goal are different from those of the
Original Poster, ie, robertsmits. IMHO, it is better if you start a new
thread, or the different advice to you both will confuse the other
person, and your responses will also confuse us volunteers as to what
applies to whom.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

ohh robin_listas, I know that my goal and OP are not exactly the same.
and I will start new thread when ready. I was just explaining what I have been trying to do to make my initial response clearer as to why I did what I did and such.

as it was , I said that my install excluded the ‘apparmor’ completely and since it is not a standard, as most people install that app by default, I want to clarify my intentions and whatnot.

On 2014-09-19 13:26, vl1969 wrote:
>
> ohh robin_listas, I know that my goal and OP are not exactly the same.
> and I will start new thread when ready. I was just explaining what I
> have been trying to do to make my initial response clearer as to why I
> did what I did and such.
>
> as it was , I said that my install excluded the ‘apparmor’ completely
> and since it is not a standard, as most people install that app by
> default, I want to clarify my intentions and whatnot.

Ok, understood :slight_smile:

I was not even sure if apparmour affected. I do know that it causes
problems in several services, but I did not remember if nfs was one of them.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

when I first started building out my server I cam across a blog that seams to suggest that it is not a good idea to run apparmor on server setup as it does interfere with some services and admin tasks.
can’t remember what exactly but as I was trying things out and installing apps and services I had to turn it on/off multiple time just to see if it was the source of the issues I was having.

so after couple of rebuilds (long story but I had screwed up several installs so bad that reinstall was the only option) I just do a custom install and uncheck the apparmor from the initial setup all the time now, except when I build the desktop.

since it is a home server and I do not plan to give a direct access to it to anyone I just do not install it. maybe some time later I will build out a VM to learn how to use it properly and than install it back on my server, but for now will fly free :slight_smile:

On 2014-09-19 16:16, vl1969 wrote:
>
> when I first started building out my server I cam across a blog that
> seams to suggest that it is not a good idea to run apparmor on server
> setup as it does interfere with some services and admin tasks.

That’s akin to saying, in the Windows world, that you remove the
antivirus or the firewall (and I have seen admins doing that), because
they interfere.

> can’t remember what exactly but as I was trying things out and
> installing apps and services I had to turn it on/off multiple time just
> to see if it was the source of the issues I was having.

You can instead run “aa-logprof”. You immediately see the hits, and can
decide whether to allow or deny them.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

well it’s nice when you know what you doing :slight_smile:
at the time I did not see that suggestions or command anywhere
and the thing was I did not see any errors per see, just some things would not work after install or install failed with cryptic non descrypt error I could not trace to anything solid.

thanks, next time may try installing it back and see if it works.

On 2014-09-19 17:46, vl1969 wrote:

> well it’s nice when you know what you doing :slight_smile:
> at the time I did not see that suggestions or command anywhere
> and the thing was I did not see any errors per see, just some things
> would not work after install or install failed with cryptic non descrypt
> error I could not trace to anything solid.

Yes, you are right: errors caused by apparmour are cryptic because they
do not say anything that suggests “apparmour”. When baffled, you may
remember about it and verify. If you don’t remember, then you may ask
here, and then somebody tells you that it is a known problem caused by
AA - LOL, yes, it happened to me, with my years of experience X’-)

Applications only see that the get a permission denied to something, at
a point that should not happen, because the file permissions of what
they try say that they are allowed to do it. But then it fails with
permission failed at that unexpected place in the code, causing then
strange errors with no real hints. Very unfortunate, yes.

Sigh…

But, I feel safer using it…


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Hello to everyone :wink: Soon, I have installed OpenSUSE 13.1 on my old computer but I have a problem. I supposed it is a plugin or server problem, I don’t know exactly. Every time I am trying to browse any tv or load a lol game that need flash plugin and player, they cannot start playing. Also, I have installed flash plugin and player but the problem hasn’t gone :(… Could you help me solve the problem, please!