NetBSD Problem Report #33990

From  Thu Jul 13 12:24:11 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 4D64C63B896
	for <>; Thu, 13 Jul 2006 12:24:11 +0000 (UTC)
Message-Id: <>
Date: Thu, 13 Jul 2006 14:24:07 +0200 (CEST)
Subject: NFS code assumes static file handle size
X-Send-Pr-Version: 3.95

>Number:         33990
>Category:       kern
>Synopsis:       NFS code assumes static file handle size
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 13 12:25:00 +0000 2006
>Last-Modified:  Thu Jul 13 12:30:00 +0000 2006
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.21
System: NetBSD 3.99.21 NetBSD 3.99.21 (MARTINS) #0: Thu Jun 29 18:07:35 CEST 2006 amd64
Architecture: x86_64
Machine: amd64
The NFS server code assumes the local host has a fixed size of filehandles.
This is not true in -current anymore.

We should consider to adapt the code better and get rid of constant NFSX_V3FH
and instead use the real fid-size in use on the exported filesystem.
code inspection

From: Martin Husemann <>
Subject: Re: kern/33990: NFS code assumes static file handle size
Date: Thu, 13 Jul 2006 14:26:53 +0200

 I forgot to mention: the assumed static filehandle size is not big enough
 for example on amd64 machines exporting CODA (does that make sense?) or
 NTFS file systems.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.