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
> [email protected]
> http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss
>
_______________________________________________
Ilug-cal-discuss mailing list
[email protected]
http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss

Reply via email to