Re: NFS or SSHFS Mounting a System with Mounted Partitions

Santanu Sinha <[email protected]>
Newsgroups gmane.user-groups.linux.kolkata
Message-ID <[email protected]>
just add another line containing /home in your /etc/exports as follows:
/home  192.168.1.0/255.255.255.0(rw,sync,no_root_squash)

then run the command "exportfs -a".

That should do the trick.

Regards,
Santanu

----
Upset the established order, and everything becomes chaos. I'm an
agent of chaos. Oh and you know the thing about chaos, it's fair.



On Tue, Mar 24, 2009 at 11:46 AM, das <[email protected]> wrote:
> Yeah, you were right.
>
> I changed the '/etc/exports' to this:
>
> /mnt/data/              192.168.1.0/255.255.255.0(rw,sync,no_root_squash)
>
> and did 'service nfs --full-restart' in the server. And after that I
> could mount very nicely '/mnt/data' directory in the server.
>
> But, now the problem is, if in some cases I want to get the '/home' or
> the '/', what would I do? Keep two different versions of
> '/etc/exports' and make service nfs restart every time?
> --
> 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
>
_______________________________________________
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.