Does anyone have experience running an NFS server from a live cd? I've been playing around with it and I've run into a strange issue that I would like to resolve.
I've found that if I mount a file system from a local hard drive, I can successfully NFS-mount that export. However, if I try to export anything from the tmpfs that the live cd is running in, any and all attempts to mount that export fail. The command line says "reason given by server: Permission denied", but my system log says "authenticated mount request from livecd:803 for ...". Here are the contents of my /etc/exports file: /mnt/sda1/myexport 10.2.0.0/255.255.255.0(rw,sync,no_root_squash) /mnt/livecd/var 10.2.0.0/255.255.255.0(ro) /root/myexport 10.2.0.0/255.255.255.0(rw) And here are the contents of my /etc/mtab file: tmpfs / tmpfs rw 0 0 /dev/hdc /mnt/cdrom iso9660 ro 0 0 /dev/loop0 /mnt/livecd squashfs ro 0 0 proc /proc proc rw,nosuid,nodev,noexec 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw, nosuid 0 0 devpts /dev/pts devpts rw,nosuid,noexec 0 0 tmpfs /mnt/livecd/lib/firmware tmpfs rw 0 0 tmpfs /mnt/livecd/usr/portage tmpfs rw 0 0 usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0 nfsd /proc/fs/nfsd nfsd rw 0 0 rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 /dev/sda1 /mnt/sda1 ext2 rw 0 0 Has anyone dealt with this before? Does anyone know why I can mount the export that resides on a local hard drive, but not /root/myexport (which is in the tmpfs) or /mnt/livecd/var (which is in the squashfs)? Thanks, Stephen /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
