LQ Newbie
Registered: Jan 2004
Posts: 2
Rep:
|
NFS access to mounted windows harddrives
Hi Linux buddies,
I have recently installed SuSE 9.0 linux and it has been really a breeze to get it up & running including most of the networking services (Samba,NFS, telnet,ftp, etc). I have windows and linux machines and they all communicate almost perfectly. I said "almost perfectly", because NFS does not work that perfectly yet which I have been searching and trying to resolve for the past few days. The problem is that I am unable to see the files of the mounted windows drive via NFS from another linux machine.
The export file is as follow:
/home/ *(ro,root_squash,sync)
/windows/ *(ro,root_squash,sync)
The /home is the top directory of all user accounts on the server linux machine (called 'thunderbird') and /windows is the the top directory of windows drive mount point. Under /windows, I have drives C,D,E,F & G. Those are all FAT32 drives except for G which is NTFS drive.
The /etc/fstab file on server machine (thunderbird) is as follow:
/dev/hdg7 / reiserfs defaults 1 1
/dev/hde1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hde5 /windows/D vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hde6 /windows/E vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hdg5 /windows/F vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hdh5 /windows/G ntfs ro,users,gid=users,umask=0002,nls=iso8859-1 0 0
/dev/hdg6 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
On the client linux machine (called 'k6-2'), the mount points are /thunderbird/home & /thunderbird/windows. I have no problem accessing /thunderbird/home and its subdirectories, however, I can only see the directories in directory /thunderbird/windows and not anything beyond that. I can 'cd' to /thunderbird/windows/C, /thunderbird/windows/D, ..., /thunderbird/windows/G, but cannot see the files in those sub-directories. Protections on those files and sub-directories are rwxrwxr-x.
The /etc/fstab file on client machine (k6-2) is as follow:
/dev/hdb8 / reiserfs defaults 1 1
/dev/hdb6 /boot ext2 defaults 1 2
/dev/hda1 /windows/C vfat users,gid=users,mode=777,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hda5 /windows/D vfat users,gid=users,mode=777,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hdb5 /windows/E vfat users,gid=users,mode=777,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hdb7 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
thunderbird.linux:/home /thunderbird/home nfs defaults 0 0
thunderbird.linux:/windows /thunderbird/windows nfs defaults 0 0
I have samba installed as well, and I can see those files using samba from another linux machine (k6-2) and also in the 'My network place' of a laptop running WindowsME machine.
Please help on my NFS challenge - to nfs access the files in the mounted windows drives.
Thanks a lot.
U.S. Wong
|