Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Nfs  (gelezen 1972 keer)

Offline siegi

  • Lid
Nfs
« Gepost op: 2007/06/23, 17:20:01 »
Ik dacht vandaag ga ik eens wat experimenteren met nfs maar heb serieuze problemen om een ntfs partitie te exporteren.
volgens http://www.ntfs-3g.org gaat het
Can I export NTFS via NFS?
    Yes. But to do so, you need to read the FUSE README.NFS file and use the FUSE kernel module from the FUSE package because the mainstream kernels don't support NFS exporting of FUSE file systems.
Maar als ik dan die readme lees dan zou het volgende toch moeten werken in /etc/exports
/media/sda5 192.168.254.1(ro,sync,no_subtree_check,no_root_squash,fsid=0)
Maar op de andere computer krijg ik steeds toegang gewijgerd.  
Terwijl als ik gewoon bv /home neem inplaats van /media/sda5 werkt het wel.

Offline xpired

  • Lid
Nfs
« Reactie #1 Gepost op: 2007/06/27, 11:42:46 »
192.168.254.1 --> is dat wel het IP adres van je andere machine?
Niet van de Linux machine waar je NTFS schijf in zit?

Offline siegi

  • Lid
Nfs
« Reactie #2 Gepost op: 2007/06/28, 15:22:00 »
192.168.254.1 is van de computer die de partitie via nfs wil mounten.

fritz

  • Gast
Nfs
« Reactie #3 Gepost op: 2007/07/30, 11:20:19 »
ik heb hetzelfde probleem als siegi! ik vraag mij af of het probleem al opgelost is en zoja hoe??

:o

Offline siegi

  • Lid
Nfs
« Reactie #4 Gepost op: 2007/07/30, 13:19:14 »
Ntfs heb ik nog steeds niet gexporteerd.
Maar voor een ext3 partitie gaat het.

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Nfs
« Reactie #5 Gepost op: 2007/07/30, 14:14:30 »
Heb je het pakker nfs-user-server geïnstalleerd en NIET nfs-kernel-server?
Geeft het commando exportfs -v op de nfs server wat resultaten?

fritz

  • Gast
Nfs
« Reactie #6 Gepost op: 2007/07/30, 16:59:48 »
het antwoord op exportfs -v op de nfs server is

/home/fritzie   192.168.1.211(rw,wdelay,root_squash)
/media/sda1     192.168.1.211(rw,wdelay,root_squash)
/home           192.168.1.211(rw,wdelay,root_squash)

het gaat dus om de middelste, de rest werkt goed

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Nfs
« Reactie #7 Gepost op: 2007/07/30, 17:07:40 »
En welk pakket heb je geïnstalleerd als NFS server?

fritz

  • Gast
Nfs
« Reactie #8 Gepost op: 2007/07/30, 19:42:16 »
ik heb de instructies gevolgs van

https://help.ubuntu.com/community/SettingUpNFSHowTo?highlight=%28NFS%29

dus ik denk nfs-common?

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Nfs
« Reactie #9 Gepost op: 2007/07/30, 20:34:03 »
Dat kan je toch opzoeken in synaptic?
Waar staat dat README.NFS bestand eigenlijk, of wat staat er in?

Edit: Laat maar, ik heb het al gevonden:

Citaat van: README.NFS
FUSE module in official kernels (>= 2.6.14) don't support NFS
exporting.  In this case if you need NFS exporting capability, use the
'--enable-kernel-module' configure option to compile the module from
this package.  And make sure, that the FUSE is not compiled into the
kernel (CONFIG_FUSE_FS must be 'm' or 'n').

You need to add an fsid=NNN option to /etc/exports to make exporting a
FUSE directory work.

You may get ESTALE (Stale NFS file handle) errors with this.  This is
because the current FUSE kernel API and the userspace library cannot
handle a situation where the kernel forgets about an inode which is
still referenced by the remote NFS client.  This problem will be
addressed in a later version.

In the future it planned that NFS exporting will be done solely in
userspace.
Volgens mij is het op dit moment niet mogelijk om NTFS te sharen via NFS, tenzij je de kernel en NFS packages opnieuw compileert. En dat is een hels karwei wat je eigenlijk niet wil doen.

Dan is het makkelijker en beter om je NTFS te sharen via samba.