Hello All, Thanks for the pointer. I'm getting there . . . .
It looks like NFS only works on AstLinux if directories are exported (see /etc/init.d/nfsd) But, because AstLinux is a small "diskless" configuration where I want to limit the number of read/writes I don't really want to give anyone access to the flash from outside. However, I don't see any options in rc.conf to simply be a nfs client and allow me to use an external filesystem. I don't want to suggest that the csv files (for example) should be written off-AstLinux because I don't suppose * can check first before writing and if the external machine is off-line when it writes the csv goes missing (at the least). So, here's what I've found: I do not have INTIP defined because I'm running in PBX only mode. This means that IPBASE doesn't get defined in /etc/init.d/nfsd This means if I un-comment the following in rc.conf : NFS_EXPORTS_RO="/tftpboot /mnt/kd/cdr-csv" NFS_EXPORTS_RW="/home" my /etc/exports file is: /tftpboot /mnt/kd/cdr-csv .0/(ro,no_root_squash,sync) /home .0/(rw,no_root_squash,sync) OK - I modified them by hand. As an aside - because I don't want to: this also means that I can't boot over NFS because #NFSROOTPATH="$INTIP:/mnt/kd/nfsroot" also uses INTIP. Does this mean I've misunderstood what "PBX only mode" means? Or did I misunderstand : ##If you do not define the INTIF, I will not try to start one. ##If you do not define the INTIF, I will also not start the following services: ##dnsmasq iptables astshape (PBX only mode) ##PBX Only mode is enabled by default from 0.2.8.10 #INTIF=eth1 Or can I set an INTIP=(the same as the EXTIP) ? (didn't try) Anyway, with a /etc/exports file AstLinux starts all the nfs-stuff and when I try to mount the export on my FreeBSD machine I get access. I just have to get rw access working . . . . When I get this working where should I write it up on voip-info? Regrads, -Graham S. Jarvis- ----- Original Message ----- From: "DUS Basalamah Harun" <[EMAIL PROTECTED]> To: "Graham S. Jarvis" <[EMAIL PROTECTED]> Sent: Wednesday, October 25, 2006 11:33 AM Subject: RE: [Astlinux-users] nfs mounting with FreeBSD > hi Graham, > > hmmm... > > isn't 'strace' part of the AstLinux distro? > that might help to get to the core of the problem. > at least as long as there's no network problem or the > NFS server is busted... > > cheers > Harry > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Graham S. Jarvis > > Sent: Dienstag, 24. Oktober 2006 22:34 > > To: Discussion of AstLinux - Asterisk on Compact Flash > > Subject: [Astlinux-users] nfs mounting with FreeBSD > > > > Hello All, > > > > Did anyone get AstLinux to mount a FreeBSD (and old > > 4.7-Release) export? > > I have /tmp exported on my FreeBSD machine and when I try to > > mount this on AstLinux the command hangs and I see this in > > the 'ps -w': > > > > 13403 root 416 S mount 192.168.207.1:tmp /mnt/kd/nfs > > 13404 root SW< [rpciod/0] > > > > Any help gratefully received. > > > > -Graham S. Jarvis- > > > > _______________________________________________ > > Astlinux-users mailing list > > [email protected] > > http://lists.kriscompanies.com/mailman/listinfo/astlinux-users > > > > Donations to support AstLinux are graciously accepted via > > PayPal to [EMAIL PROTECTED] > > _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
