Le Vendredi 21 Septembre 2001 04:23, Rosaire AMORE scribit :
> Pierre BINET a �crit :
> > Il y a des differences notables:
> > les quotas ne sont pas mis en place sur jfs et xfs
> > tu ne peux pas monter des systemes de fichiers jfs ni reiserfs en nfs.
>
> Faux. J'ai trois fs reiserfs que je monte et d�monte en nfs en
> permanence sans probl�me (mdk7.2, noyau 2.2.17).
>

hum. tu devrais faire vraiment attention ( en plus de mon scepticisme sur la 
faisabilit� de la chose avec cette version ancienne de reiserfs ) car le pb 
NFS est un pb connu.
cf site reiserfs : http://www.namesys.com


* What's up with NFS and ReiserFS?
    First you should note that NFSD under Linux 2.4.7 or newer has resolved 
its problems in a number of areas including its interaction with ReiserFS.

       1. knfsd: has problems with finding files again when you run out of 
the file handle cache.
          Solution:
          If you are using Linux 2.4.7 or newer, it works.
          For Linux 2.4.0,
          apply the ReiserFS knfsd.6.g patch:
          
ftp://ftp.namesys.com/pub/misc-patches/linux-2.4.0-ReiserFS-3.6.25-knfsd-6.g.patch.gz 
For Linux 2.4.2-pre4 first apply this patch:
          
ftp://ftp.namesys.com/pub/misc-patches/linux-2.4.2-pre4-knfsd-6.g.patch.gz
          and then apply Neil Brown's patch-S-nfsdop-fixup
          This is made from Neil Brown's [BDEF]-patches 
(http://www.cse.unsw.edu.au/~neilb/patches/linux/2.4.2-pre4/): support for 
ext2, ufs, isofs, efs, and from the ReiserFS knfsd.6.f patch.
          For Linux 2.4.2, 2.4.3 and 2.4.4, apply the following patches 
respectively:
          
ftp://ftp.namesys.com/pub/misc-patches/linux-2.4.2-knfsd-6.g.patch.gz, 
ftp://ftp.namesys.com/pub/misc-patches/linux-2.4.3-knfsd-6.g.patch.gz and 
ftp://ftp.namesys.com/pub/misc-patches/linux-2.4.4-knfsd-6.g.patch.gz These 
three patches are made from Neil Brown's [A-H]-patches: 
(http://www.cse.unsw.edu.au/~neilb/patches/linux/2.4.2/)
          Newer official kernels (starting from Linux 2.4.6pre3) have 
built-in knfsd support for ReiserFS.
          Note however, that although again developed by Neil Brown and Chris 
Mason, this is different code.
          For Linux 2.2, apply Andi Kleen's patches from 
ftp.suse.com:/pub/people/ak/nfs.
          For Linux 2.2.19 and ReiserFS 3.5.32, apply Chris Mason's patch 
from 
ftp://ftp.namesys.com/pub/misc-patches/linux-2.2.19-reiserfs-3.5.32-clm-knfsd-1.d.patch.gz.
          For 2.2.19pre7aa1, apply Chris Mason's patch from 
ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/B-2.2.19pre7aa1-3.5.29-knfsd-9.gz.
 
This naturally requires that you patch ReiserFS onto this kernel. See README.
          For all of them you have to let all clients remount.

       2. unfsd: works fine at first in its limits (no file locking etc.); 
but when your filesystem is big and busy it'll complain after some time about 
conflicts in the inodes and some files will behave strangely. The reason is 
that it uses the high bits of the 32bit inode number to store dev_t for 
multiple filesystem exports and after some time ReiserFS object id selection 
runs into these high bits.
          Solution is to apply the unfsd* patch from 
ftp.suse.com:/pub/people/ak/nfs and use the --no-cross-mounts option. This 
implies that you can only export single filesystems, not full filesystem 
trees. [This feature is not salvageable with ReiserFS and NFSv2; do not ask.]
          There is a known bug in the patch that is triggered by 
--no-cross-mounts that sometimes causes spurious EIO on the root dir of 
client mounts. I'll release an update for that later.


-- 
Copyleft Faber's prod. 2001
http://perso.wanadoo.fr/linux_wizard/index.html

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à