A NFS server has been correctly configured. On a client machine, a directory has been mounted as a NFS client. One subdirectory points on the server points to a FAT32 directory, which is visible on the server as linux can access FAT32 drives. However, the NFS client does not display the FAT32 directories. Am I right in assuming that NFS does not display FAT32 directories. Can any defaults be amended to display FAT32 directories.
On Mon, 23 Dec 2002, Linux World 999 wrote:
A NFS server has been correctly configured.
On a client machine, a directory has been mounted as a NFS client.
One subdirectory points on the server points to a FAT32 directory, which is visible on the server as linux can access FAT32 drives.
However, the NFS client does not display the FAT32 directories.
Am I right in assuming that NFS does not display FAT32 directories. Can any defaults be amended to display FAT32 directories.
Using NFS, I am able to see a VFAT filesystem mounted on an exported filesystem. I wouldn't expect FAT32 filesystems to be any different. - What does your /etc/exports look like? - And what permissions are applied to the FAT32 mount point on the NFS exported filesystem? Jim
Using NFS, I am able to see a VFAT filesystem mounted on an exported filesystem. I wouldn't expect FAT32 filesystems to be any different.
I have had a funnier setup here. Machine-1 runs SAMBA server and exports ext2 partitions while itself emulating a windows NT domain. So exports FS as expected by Windows machine - to the organization. Machine-2 mounts one of these directories on to local machine using smbmount [client]. Machine-2 also NFS exports a parent directory of this mount point. Machine-3 is able to see [when NFS mounting the parent directory from machine-2] all the directories - including the one from machine-1. There were issues with NFS export of non-ext2 filesystems long time back I believe. This included VFAT, FAT32 as well as reiserfs. I don't think 2.4.18+ would have such a problem. Do post the /etc/fstab of client as well as /etc/exports of server. On a related note - I believe that Red Hat certified engineer certification is at the top of the list of Linux learner. Is there something like that offered by SuSE. I am planning to get myself certified, but I see RHL at the horizon only. Please help. Rohit ********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com
On Monday 23 December 2002 23:58, Jim Cunning wrote:
On Mon, 23 Dec 2002, Linux World 999 wrote: <snip>
Using NFS, I am able to see a VFAT filesystem mounted on an exported filesystem. I wouldn't expect FAT32 filesystems to be any different.
- What does your /etc/exports look like? The exports file has one line :
**************************************** / *(ro,root_squash,sync) ****************************************
- And what permissions are applied to the FAT32 mount point on the NFS exported filesystem?
Default permissions have been used.
On Tue, 24 Dec 2002, Linux World 999 wrote:
On Monday 23 December 2002 23:58, Jim Cunning wrote:
On Mon, 23 Dec 2002, Linux World 999 wrote: <snip>
Using NFS, I am able to see a VFAT filesystem mounted on an exported filesystem. I wouldn't expect FAT32 filesystems to be any different.
- What does your /etc/exports look like? The exports file has one line :
**************************************** / *(ro,root_squash,sync) ****************************************
- And what permissions are applied to the FAT32 mount point on the NFS exported filesystem?
Default permissions have been used.
OK...so what permissions appear when you do 'ls -ld <FAT32-mount-dir>' point on the NFS server system? and what permissions appear when you do 'ls -l <FAT32-mount-dir>' ?
On Tuesday 24 December 2002 16:48, Jim Cunning wrote: <snip>>
OK...so what permissions appear when you do 'ls -ld <FAT32-mount-dir>' drwxrwxr-x 21 root users 16384 1970-01-01 00:00 /windows/C
point on the NFS server system? and what permissions appear when you do 'ls -l <FAT32-mount-dir>' ? Please see below.
Does this help? Thanks. total 400464 drwxrwxr-x 21 root users 16384 1970-01-01 00:00 . drwxr-xr-x 3 root root 96 2002-12-19 20:18 .. -rwxrwxr-x 1 root users 27786 2002-02-28 19:36 AspiLog.TXT drwxrwxr-x 8 root users 16384 2002-02-27 18:20 Documents and Settings drwxrwxr-x 9 root users 16384 2002-02-27 21:44 Inet drwxrwxr-x 2 root users 16384 2002-02-28 22:17 My Music drwxrwxr-x 6 root users 16384 2002-02-28 19:43 Ontrack dr-xr-xr-x 38 root users 16384 2002-02-27 18:21 Program Files drwxrwxr-x 25 root users 16384 2002-02-27 21:02 Recycled drwxrwxr-x 2 root users 16384 2002-02-28 06:34 Shockwave drwxrwxr-x 63 root users 16384 2002-10-28 00:55 Software -rwxrwxr-x 1 root users 147 2002-03-29 09:41 Software.directory -r-xr-xr-x 1 root users 150528 2002-07-22 12:05 arcldr.exe -r-xr-xr-x 1 root users 163840 2002-07-22 12:05 arcsetup.exe -rwxrwxr-x 1 root users 0 2002-02-27 18:35 autoexec.bat -r-xr-xr-x 1 root users 6373300 2002-10-13 17:08 avg6db_f.dat drwxrwxr-x 2 root users 16384 2002-10-15 21:05 backup -rwxrwxr-x 1 root users 338 2002-10-14 05:48 boot.ini -rwxrwxr-x 1 root users 512 2002-02-27 18:19 bootsect.dos -rwxrwxr-x 1 root users 114 2002-10-21 21:39 comreads.dbg -rwxrwxr-x 1 root users 114 2002-10-21 21:39 comused.dbg -rwxrwxr-x 1 root users 0 2002-02-27 18:35 config.sys drwxrwxr-x 4 root users 16384 2002-04-13 11:16 cygwin drwxrwxr-x 4 root users 16384 2002-09-16 00:17 driveF -r-xr-xr-x 1 root users 0 2002-02-27 18:35 io.sys drwxrwxr-x 3 root users 16384 2002-04-10 19:47 linux -r-xr-xr-x 1 root users 0 2002-02-27 18:35 msdos.sys drwxrwxr-x 2 root users 16384 2002-09-08 12:03 msdownld.tmp -r-xr-xr-x 1 root users 34724 2002-10-14 06:24 ntdetect.com -r-xr-xr-x 1 root users 214432 2002-10-14 06:24 ntldr -rwxrwxr-x 1 root users 402653184 2002-11-28 15:59 pagefile.sys drwxrwxr-x 5 root users 16384 2002-02-28 19:37 prg_file drwxrwxr-x 3 root users 16384 2002-04-12 22:11 svg drwxrwxr-x 22 root users 16384 2002-11-09 16:07 temp drwxrwxr-x 4 root users 16384 2002-09-16 22:14 vs drwxrwxr-x 38 root users 16384 2002-02-27 18:18 winnt drwxrwxr-x 2 root users 16384 2002-04-12 21:00 xwin
Having studied the various comments, the reason the windows directories are not visible could be due to the mixed file systems being exported. As the server directory is mounted at root (/) level, the Linux directories are visible but not FAT32 (windows). If the windows directories are separately exported on the server, the windows directories are visible on the client machine. Is my thinking correct? Thank you one and all for all your assistance.
On Tue, 24 Dec 2002, Linux World 999 wrote:
Having studied the various comments, the reason the windows directories are not visible could be due to the mixed file systems being exported. As the server directory is mounted at root (/) level, the Linux directories are visible but not FAT32 (windows).
If the windows directories are separately exported on the server, the windows directories are visible on the client machine.
Is my thinking correct?
I don't think it is, but I have no documentation to prove it. I am only going on my personal experience: * I have a SuSE 8.0 system running the standard 2.4.18-4GB kernel * I have a minimal exports file, exporting / to my home private subnet with (rw) options only. * I have a FAT16 (not FAT32) windows partition that I mount as type=vfat * I do not use the 'nohide' option * I can NFS mount my exported root filesystem and see the mounted vfat filesystem below it. I suspect your problem stems from the 'root_squash' option in /etc/exports and the fact that root is the owner of the VFAT32 mounted files. You might try changing the uid parameter to "nobody" rather than root in the VFAT32 filesystem mount. Jim
Hi One thing that got me once, is that I had "recursive" exports, ie. I had exported both "/" and "home/jaska", thus making the nfs-server non-working. So export only "/" and no sub-dirs from same partition, or export them individually. Jaska. Viestissä Keskiviikko 25. Joulukuuta 2002 02:28, Jim Cunning kirjoitti:
On Tue, 24 Dec 2002, Linux World 999 wrote:
Having studied the various comments, the reason the windows directories are not visible could be due to the mixed file systems being exported. As the server directory is mounted at root (/) level, the Linux directories are visible but not FAT32 (windows).
If the windows directories are separately exported on the server, the windows directories are visible on the client machine.
Is my thinking correct?
I don't think it is, but I have no documentation to prove it. I am only going on my personal experience: * I have a SuSE 8.0 system running the standard 2.4.18-4GB kernel * I have a minimal exports file, exporting / to my home private subnet with (rw) options only. * I have a FAT16 (not FAT32) windows partition that I mount as type=vfat * I do not use the 'nohide' option * I can NFS mount my exported root filesystem and see the mounted vfat filesystem below it.
I suspect your problem stems from the 'root_squash' option in /etc/exports and the fact that root is the owner of the VFAT32 mounted files. You might try changing the uid parameter to "nobody" rather than root in the VFAT32 filesystem mount.
Jim
On Thursday 26 December 2002 03:23, jaakko tamminen wrote:
Hi
One thing that got me once, is that I had "recursive" exports, ie. I had exported both "/" and "home/jaska", thus making the nfs-server non-working.
So export only "/" and no sub-dirs from same partition, or export them individually.
If only "/" is exported, the FAT32 directories are not visible on the client machine.
On Monday 23 December 2002 23:26, Linux World 999 wrote:
A NFS server has been correctly configured.
On a client machine, a directory has been mounted as a NFS client.
One subdirectory points on the server points to a FAT32 directory, which is visible on the server as linux can access FAT32 drives.
However, the NFS client does not display the FAT32 directories.
Am I right in assuming that NFS does not display FAT32 directories. Can any defaults be amended to display FAT32 directories.
Is the FAT silesystem mounted under the exported directory? (for example exporting /export and mounting FAT on /export/fat ) Look at the man page for /etc/exports (man exports) for the nohide option. I woul reccomend, however, only exporting single filesystems - it makes maintenance much easier! Dylan -- "Sweet moderation Heart of this nation Desert us not, we are Between the wars"
participants (5)
-
Dylan
-
jaakko tamminen
-
Jim Cunning
-
Linux World 999
-
Rohit