Mounting The Mounted
I have some fat32 partitions which I have mounted on my workstation and which I would like to serve over NFS. I assume this would be the best way to go--since I'll be sharing between Linux machines only, I've no need for Samba, correct? Well, I kept running into "permission denied" errors when I tried to mount these partitions from my server (which is the NFS client in this case). After grinding through a score of man pages and how-tos, it dawned on me that I might try sharing a native Linux file system first, as a control test. This worked. Then I realised exportfs had been silently choking on my /etc/exports file, for I ran 'exportfs -ra' and got back an 'Invalid argument' message for each of those vfat partitions. And I've now tried many combinations of options in the exports file, but nothing does the trick. Is it even possible to share a vfat partition over nfs, and if so what do I need here? I'd like to keep these files (MP3s, etc.) on the fat32 system, because I still need to run Windows for certain things. --Jason Van Cleve
Samba is the way to go. I have not had any luck with NFS, regardless of the fact that I am mounting a Linux FS. Below //Manduck/Netlogon is the directory I wish to mount. While /Manduck is the mount point. Note the comma. Brian Marr mount -t smbfs //Manduck/Netlogon /Manduck -o username=xxxxx,passwd=xxxxx On Friday 14 December 2001 16:51, you wrote:
I have some fat32 partitions which I have mounted on my workstation and which I would like to serve over NFS. I assume this would be the best way to go--since I'll be sharing between Linux machines only, I've no need for Samba, correct?
Well, I kept running into "permission denied" errors when I tried to mount these partitions from my server (which is the NFS client in this case). After grinding through a score of man pages and how-tos, it dawned on me that I might try sharing a native Linux file system first, as a control test. This worked. Then I realised exportfs had been silently choking on my /etc/exports file, for I ran 'exportfs -ra' and got back an 'Invalid argument' message for each of those vfat partitions. And I've now tr ed many combinations of options in the exports file, but nothing does the trick. Is it even possible to share a vfat partition over nfs, and if so what do I need here? I'd like to keep these files (MP3s, etc.) on the fat32 system, because I still need to run Windows for certain things.
--Jason Van Cleve
On Friday 14 December 2001 07:21, Jason A.Van Cleve wrote:
I have some fat32 partitions which I have mounted on my workstation and which I would like to serve over NFS. I assume this would be the best way to go--since I'll be sharing between Linux machines only, I've no need for Samba, correct?
Well, I kept running into "permission denied" errors when I tried to mount these partitions from my server (which is the NFS client in this case). After grinding through a score of man pages and how-tos, it dawned on me that I might try sharing a native Linux file system first, as a control test. This worked. Then I realised exportfs had been silently choking on my /etc/exports file, for I ran 'exportfs -ra' and got back an 'Invalid argument' message for each of those vfat partitions. And I've now tr ed many combinations of options in the exports file, but nothing does the trick. Is it even possible to share a vfat partition over nfs, and if so what do I need here? I'd like to keep these files (MP3s, etc.) on the fat32 system, because I still need to run Windows for certain things.
--Jason Van Cleve
HI Jason et al.. OK, from what I understand you are able to mount your Linux partitions but not your fat32 partitions. There should be no problem. For example I have "c:" mounted as /cdisk. To keep it simple we'll take two systems "Tenn" and "Penguin". You need in "Tenn" in the /etc/fstab file these two lines: /dev/hda1 /cdisk msdos rw,auto,user,umask=000 0 0 Penguin:/ /Penguin nfs rw,noauto,user 0 0 In the /etc/exports file this line: / Penguin(rw) This will allow "Penguin" full access to all the mounted file systems on "Tenn". AS root make a dir on "Tenn" called /Penguin ############################################################## You need in "Penguin" in the /etc/fstab file these two lines: /dev/hda1 /cdisk msdos rw,auto,user,umask=000 0 0 Tenn:/ /Tenn nfs rw,noauto,user 0 0 In the /etc/exports file this line: / Tenn(rw) This will allow "Tenn" full access to all the mounted file systems on "Penguin". AS root make a dir on "Penguin" called /Tenn ########################################################## Now as USER on either system (let's say on Tenn) type "mount /Penguin" The Penguin file system should now be mounted on Tenn. To get to the "C:" do "cd /Penguin/cdisk". Try doing a listing command and see what happens. ################################## If this does not work email me a copy of your fstab file and exports file plus tell me what type of system you have. Hope this helps.... -- Jim Hatridge Linux User #88484 ------------------------------------------------------ BayerWulf Linux System # 129656 The Recycled Beowulf Project Looking for throw-away or obsolete computers and parts to recycle into a Linux super computer
No. I'm afraid you've completely missed the mark on this one, but thanks for playing! The problem is not mounting the fat32 partition, it's exporting it to NFS. exportfs is choking on my /etc/exports file, as I explained. If I could get that to work, mounting the shared FSs would be easy.
--Jason
On Sat, 15 Dec 2001 21:38:36 +0100, Jim Hatridge
On Friday 14 December 2001 07:21, Jason A.Van Cleve wrote:
I have some fat32 partitions which I have mounted on my workstation and which I would like to serve over NFS. I assume this would be the best way to go--since I'll be sharing between Linux machines only, I've no need for Samba, correct?
Well, I kept running into "permission denied" errors when I tried to mount these partitions from my server (which is the NFS client in this case). After grinding through a score of man pages and how-tos, it dawned on me that I might try sharing a native Linux file system first, as a control test. This worked. Then I realised exportfs had been silently choking on my /etc/exports file, for I ran 'exportfs -ra' and got back an 'Invalid argument' message for each of those vfat partitions. And I've now tr ed many combinations of options in the exports file, but nothing does the trick. Is it even possible to share a vfat partition over nfs, and if so what do I need here? I'd like to keep these files (MP3s, etc.) on the fat32 system, because I still need to run Windows for certain things.
--Jason Van Cleve
HI Jason et al..
OK, from what I understand you are able to mount your Linux partitions but not your fat32 partitions. There should be no problem.
For example I have "c:" mounted as /cdisk. To keep it simple we'll take two systems "Tenn" and "Penguin".
You need in "Tenn" in the /etc/fstab file these two lines:
/dev/hda1 /cdisk msdos rw,auto,user,umask=000 0 0 Penguin:/ /Penguin nfs rw,noauto,user 0 0
In the /etc/exports file this line:
/ Penguin(rw)
This will allow "Penguin" full access to all the mounted file systems on "Tenn".
AS root make a dir on "Tenn" called /Penguin ##############################################################
You need in "Penguin" in the /etc/fstab file these two lines:
/dev/hda1 /cdisk msdos rw,auto,user,umask=000 0 0 Tenn:/ /Tenn nfs rw,noauto,user 0 0
In the /etc/exports file this line:
/ Tenn(rw)
This will allow "Tenn" full access to all the mounted file systems on "Penguin".
AS root make a dir on "Penguin" called /Tenn ##########################################################
Now as USER on either system (let's say on Tenn) type "mount /Penguin"
The Penguin file system should now be mounted on Tenn. To get to the "C:" do "cd /Penguin/cdisk". Try doing a listing command and see what happens.
##################################
If this does not work email me a copy of your fstab file and exports file plus tell me what type of system you have.
Hope this helps....
-- Jim Hatridge Linux User #88484 ------------------------------------------------------ BayerWulf Linux System # 129656 The Recycled Beowulf Project Looking for throw-away or obsolete computers and parts to recycle into a Linux super computer
participants (3)
-
Brian Marr
-
Jason A.Van Cleve
-
Jim Hatridge