LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-31-2008, 10:54 AM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Is it possible to share a NTFS partition using NFS?


I've setup ext3 and reiserfs partitions without a problem. However NTFS gives the following error when i try to export fromthe NFS server

Code:
[root:~#] /usr/sbin/exportfs -rv
exporting 10.0.0.1/255.255.255.0:/nfs4exports/share1
exportfs: Warning: /nfs4exports/share1 does not support NFS export.
 
Old 08-31-2008, 01:12 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Is the NFS server dual booting? Why ntfs?

Could you try nfs 3 to share that filesystem instead. Or don't use NTFS.

---

I wonder if ironically this problem is due to NFS4 adapting Window's ACLs and a stateful model. They based their ACLs on the specifications that MS released under a court order. The main theme of the case against MS in Europe is interoperability. MS was ordered to release the networking specifications to enhance interopability between Unix and Windows. MS instead released phony specs which the NFS4 programming team used. So NFS4 uses Windows ACLs that don't work with windows. ( This is what torked off the EU judges )

Last edited by jschiwal; 08-31-2008 at 01:15 PM.
 
Old 09-02-2008, 01:16 PM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
yeah it's a dual boot unfortunately. it is a legacy of when I was still switching to windows a lot. It's a 150GB partition which I want to convert to a linux partition. But that's gonna be some time away.

I have no problems using nfs 3. How would I go about doing that?
 
Old 09-02-2008, 09:35 PM   #4
hlingler
Member
 
Registered: May 2007
Location: Connellsville, PA, USA
Distribution: Fedora 8/9/10/11
Posts: 71

Rep: Reputation: 15
Hi Jongi:

I have successfully exported ntfs partitions over nfs. Depends on how you mount and export them, plus NFS version.
Code:
~]$ cat /etc/sysconfig/nfs|grep -v \#
MOUNTD_NFS_V3="yes"
RQUOTAD="/usr/sbin/rpc.rquotad"
RQUOTAD_PORT=875
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
RPCNFSDCOUNT=4
MOUNTD_PORT=892
STATD_PORT=662
RPCMTAB="noload"
~]$
Code:
~]$ cat /etc/fstab
[...]
/dev/sda1       /mnt/c_drive    ntfs-3g rw,defaults,umask=022   0       0
[...]
Code:
~]$ cat /etc/exports

/mnt/c_drive/ 192.168.0.2(async,all_squash) \
         192.168.2.2(async,all_squash)
~]$
Good Luck,
V
 
Old 09-03-2008, 05:26 PM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Here's my relevant data from the NFS server:

Code:
[root:~#] cat /etc/sysconfig/nfs|grep -v \#
MOUNTD_NFS_V3="yes"
/etc/fstab
Code:
/dev/sdc5               /mnt/Media              ntfs-3g  defaults,users  0 0
/mnt/Media              /nfs4exports/share1     none    bind    0 0
/etc/exports
Code:
/nfs4exports/share1             192.168.1.101/255.255.255.0(rw,async,all_squash)
 
Old 09-03-2008, 09:02 PM   #6
hlingler
Member
 
Registered: May 2007
Location: Connellsville, PA, USA
Distribution: Fedora 8/9/10/11
Posts: 71

Rep: Reputation: 15
Hi Jongi:

I do not undestand what you are doing with the mounts in fstab, nor why. You have mounted the NTFS partition sdc5 at /mnt/Media, then specified /mnt/Media at /nfs4exports/share1 with some strange (to me) options. I don't understand this arrangement, nor why it would be needed. The filesystem type 'none' for /nfs4exports/share1 in particular looks wrong, and could well be the cause of the failed NFS export.

V
 
Old 09-12-2008, 02:36 PM   #7
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
the bind command is like a symlink in terms of the fstab. so /mnt/Media is linked to /nfs4exports/share1. It was done following a tutorial and it works for non-ntfs shares. I'll try change /nfs4exports/share1 to /mnt/Media in /etc/exports to see if it changes anything.

Code:
[root:~#] yum list *nfs* | grep installed
nfs-utils.x86_64                         1:1.1.1-2.fc8          installed
nfs-utils-lib.x86_64                     1.1.0-4.fc8            installed
nfs-utils-lib.i386                       1.1.0-4.fc8            installed
nfs-utils-lib-devel.x86_64               1.1.0-4.fc8            installed
nfs-utils-lib-devel.i386                 1.1.0-4.fc8            installed
nfs4-acl-tools.x86_64                    0.3.2-1.fc8            installed
nfswatch.x86_64                          4.99.9-2.fc8           installed
system-config-nfs.noarch                 1.3.33-1.fc8           installed

Last edited by Jongi; 09-12-2008 at 02:49 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
In NFS server. I want to share directory but i dont want to share subdirectories. aashishdhabarde Linux - Server 1 01-16-2008 03:48 AM
kubuntu getting nfs to share a ntfs drive nclaan Linux - Networking 1 09-12-2007 04:58 PM
Is mounting an NTFS partition over NFS possible? PlanetPHP Linux - Networking 6 11-20-2006 03:32 AM
Samba/NFS share same partition for dual boot? ethics Linux - General 1 11-16-2005 07:14 PM
Can Windows & Slackware share an ntfs partition? EnigmaZ Slackware 5 01-04-2004 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration