FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-08-2011, 05:16 PM
Mario Kleinsasser
 
Default Possible bug in nfs-common (Lenny != Squeeze)?

Hello List!
Currently I am facing the following problem. At work site we have an IBM mainframe (i6OS). We are using this mainframe as NFS server to share data between both worlds.Since the mainframe NFS supports v.4 we are using it because it is much easier to handle through firewalls (single port etc.)

In this setup the Debian server (Lenny) is acting as NFS client that is working quite cool. No problem on mounting, reading, writing files....If I am using a fresh Squeeze installation, it is impossible to mount the NFS share. No chance.

The NFS client gave me the information "Access denied".In*/var/log/syslog I got the message that user xyz@domain is not mappable to a local user. I've read a lot about the domain thing from NFSv4 and also about idmapd etc.... (and tried a lot) but why it works with Lenny but not with Squeeze?
This setup runs inside a VMWare Esxi environment so its easy to test the behavior. When I shutdown the Squeeze box and startup the Lenny box (same IP etc...), all is working without problems. The other way - no chance. I also read about some problems in the Debian bug tracker and a common workaround for some problems is to downgrade to the Lenny version of nfs-common, like bug #585085.

My question: is anyone using Lenny and Squeeze as NFS v4 only client in parallel? I have not installed a "normal" NFSv4 server until know.... I hope anyone could give me a hint to solve this.

For your information, both servers, Lenny and Squeeze are installed from scratch (net-installer) without any modifications afterwards. First thing I've tested after installation is to mount the NFS server share. I guess there has something changed in the nfs-common package because I have the same problem if I am using an Ubuntu 10.4. Should I file a bug with detailed informations?

Any help is appreciated!*
Mario

--
http://www.n0r1sk.com
 
Old 02-08-2011, 05:31 PM
Tom H
 
Default Possible bug in nfs-common (Lenny != Squeeze)?

On Tue, Feb 8, 2011 at 1:16 PM, Mario Kleinsasser
<mario.kleinsasser+debian@gmail.com> wrote:
>
> Currently I am facing the following problem. At work site we have an IBM
> mainframe (i6OS). We are using this mainframe as NFS server to share data
> between both worlds.
> Since the mainframe NFS supports v.4 we are using it because it is much
> easier to handle through firewalls (single port etc.)
> In this setup the Debian server (Lenny) is acting as NFS client that is
> working quite cool. No problem on mounting, reading, writing files....
> If I am using a fresh Squeeze installation, it is impossible to mount the
> NFS share. No chance.
> The NFS client gave me the information "Access denied".
> In*/var/log/syslog I got the message that user xyz@domain is not mappable to
> a local user. I've read a lot about the domain thing from NFSv4 and also
> about idmapd etc.... (and tried a lot) but why it works with Lenny but not
> with Squeeze?
> This setup runs inside a VMWare Esxi environment so its easy to test the
> behavior. When I shutdown the Squeeze box and startup the Lenny box (same IP
> etc...), all is working without problems. The other way - no chance. I also
> read about some problems in the Debian bug tracker and a common workaround
> for some problems is to downgrade to the Lenny version of nfs-common, like
> bug #585085.
> My question: is anyone using Lenny and Squeeze as NFS v4 only client in
> parallel? I have not installed a "normal" NFSv4 server until know.... I hope
> anyone could give me a hint to solve this.
> For your information, both servers, Lenny and Squeeze are installed from
> scratch (net-installer) without any modifications afterwards. First thing
> I've tested after installation is to mount the NFS server share. I guess
> there has something changed in the nfs-common package because I have the
> same problem if I am using an Ubuntu 10.4. Should I file a bug with detailed
> informations?

Squeeze defaults to nfsv4 so you have to synchronize the NFS domains
of the server or client or force an nfsv3 mount on the Squeeze box.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610953
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609487


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/AANLkTi=4oPNFe3ze9gbnDyXnBommXSD44-nRmHbEap@mail.gmail.com
 
Old 02-09-2011, 01:37 PM
Mario Kleinsasser
 
Default Possible bug in nfs-common (Lenny != Squeeze)?

