Sorry to revive what seems like a dead thread, but I'm having a major issue trying to export NTFS via NFS. I've followed everything in this thread (as well as a number of other threads). However when I mount the share on the client, I simply get a blank, empty directory.
I've compiled both ntfs-3g and fuse from source with the --enable-kernel-module option in fuse. Modprobe shows that the fuse.ko module is installed.
Here are my steps. Please tell me where I'm going wrong. I've been mashing my head on this for a few days.
mount -t ntfs-3g -o ro,loop,offset=32256,utf8 /metadata/images/Backup.dd /nfs/disk
Code:
[root@headnode] mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/loop2 on /nfs/disk type fuseblk (ro,noatime,allow_other,blksize=4096)
[root@headnode] cat /etc/exports
/nfs 10.1.1.0/255.255.255.0(ro,sync,fsid=0,no_root_squash)
[root@headnode] service nfs status
rpc.mountd is running
nfsd is running
rpc.rquotad is running
[root@headnode] ls /nfs/disk
... all of the files are displayed here ...
[root@headnode] ls /nfs/test
HaloCE.zip restore.py
Both the firewall and SELinux are disabled. Mounting the share on a remote computer provides the following:
Code:
[root@client1] mount headnode:/nfs /nfs
[root@client1] ls /nfs
disk test
[root@client1] ls /nfs/disk
[root@client1] ls /nfs/test
HaloCE.zip restore.py
[root@client1]
An 'ls' here results nothing. The share mounts properly but nothing is being shown in the 'disk' directory. If anyone has any suggestions please let me know. I'm obviously doing something wrong but I can't figure out where it is. Thanks for any / all help or advice.