All of lore.kernel.org
 help / color / mirror / Atom feed
* Exportfs does not accept Knoppix /ramdisk/home
@ 2005-06-13 23:19 Larry Alkoff
  2005-06-13 23:28 ` Neil Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Alkoff @ 2005-06-13 23:19 UTC (permalink / raw)
  To: nfs

Please forgive me for bothering you but I and other Knoppix users have a
vexing problem trying to export the Knoppix home directory which is on a
ram disk.

Each time I try to issue
exportfs -rav
an "invalid argument" error message is produced.
However the root / directory is exported without error.

Some background on Knoppix:
Knoppix boots entirely from a cdrom and, in my case, does not use a hard
disk at all.  In fact, there is no hard disk in the Knoppix machine I'm
using now.

Knoppix creates a ram disk when it boots with soft links to the cdrom.
You can delete a soft line to a file and write your own.   In this case
I deleted the soft link to /etc/exports and wrote one for my exports.

Once everything is running satisfactorily you can save the entire /etc
and subdirectories to a thumb drive.

Knoppix boots with a user "knoppix" and its home is mounted as
/ramdisk/home/knoppix
with a symlink
/home -> /ramdisk/home

Tried several variations on below but keep getting an error message.
I suspect that /ramdisk is not considered a file system by exportfs.

This is a portion of /etc/exports:
/       knoppix(sync,rw,no_root_squash)
/ramdisk/home/knoppix   knoppix(sync,rw,no_root_squash)
#/home  knoppix(sync,rw,no_root_squash)

This is the result of exportfs:

root@Knoppix etc # exportfs -rav
exporting knoppix:/ramdisk/home/knoppix
exporting knoppix:/
exporting knoppix:/ramdisk/home/knoppix to kernel
knoppix:/ramdisk/home/knoppix: Invalid argument
reexporting knoppix:/ to kernel

In searching the Knoppix mailing list it appears that others are having
the same trouble trying to mount the Knoppix home directory for NFS.
Some have said that the owner of Knoppix is not interested in NFS, only
Samba.

If I cannot mount using NFS I'll have to go to Samba but am not sure yet
how to go about mounting a Linux share on Samba or whether Samba would
accept the ramdisk part.

Can you tell me why exportfs isn't working with the home ramdisk and
suggest any workarounds?

I have experience with NFS on several Linux machines and have portmap,
nfsd and rpc.mountd running.

I hope the knowledgable people on this list can help solve this puzzle.
Thank you.


-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Slackware Linux


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-14  5:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13 23:19 Exportfs does not accept Knoppix /ramdisk/home Larry Alkoff
2005-06-13 23:28 ` Neil Brown
2005-06-14  5:07   ` Larry Alkoff
2005-06-14  5:29     ` Neil Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.