Re: Double mount : nfs and vfat - is it possible ? (or other solutions)

2006-11-26 Thread Oren Held
As far as I know the NFS mechanism allows mounting a single filesystem 
and ignores sub mounts.

This is also quite secure, in a way.

Maybe I misunderstood the situation, but a simple solution would be to 
export also the /mnt/win on the server,

and mount it separately on the client..

- Oren

Rafi Gordon wrote:

Hi linux gurus,

I have a machine which is dual boot (linux /windows).
The windows partition is /dev/hda1.
This machine is booted usually into linux (though it is possible of 
course

to boot to windows).

I mount the windows partition (/dev/hda1) on /mnt/win (type vfat ,rw).

I created /etc/exports file for this dual boot machine;
it contains one line:
/ ip_Of_A_DifferentLinuxMachine(rw,no_root_squash)

Now , from another linux machine I nfs mount the dual-boot linux machine.
But I cannot see the contents of the /mnt/win folder (it is empty).

Is there a way to nfs mount that dual machine so that the /mnt/win
contents will be available ? And in case the
answer is 'no', are there other alternatives (excpet samba)?

Rafi

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Double mount : nfs and vfat - is it possible ? (or other solutions)

2006-11-26 Thread Shahar Tamir
On Sunday 26 November 2006 18:30, Rafi Gordon wrote:
> I mount the windows partition (/dev/hda1) on /mnt/win (type vfat ,rw).
>
> I created /etc/exports file for this dual boot machine;
> it contains one line:
> / ip_Of_A_DifferentLinuxMachine(rw,no_root_squash)
>
> Now , from another linux machine I nfs mount the dual-boot linux machine.
> But I cannot see the contents of the /mnt/win folder (it is empty).

From exports(5):
Normally, if a server exports two filesystems one of which is mounted on the 
other, then  the  client  will  have  to mount  both filesystems explicitly 
to get access to them. If it just mounts the parent, it will see an empty  
directory  at  the place where the other filesystem is mounted.

You need to export /mnt/win and mount it on the client explicitly.

Shahar

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Double mount : nfs and vfat - is it possible ? (or other solutions)

2006-11-26 Thread Ilya Konstantinov

On 11/26/06, Rafi Gordon <[EMAIL PROTECTED]> wrote:

Now , from another linux machine I nfs mount the dual-boot linux machine.
But I cannot see the contents of the /mnt/win folder (it is empty).


If you're using a kernel-based NFS server, switch to a userspace-based one.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Double mount : nfs and vfat - is it possible ? (or other solutions)

2006-11-26 Thread Rafi Gordon

Hi linux gurus,

I have a machine which is dual boot (linux /windows).
The windows partition is /dev/hda1.
This machine is booted usually into linux (though it is possible of course
to boot to windows).

I mount the windows partition (/dev/hda1) on /mnt/win (type vfat ,rw).

I created /etc/exports file for this dual boot machine;
it contains one line:
/ ip_Of_A_DifferentLinuxMachine(rw,no_root_squash)

Now , from another linux machine I nfs mount the dual-boot linux machine.
But I cannot see the contents of the /mnt/win folder (it is empty).

Is there a way to nfs mount that dual machine so that the /mnt/win
contents will be available ? And in case the
answer is 'no', are there other alternatives (excpet samba)?

Rafi

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]