linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFS4: "Value too large for defined data type" problem
@ 2013-02-15  9:37 Sven Geggus
  2013-02-15 18:18 ` J. Bruce Fields
  2013-02-15 18:26 ` Myklebust, Trond
  0 siblings, 2 replies; 4+ messages in thread
From: Sven Geggus @ 2013-02-15  9:37 UTC (permalink / raw)
  To: linux-nfs

Hello,

is there something which can be done server-side to work around the "Value
too large for defined data type" problem with huge inode Numbers?

First of all, I'm not shure if this is an NFS problem or one of the
underlying filesystem.

Background:
I set up a new NFS-server (NFS4) recently. The server works fine so far with
64 bit Linux clients.

It also mostly works with 32 bit Linux clients when either the stat system
call is not used or "-D_FILE_OFFSET_BITS=64" has been used.

This is because on 32 bit Linux ino_t is not 64-bit otherwise.

Unfortunately at least the 32bit Version of Debian stable (6.0) seems to
break all over the place. E.g. in gnome when stat ~/.gnome2_private/ fails
it is assumed that the directory has to be created which will of course make
the subsequent call to mkdir also fail and break the whole desktop
environment afterwords.

Regards

Sven

-- 
Um Kontrolle Ihres Kontos wiederzugewinnen, klicken Sie bitte auf das
Verbindungsgebrüll. (aus einer Ebay fishing Mail)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NFS4: "Value too large for defined data type" problem
  2013-02-15  9:37 NFS4: "Value too large for defined data type" problem Sven Geggus
@ 2013-02-15 18:18 ` J. Bruce Fields
  2013-02-15 18:26 ` Myklebust, Trond
  1 sibling, 0 replies; 4+ messages in thread
From: J. Bruce Fields @ 2013-02-15 18:18 UTC (permalink / raw)
  To: Sven Geggus; +Cc: linux-nfs

On Fri, Feb 15, 2013 at 09:37:57AM +0000, Sven Geggus wrote:
> Hello,
> 
> is there something which can be done server-side to work around the "Value
> too large for defined data type" problem with huge inode Numbers?
> 
> First of all, I'm not shure if this is an NFS problem or one of the
> underlying filesystem.
> 
> Background:
> I set up a new NFS-server (NFS4) recently. The server works fine so far with
> 64 bit Linux clients.
> 
> It also mostly works with 32 bit Linux clients when either the stat system
> call is not used or "-D_FILE_OFFSET_BITS=64" has been used.
> 
> This is because on 32 bit Linux ino_t is not 64-bit otherwise.
> 
> Unfortunately at least the 32bit Version of Debian stable (6.0) seems to
> break all over the place. E.g. in gnome when stat ~/.gnome2_private/ fails
> it is assumed that the directory has to be created which will of course make
> the subsequent call to mkdir also fail and break the whole desktop
> environment afterwords.

What filesystem are you exporting?

For xfs, as an example, see the discussion of 64-bit inode numbers in
the mkfs.xfs man page.

--b.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: NFS4: "Value too large for defined data type" problem
  2013-02-15  9:37 NFS4: "Value too large for defined data type" problem Sven Geggus
  2013-02-15 18:18 ` J. Bruce Fields
@ 2013-02-15 18:26 ` Myklebust, Trond
  2013-02-22  8:57   ` Sven Geggus
  1 sibling, 1 reply; 4+ messages in thread
From: Myklebust, Trond @ 2013-02-15 18:26 UTC (permalink / raw)
  To: Sven Geggus, linux-nfs@vger.kernel.org

PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBsaW51eC1uZnMtb3duZXJAdmdl
ci5rZXJuZWwub3JnIFttYWlsdG86bGludXgtbmZzLQ0KPiBvd25lckB2Z2VyLmtlcm5lbC5vcmdd
IE9uIEJlaGFsZiBPZiBTdmVuIEdlZ2d1cw0KPiBTZW50OiBGcmlkYXksIEZlYnJ1YXJ5IDE1LCAy
MDEzIDQ6MzggQU0NCj4gVG86IGxpbnV4LW5mc0B2Z2VyLmtlcm5lbC5vcmcNCj4gU3ViamVjdDog
TkZTNDogIlZhbHVlIHRvbyBsYXJnZSBmb3IgZGVmaW5lZCBkYXRhIHR5cGUiIHByb2JsZW0NCj4g
DQo+IEhlbGxvLA0KPiANCj4gaXMgdGhlcmUgc29tZXRoaW5nIHdoaWNoIGNhbiBiZSBkb25lIHNl
cnZlci1zaWRlIHRvIHdvcmsgYXJvdW5kIHRoZSAiVmFsdWUNCj4gdG9vIGxhcmdlIG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kIGJyZWFrIHRoZSB3aG9sZSBkZXNrdG9wIGVu
dmlyb25tZW50DQo+IGFmdGVyd29yZHMuDQo+IA0KPiBSZWdhcmRzDQo+IA0KPiBTdmVuDQo+IA0K
DQpJZiB5b3VyIGFwcGxpY2F0aW9ucyBhcmUgdW5hYmxlIHRvIGNvcGUgd2l0aCA2NC1iaXQgaW5v
ZGUgbnVtYmVycywgdGhlbiB5b3UgY2FuIHR1cm4gYmFjayBvbiB0aGUgaW5vZGUgbnVtYmVyIG1h
cHBpbmcgb24gdGhlIG5mcyBjbGllbnQ6DQoNCmVjaG8gIm9wdGlvbnMgbmZzIGVuYWJsZV9pbm82
ND1OIiA+L2V0Yy9tb2Rwcm9iZS5kL29wdGlvbnMtbG9jYWwuY29uZg0KDQphbmQgdGhlbiBlaXRo
ZXIgcmVib290LCBvciB1bmxvYWQgYW5kIHJlbG9hZCB5b3VyIG5mcyBtb2R1bGUuDQpUcm9uZA0K

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NFS4: "Value too large for defined data type" problem
  2013-02-15 18:26 ` Myklebust, Trond
@ 2013-02-22  8:57   ` Sven Geggus
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Geggus @ 2013-02-22  8:57 UTC (permalink / raw)
  To: linux-nfs

Myklebust, Trond <Trond.Myklebust@netapp.com> wrote:

> If your applications are unable to cope with 64-bit inode numbers, then
> you can turn back on the inode number mapping on the nfs client:
> 
> echo "options nfs enable_ino64=N" >/etc/modprobe.d/options-local.conf

Thanks, works fine.

Sven

-- 
Das allgemeine Persönlichkeitsrecht (Art. 2 Abs.1 i.V.m. Art.1 Abs. 1GG)
umfasst das Grundrecht auf Gewährleistung der Vertraulichkeit und Integrität
informationstechnischer Systeme. (BVerfG, 1BvR 370/07)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-22  8:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-15  9:37 NFS4: "Value too large for defined data type" problem Sven Geggus
2013-02-15 18:18 ` J. Bruce Fields
2013-02-15 18:26 ` Myklebust, Trond
2013-02-22  8:57   ` Sven Geggus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).