Re: NFS or SSHFS Mounting a System with Mounted Partitions

das <[email protected]>
Newsgroups gmane.user-groups.linux.kolkata
Message-ID <[email protected]>
On Tue, Mar 24, 2009 at 11:07 AM, Santanu Sinha <[email protected]> wrote:

> For example if you mounted /dev/sda1 on /mnt/data, your /etc exports
> should contain an entry for /mnt/data, for it to be available on a
> child/client system.
>

I made the '/etc/exports' file like this:
/	192.168.1.0/255.255.255.0(rw,sync,no_root_squash)

This enables this system to be mounted from any machine 192.168.1.0
series, because my router assigns an IP like that to any connected
machine.

Now, '/dev/sda6' is mounted on '/mnt/data'. How can I add that as
another mount point? Most probably only the first line is read from
'/etc/exports'.

And after creating a directory /mnt/nfs/data in the client system,
from the client machine I have tried like this:

mount.nfs 192.168.1.2:/mnt/data /mnt/nfs/data

The command prompt returns with an error message:

<<
mount.nfs: Unknown error 521
>>




-- 
das
ddts.randomink.org
_______________________________________________
Ilug-cal-discuss mailing list
Ilug-cal-discuss-PMNjqutUrVNkNBGiPgg+Odi2O/[email protected]
http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.