Re: How to export vfat partition correctly?
From: Chris Carlen (crobc_at_BOGUSFIELD.earthlink.net)
Date: 10/24/03
- Next message: Jonathan de Boyne Pollard: "Re: Verisign's land grab"
- Previous message: Marc: "PROFTPD: Some users cannot upload files, some users cannot get directory listing"
- In reply to: Jeroen Geilman: "Re: How to export vfat partition correctly?"
- Next in thread: Tauno Voipio: "Re: How to export vfat partition correctly?"
- Reply: Tauno Voipio: "Re: How to export vfat partition correctly?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Oct 2003 20:25:41 -0700
Jeroen Geilman wrote:
> Chris Carlen <crcarle@BOGUS.sandia.gov> randomly warbled in
> comp.os.linux.networking:
>>I have a machine with two vfat partitions mounted as /w98 and /w98d
>>and in which / is an ext3.
>>My /etc/exports has these exported as well as / in the order /, /w98,
>>/w98d.
> That's...why ?
>
> If you export /, then both /w98 and /w98d are exported as exactly that -
> whether or not / itself is exported.
Unfortunately, it doesn't work that way on my machine. I have correctly
mounted the vfat at /w98 now using your assistance below. The remaining
issue is NFS exporting. If the subdirs of / to be exported are
different physical partitions than /, then they don't export with /.
Example, the server "ting" has the vfat mounted on /w98:
ting:/home/user1 # cat /etc/exports
/ 192.168.0.0/255.255.255.0(rw,insecure)
Now on the client machine "tong" I have in /etc/fstab:
ting:/w98 /ting nfs noauto,rw,hard,intr,user,exec 0 0
Now the client does:
user1@tong:~ $ mount /ting
user1@tong:~ $ l /ting
bin dev home lost+found mnt proc s73 srv tong var w98d
boot etc lib media opt root sbin tmp usr w98
user1@tong:~ $ l /ting/w98
user1@tong:~ $
Notice that it doesn't see anything that's mounted under ting:/w98
When I change the server /etc/exports to:
/ 192.168.0.0/255.255.255.0(rw,insecure)
/w98 192.168.0.0/255.255.255.0(rw)
Then add to the client /etc/fstab:
ting:/w98 /ting-w98 nfs noauto,rw,hard,intr,user,exec 0 0
user1@tong:~ $ mount /ting-w98
user1@tong:~ $ l /ting-w98
Program Files config.sys netlog.txt system.1st
Temp detlog.txt recycled unpack
autoexec.bat frunlog.txt scandisk.log windows[etc]
The same behavior takes place with CDROM mounts, who's mountpoints as
subdirs of / don't export with /, and must be explicitly mentioned in
/etc/exports.
> change /etc/fstab to read:
>
> /dev/hdxy /w98 rw,noatime,auto,umask=000
Yes. This gets the partition mounted on the server so that all have r/w
access. Good.
> / (rw,insecure)
>
> And you should be set!
But this part doesn't work, as described above, I must explicitly export
the /w98 mountpoint of the vfat to be able to nfs mount it on the client.
Can you explain what is going on with this?
Thanks for your input.
Good day!
-- _____________________ Christopher R. Carlen crobc@earthlink.net Suse 8.1 Linux 2.4.19
- Next message: Jonathan de Boyne Pollard: "Re: Verisign's land grab"
- Previous message: Marc: "PROFTPD: Some users cannot upload files, some users cannot get directory listing"
- In reply to: Jeroen Geilman: "Re: How to export vfat partition correctly?"
- Next in thread: Tauno Voipio: "Re: How to export vfat partition correctly?"
- Reply: Tauno Voipio: "Re: How to export vfat partition correctly?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|