X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nALLHtMP058992 for ; Sat, 21 Nov 2009 15:17:55 -0600 X-ASG-Debug-ID: 1258838296-406303970000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mailsrv1.zmi.at (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 84996A35DC for ; Sat, 21 Nov 2009 13:18:17 -0800 (PST) Received: from mailsrv1.zmi.at (mailsrv1.zmi.at [212.69.164.54]) by cuda.sgi.com with ESMTP id 3DbLG0hUw34eABpd for ; Sat, 21 Nov 2009 13:18:17 -0800 (PST) Received: from mailsrv.i.zmi.at (h081217106033.dyn.cm.kabsi.at [81.217.106.33]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mailsrv2.i.zmi.at", Issuer "power4u.zmi.at" (not verified)) by mailsrv1.zmi.at (Postfix) with ESMTP id 2CC8CC00AC3; Sat, 21 Nov 2009 22:18:16 +0100 (CET) Received: from saturn.localnet (saturn.i.zmi.at [10.72.27.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mailsrv.i.zmi.at (Postfix) with ESMTPSA id 58D2D83C824; Sat, 21 Nov 2009 22:20:04 +0100 (CET) From: Michael Monnerie Organization: it-management http://it-management.at To: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: XFS, NFS and inode64 on 2.6.27 Subject: Re: XFS, NFS and inode64 on 2.6.27 Date: Sat, 21 Nov 2009 22:17:57 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31.5-0.1-desktop; KDE/4.3.1; x86_64; ; ) Cc: Christoph Hellwig References: <200911201152.43809@zmi.at> <20091121131657.GA2095@infradead.org> In-Reply-To: <20091121131657.GA2095@infradead.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8026098.NuoB2sy1VS"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200911212217.57407@zmi.at> X-Barracuda-Connect: mailsrv1.zmi.at[212.69.164.54] X-Barracuda-Start-Time: 1258838298 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.42 X-Barracuda-Spam-Status: No, SCORE=-1.42 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=COMMA_SUBJECT X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.15225 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.60 COMMA_SUBJECT Subject is like 'Re: FDSDS, this is a subject' X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean --nextPart8026098.NuoB2sy1VS Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Samstag, 21. November 2009 Christoph Hellwig wrote: > So your NFS exports are not the roots of their respsective > filesystems?=20 That's the way it works with NFSv4. You create an NFS root dir with a=20 special entry in /etc/exports: /nfsserver 10.0.0.0/8(fsid=3D0,rw,insecure,no_subtree_check,crossmnt) and if you want other parts exported, create a dir there and mount it: mkdir /nfsserver/data mount --bind /mydata /nfsserver/data This just takes the inodes from there and creates something like a view=20 into this dir. From the client, you mount -t nfs4 server:/data /serverdata and you get the /nfsserver/data mounted there. > This means NFSD uses non-standard filesystem IDs in the > filehandles which have to encode the inode number of the export > root. Your best option is to simplify switch to exporting a whole > filesystem,=20 That's how it worked until NFSv3. I tried that also, didn't work either. The whole thing worked before I reinstalled it (this server now runs=20 virtualized within XENserver), and maybe that made some subdirs have=20 inodes > 32bit. > alternatively you can try making sure NFSD uses the > 16byte wide UUID style export. =20 How'd I do that? > Note thast either way will only work > with a 64bit kernel as the fs has no say in encoding the filesystem > part of the handle and ino_t is always 32bit on 32bit platforms.=20 > This will also affect any other filesystem with 64bit inode numbers. Not my problem, everything 64bit here. I use the kernel-nfsd, and that's=20 why I was wondering to have this problem. mfg zmi =2D-=20 // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 --nextPart8026098.NuoB2sy1VS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEABECAAYFAksIWQUACgkQzhSR9xwSCbRXXACeNX3kDWOUgAsE4FJM7pskR4qt ElgAn06YHxQK0E3jmzTSHxMh66nJGnWA =/Cvg -----END PGP SIGNATURE----- --nextPart8026098.NuoB2sy1VS--