Hello Tom,
thanks for information about the "known" bugs.
I read forward and as I understand, with nfs4 we all must use domains.As i read we have to configure the domain settings correct and maybe we have to manage it to use nfs4 by different domains. (http://www.enterprisenetworkingplanet.com/netos/article.php/3644471/Implement-NFSv4-Domains-and-Authentication.htm). OK, sounds serious.

But why is it working with Lenny? We have not changed anything on the mainframe. So the domains setting was and is still different......?

Regards,
Mario


On Tue, Feb 8, 2011 at 7:31 PM, Tom H <tomh0665@gmail.com> wrote:


On Tue, Feb 8, 2011 at 1:16 PM, Mario Kleinsasser

<mario.kleinsasser+debian@gmail.com> wrote:

>

> Currently I am facing the following problem. At work site we have an IBM

> mainframe (i6OS). We are using this mainframe as NFS server to share data

> between both worlds.

> Since the mainframe NFS supports v.4 we are using it because it is much

> easier to handle through firewalls (single port etc.)

> In this setup the Debian server (Lenny) is acting as NFS client that is

> working quite cool. No problem on mounting, reading, writing files....

> If I am using a fresh Squeeze installation, it is impossible to mount the

> NFS share. No chance.

> The NFS client gave me the information "Access denied".

> In*/var/log/syslog I got the message that user xyz@domain is not mappable to

> a local user. I've read a lot about the domain thing from NFSv4 and also

> about idmapd etc.... (and tried a lot) but why it works with Lenny but not

> with Squeeze?

> This setup runs inside a VMWare Esxi environment so its easy to test the

> behavior. When I shutdown the Squeeze box and startup the Lenny box (same IP

> etc...), all is working without problems. The other way - no chance. I also

> read about some problems in the Debian bug tracker and a common workaround

> for some problems is to downgrade to the Lenny version of nfs-common, like

> bug #585085.

> My question: is anyone using Lenny and Squeeze as NFS v4 only client in

> parallel? I have not installed a "normal" NFSv4 server until know.... I hope

> anyone could give me a hint to solve this.

> For your information, both servers, Lenny and Squeeze are installed from

> scratch (net-installer) without any modifications afterwards. First thing

> I've tested after installation is to mount the NFS server share. I guess

> there has something changed in the nfs-common package because I have the

> same problem if I am using an Ubuntu 10.4. Should I file a bug with detailed

> informations?



Squeeze defaults to nfsv4 so you have to synchronize the NFS domains

of the server or client or force an nfsv3 mount on the Squeeze box.



http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610953

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609487





--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: http://lists.debian.org/AANLkTi4oPNFe3ze9gbnDyXnBommXSD44-nRmHbEap@mail.gmail.com





--
http://www.n0r1sk.com
 
Old 02-09-2011, 01:52 PM
Mario Kleinsasser
 
Default Possible bug in nfs-common (Lenny != Squeeze)?

Small follow up:
I noticed that the command rpc.idmapd with parameters like "-d ..." quits with the message, that the program must be configured through /etc/idmapd.conf and isn't runnable anymore by giving the parameters by command line.

The man(5) *page of idmapd says nothing about it. Ok, its only a very small discrepancy but I want to tell.
Regards,
Mario


On Wed, Feb 9, 2011 at 3:37 PM, Mario Kleinsasser <mario.kleinsasser+debian@gmail.com> wrote:

Hello Tom,
thanks for information about the "known" bugs.
I read forward and as I understand, with nfs4 we all must use domains.As i read we have to configure the domain settings correct and maybe we have to manage it to use nfs4 by different domains. (http://www.enterprisenetworkingplanet.com/netos/article.php/3644471/Implement-NFSv4-Domains-and-Authentication.htm). OK, sounds serious.

But why is it working with Lenny? We have not changed anything on the mainframe. So the domains setting was and is still different......?


Regards,
Mario


On Tue, Feb 8, 2011 at 7:31 PM, Tom H <tomh0665@gmail.com> wrote:



On Tue, Feb 8, 2011 at 1:16 PM, Mario Kleinsasser

<mario.kleinsasser+debian@gmail.com> wrote:

>

> Currently I am facing the following problem. At work site we have an IBM

> mainframe (i6OS). We are using this mainframe as NFS server to share data

> between both worlds.

> Since the mainframe NFS supports v.4 we are using it because it is much

> easier to handle through firewalls (single port etc.)

> In this setup the Debian server (Lenny) is acting as NFS client that is

> working quite cool. No problem on mounting, reading, writing files....

> If I am using a fresh Squeeze installation, it is impossible to mount the

> NFS share. No chance.

> The NFS client gave me the information "Access denied".

> In*/var/log/syslog I got the message that user xyz@domain is not mappable to

> a local user. I've read a lot about the domain thing from NFSv4 and also

> about idmapd etc.... (and tried a lot) but why it works with Lenny but not

> with Squeeze?

> This setup runs inside a VMWare Esxi environment so its easy to test the

> behavior. When I shutdown the Squeeze box and startup the Lenny box (same IP

> etc...), all is working without problems. The other way - no chance. I also

> read about some problems in the Debian bug tracker and a common workaround

> for some problems is to downgrade to the Lenny version of nfs-common, like

> bug #585085.

> My question: is anyone using Lenny and Squeeze as NFS v4 only client in

> parallel? I have not installed a "normal" NFSv4 server until know.... I hope

> anyone could give me a hint to solve this.

> For your information, both servers, Lenny and Squeeze are installed from

> scratch (net-installer) without any modifications afterwards. First thing

> I've tested after installation is to mount the NFS server share. I guess

> there has something changed in the nfs-common package because I have the

> same problem if I am using an Ubuntu 10.4. Should I file a bug with detailed

> informations?



Squeeze defaults to nfsv4 so you have to synchronize the NFS domains

of the server or client or force an nfsv3 mount on the Squeeze box.



http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610953

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609487





--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: http://lists.debian.org/AANLkTi4oPNFe3ze9gbnDyXnBommXSD44-nRmHbEap@mail.gmail.com





--
http://www.n0r1sk.com





--
http://www.n0r1sk.com
 
Old 02-09-2011, 09:01 PM
Tom H
 
Default Possible bug in nfs-common (Lenny != Squeeze)?

On Wed, Feb 9, 2011 at 9:37 AM, Mario Kleinsasser
<mario.kleinsasser+debian@gmail.com> wrote:
> On Tue, Feb 8, 2011 at 7:31 PM, Tom H <tomh0665@gmail.com> wrote:
>> On Tue, Feb 8, 2011 at 1:16 PM, Mario Kleinsasser
>> <mario.kleinsasser+debian@gmail.com> wrote:
>> >
>> > Currently I am facing the following problem. At work site we have an IBM
>> > mainframe (i6OS). We are using this mainframe as NFS server to share
>> > data
>> > between both worlds.
>> > Since the mainframe NFS supports v.4 we are using it because it is much
>> > easier to handle through firewalls (single port etc.)
>> > In this setup the Debian server (Lenny) is acting as NFS client that is
>> > working quite cool. No problem on mounting, reading, writing files....
>> > If I am using a fresh Squeeze installation, it is impossible to mount
>> > the
>> > NFS share. No chance.
>> > The NFS client gave me the information "Access denied".
>> > In*/var/log/syslog I got the message that user xyz@domain is not
>> > mappable to
>> > a local user. I've read a lot about the domain thing from NFSv4 and also
>> > about idmapd etc.... (and tried a lot) but why it works with Lenny but
>> > not
>> > with Squeeze?
>> > This setup runs inside a VMWare Esxi environment so its easy to test the
>> > behavior. When I shutdown the Squeeze box and startup the Lenny box
>> > (same IP
>> > etc...), all is working without problems. The other way - no chance. I
>> > also
>> > read about some problems in the Debian bug tracker and a common
>> > workaround
>> > for some problems is to downgrade to the Lenny version of nfs-common,
>> > like
>> > bug #585085.
>> > My question: is anyone using Lenny and Squeeze as NFS v4 only client in
>> > parallel? I have not installed a "normal" NFSv4 server until know.... I
>> > hope
>> > anyone could give me a hint to solve this.
>> > For your information, both servers, Lenny and Squeeze are installed from
>> > scratch (net-installer) without any modifications afterwards. First
>> > thing
>> > I've tested after installation is to mount the NFS server share. I guess
>> > there has something changed in the nfs-common package because I have the
>> > same problem if I am using an Ubuntu 10.4. Should I file a bug with
>> > detailed
>> > informations?
>>
>> Squeeze defaults to nfsv4 so you have to synchronize the NFS domains
>> of the server or client or force an nfsv3 mount on the Squeeze box.
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610953
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609487

> thanks for information about the "known" bugs.
> I read forward and as I understand, with nfs4 we all must use domains.
> As i read we have to configure the domain settings correct and maybe we have
> to manage it to use nfs4 by different domains.
> (http://www.enterprisenetworkingplanet.com/netos/article.php/3644471/Implement-NFSv4-Domains-and-Authentication.htm).
> OK, sounds serious.
> But why is it working with Lenny? We have not changed anything on the
> mainframe. So the domains setting was and is still different......?

You're welcome.

Are you sure that Lenny's using nfsv4?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTi=5k4uMAZugLJeYcOfjXNOPPsjEpMO0FU5s-3YC@mail.gmail.com">http://lists.debian.org/AANLkTi=5k4uMAZugLJeYcOfjXNOPPsjEpMO0FU5s-3YC@mail.gmail.com
 
Old 02-10-2011, 05:47 PM
Mario Kleinsasser
 
Default Possible bug in nfs-common (Lenny != Squeeze)?

You're welcome.



Are you sure that Lenny's using nfsv4?





Yes, I am sure because of this two points (Lenny):
First:08:30 root@xxxxxxxxxxxxxx:/mnt# mount -v -t nfs4 xxx.xxx.xxx.xxx:/home/USERNAME /mnt/test

mount.nfs4: pinging: prog 100003 vers 4 prot tcp port 2049xxx.xxx.xxx.xxx:/home/USERNAME on /mnt/test type nfs4 (rw)
Second:The Lenny server is in an DMZ and only port 2049 is allowed to the destination machine. NFS3 is impossible and the firewall log is clear - the server is ONLY using port 2049.


I hope that I could post the output from squeeze in the next few days. But the error is as I described in the mails before. Currently I have little time at work to test and document all exactly.

Regards,
Mario

*

--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: http://lists.debian.org/AANLkTi5k4uMAZugLJeYcOfjXNOPPsjEpMO0FU5s-3YC@mail.gmail.com





--
http://www.n0r1sk.com
 
Old 02-11-2011, 10:17 AM
Tom H
 
Default Possible bug in nfs-common (Lenny != Squeeze)?

On Thu, Feb 10, 2011 at 1:47 PM, Mario Kleinsasser
<mario.kleinsasser+debian@gmail.com> wrote:
>>
>> Are you sure that Lenny's using nfsv4?
>
> Yes, I am sure because of this two points (Lenny):
> First:
> 08:30 root@xxxxxxxxxxxxxx:/mnt# mount -v -t nfs4
> xxx.xxx.xxx.xxx:/home/USERNAME /mnt/test
> mount.nfs4: pinging: prog 100003 vers 4 prot tcp port 2049
> xxx.xxx.xxx.xxx:/home/USERNAME on /mnt/test type nfs4 (rw)
> Second:
> The Lenny server is in an DMZ and only port 2049 is allowed to the
> destination machine. NFS3 is impossible and the firewall log is clear - the
> server is ONLY using port 2049.

Are "Domain" in "/etc/idmapd.conf" and the output of "hostname -d" on
the lenny, squeeze, and nfs server boxes (or the IBM box equivalents)
the same?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTik7kpTgeLWuAbe9n9KgMDgwkx-5x78W1W5G9zd4@mail.gmail.com">http://lists.debian.org/AANLkTik7kpTgeLWuAbe9n9KgMDgwkx-5x78W1W5G9zd4@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 01:24 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org