[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I use NFS in Knoppix 5.1?



Oops!! /etc/hosts.allow have nothing to do with this problem.

Only /cdrom directory can export to other linux system.
Maybe UnionFS concern this problem. I can mount /KNOPPIX as well as
/cdrom, but can't /UNIONFS and /ramdisk.

What do you think of this problem?


2007/12/17, Jaehun Shin <gunsmoke.shin@gmail.com>:
> A little improvement.
>
> I can mount the share directory which another linux box is exporting
> to knoppix. but still have problem when knoppix is exporting to other
> linux box. I can't mount knoppix's exporting directory in other linux
> box.
>
> Yep. knoppix-terminalserver scripts use nfs, and
> knoppix-terminalserver is running well.
> I analyzed knoppix-terminalserver scripts, so I founded that my
> configuration is something insufficiented.
>
> I added /etc/exports
>
> /cdrom 192.168.1.0/255.255.255.0(ro,no_root_squash,async)
>
> and added /etc/hosts.allow
>
> portmap in.tftpd rpc.mountd mountd rpc.lockd lockd rpc.nfsd nfsd :
> 127.0.0.1 LOCAL 192.168.123.0/255.255.255.0 : ALLOW
>
> and I did this.
>
> # /etc/init.d/portmap start
> # /etc/init.d/nfs-kernel-server start
>
> In other linux box, I tried to mount the exported directory. like this
>
> # mount -t nfs -o nolock 192.168.1.176:/cdrom /mnt/nfs
>
> wow. It was working!! I could mount knoppix's exporting directory.
>
> But I still have not mounted another directory, any directory! except /cdrom.
> All error message trying to mount exporting directory are exactly
> same, 'Permission denied'.
> Are there any something special configuration in /cdrom directory?
>
> How can I mount knoppix's exporting directory in other linux box.
>
> ps. painful job. please help me.
>
> 2007/12/16, Jaehun Shin <gunsmoke.shin@gmail.com>:
> > I have founded something else.
> > There is no problem using nfs between knoppix and another linux box.
> > But still have problem between knoppix and knoppix.
> > Maybe same user, knoppix or same hostname Knoppix caused troble.
> >
> > Am I right?
> >
> > 07. 12. 11, Jaehun Shin <gunsmoke.shin@gmail.com>님이 작성:
> > > I want to share directory between 2 knoppix systems.
> > > I think that I didn't make any mistakes, but the problem was always happening.
> > >
> > > First, I edited /etc/exports like this.
> > >
> > > /home/knoppix 192.168.1.*(ro)
> > >
> > > and I started portmap and nfs-kernel-server, and I checked showmount was OK.
> > >
> > > I added the line allowing connect to portmap to /etc/hosts.allow
> > >
> > > but whenever I tried to mount NFS, 'mount failed, reason given by
> > > server : permission denied' error message was kicked.
> > >
> > > I tried to solve the problem, search and search.... So I tried
> > > /etc/exports like this.
> > >
> > > /ramdisk/home/knoppix *(ro,no_root_squash)
> > >
> > > and connected to localhost like this.
> > >
> > > # mount -t nfs 127.0.0.1:/ramdisk/home/knoppix /mnt/nfs
> > >
> > > but the same error occured.
> > >
> > > How can I solve it?
> > >
> > >
> > >
> > >
> > > --
> > > 大逆戰
> > >
> >
> >
> > --
> > 大逆戰
> >
>
>
> --
> 大逆戰
>


-- 
大逆戰

Reply to: