Re: nfs within jail
David Scheidt wrote: Matt wrote: [EMAIL PROTECTED] wrote: Matt, there's nfsshell, an FTP-like client. just google for nfsshell. Won't help in case of NFS4, I guess :-( Stefan Thanks. I'd like to try the nfsshell, but I can't get it to build. It doesn't appear to be a port either. I'm an amateur C coder at best. Could someone take a quick look? It's a very small program. Sources are here: http://www.cs.vu.nl/pub/leendert/nfsshell.tar.gz Release doesn't use autoconfig. Build dies with error: nfs.c:53:27: sys/sysmacros.h: No such file or directory Commenting this line out is sufficent to compile. You then need to change the LIBS line in the make file, removing -lsocket, -lnsl, and -lrpcsoc. That's enough to make it link. I'm unable to actually see if it'll work, though. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]" Thanks, this worked. Application is fully functional. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs within jail
Matt wrote: [EMAIL PROTECTED] wrote: Matt, there's nfsshell, an FTP-like client. just google for nfsshell. Won't help in case of NFS4, I guess :-( Stefan Thanks. I'd like to try the nfsshell, but I can't get it to build. It doesn't appear to be a port either. I'm an amateur C coder at best. Could someone take a quick look? It's a very small program. Sources are here: http://www.cs.vu.nl/pub/leendert/nfsshell.tar.gz Release doesn't use autoconfig. Build dies with error: nfs.c:53:27: sys/sysmacros.h: No such file or directory Commenting this line out is sufficent to compile. You then need to change the LIBS line in the make file, removing -lsocket, -lnsl, and -lrpcsoc. That's enough to make it link. I'm unable to actually see if it'll work, though. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs within jail
[EMAIL PROTECTED] wrote: Matt, there's nfsshell, an FTP-like client. just google for nfsshell. Won't help in case of NFS4, I guess :-( Stefan Thanks. I'd like to try the nfsshell, but I can't get it to build. It doesn't appear to be a port either. I'm an amateur C coder at best. Could someone take a quick look? It's a very small program. Sources are here: http://www.cs.vu.nl/pub/leendert/nfsshell.tar.gz Release doesn't use autoconfig. Build dies with error: nfs.c:53:27: sys/sysmacros.h: No such file or directory Thanks for any help. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs within jail
> "Matt" == Matt <[EMAIL PROTECTED]> writes: Matt> Simon 'corecode' Schubert wrote: >> On 14.12.2004, at 13:09, Matt wrote: >> >>> Quick question regarding nfs (or other filesystems) inside a jail. >>> As far as I can tell, it isn't possible to mount nfs shares while >>> inside a jail. Is this correct? Is there any way around this >>> limitation? A way to browse network shares without mounting? Or >>> some such trickery? Thanks. Matt> Thanks for your reply. The problem is that I only have a jail Matt> account on the machine. I'd like to access NFS shares on the Matt> LAN from within my jail. I only need read access to the share. Matt> It has been exported to me, I just don't know how to access it. Maybe someone (Rick Maclem? heh) could write an ftp-like client for nfs. Dave. -- |David Gilbert, Independent Contractor. | Two things can only be | |Mail: [EMAIL PROTECTED]| equal if and only if they | |http://daveg.ca | are precisely opposite. | =GLO ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs within jail
Patrick Tracanelli wrote: Matt wrote: Quick question regarding nfs (or other filesystems) inside a jail. As far as I can tell, it isn't possible to mount nfs shares while inside a jail. Is this correct? Is there any way around this limitation? A way to browse network shares without mounting? Or some such trickery? Thanks. When a Jail needs to access a NFS mounted device I use to mount it on the hosting machine (the system outsite the jail where jail is runned from) in any mount-point, so I mount_nullfs inside the selected jails, say, mount_nullfs /nfs/backup/200.200.100.40 /usr/jail/200.200.100.40/mnt/nfs/backup; The problem is that you cant do it if you are not the jails admin (ie, you dont have full access to the jails hosting system). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]" Thanks for your input. I've noticed that nfs server is runing nfsv4. This might shed new light on the problem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs within jail
Matt wrote: Quick question regarding nfs (or other filesystems) inside a jail. As far as I can tell, it isn't possible to mount nfs shares while inside a jail. Is this correct? Is there any way around this limitation? A way to browse network shares without mounting? Or some such trickery? Thanks. When a Jail needs to access a NFS mounted device I use to mount it on the hosting machine (the system outsite the jail where jail is runned from) in any mount-point, so I mount_nullfs inside the selected jails, say, mount_nullfs /nfs/backup/200.200.100.40 /usr/jail/200.200.100.40/mnt/nfs/backup; The problem is that you cant do it if you are not the jails admin (ie, you dont have full access to the jails hosting system). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs within jail
Simon 'corecode' Schubert wrote: On 14.12.2004, at 13:09, Matt wrote: Quick question regarding nfs (or other filesystems) inside a jail. As far as I can tell, it isn't possible to mount nfs shares while inside a jail. Is this correct? Is there any way around this limitation? A way to browse network shares without mounting? Or some such trickery? Thanks. you need to mount them from the outside into the jail cheers simon Thanks for your reply. The problem is that I only have a jail account on the machine. I'd like to access NFS shares on the LAN from within my jail. I only need read access to the share. It has been exported to me, I just don't know how to access it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
nfs within jail
Quick question regarding nfs (or other filesystems) inside a jail. As far as I can tell, it isn't possible to mount nfs shares while inside a jail. Is this correct? Is there any way around this limitation? A way to browse network shares without mounting? Or some such trickery? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs within jail
On 14.12.2004, at 13:09, Matt wrote: Quick question regarding nfs (or other filesystems) inside a jail. As far as I can tell, it isn't possible to mount nfs shares while inside a jail. Is this correct? Is there any way around this limitation? A way to browse network shares without mounting? Or some such trickery? Thanks. you need to mount them from the outside into the jail cheers simon -- /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News PGP.sig Description: This is a digitally signed message part