9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Floren <slawmaster@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Configuring NFS
Date: Tue,  2 Jun 2009 12:57:34 -0700	[thread overview]
Message-ID: <7d3530220906021257q1786f9b8pd12c3b145411f26a@mail.gmail.com> (raw)
In-Reply-To: <a4e6962a0906021149t7885c2ael7a3a5e27f923be17@mail.gmail.com>

On Tue, Jun 2, 2009 at 11:49 AM, Eric Van Hensbergen <ericvh@gmail.com> wrote:
> On Tue, Jun 2, 2009 at 1:34 PM, John Floren<slawmaster@gmail.com> wrote:
>>
>> I'd like to use the 9p mounting available in Linux, but it doesn't
>> seem to work in this case.
>> I try "mount -t 9p glenda /mnt" (glenda is my cpu/file server) and get:
>> mount: wrong fs type, bad option, bad superblock on glenda,
>>       missing codepage or helper program, or other error
>>       (for several filesystems (e.g. nfs, cifs) you might
>>       need a /sbin/mount.<type> helper program)
>>       In some cases useful info is found in syslog - try
>>       dmesg | tail  or so
>>
>> If I do "mount -t 9p 192.168.18.180 /mnt", using the file server IP, I just get
>> mount: permission denied
>> But dmesg shows "[88617.144804] p9_errstr2errno: server reported
>> unknown error cannot attach as none before authentication", ONLY when
>> I use the IP address--nothing appears when I use the /etc/hosts alias
>> "glenda".
>>
>> What am I missing?
>>
>
> The Linux mount tool doesn't do DNS translation (except in the case of
> NFS).  Other file systems have to rely on mount helpers which have to
> be appropriately named.  So invocation as the IP address is the only
> correct invocation in this case -- but you'll need to auth (or setup
> the file server to export without authentication).
>
>    -eric
>
>

Ok. Since I want to try and keep this with a low barrier to entry, I'd
prefer to avoid making people install p9p, which I think is what you
said is needed to do auth. I tried 9mount as well and had no luck
there--"permission denied" when I try to mount.

Is it possible to just export one directory without authentication? I
want to do read-only access if possible... is that what you get as
'none'?

John
-- 
"I've tried programming Ruby on Rails, following TechCrunch in my RSS
reader, and drinking absinthe. It doesn't work. I'm going back to C,
Hunter S. Thompson, and cheap whiskey." -- Ted Dziuba



  reply	other threads:[~2009-06-02 19:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 17:30 John Floren
2009-06-02 17:35 ` Roman V. Shaposhnik
2009-06-02 18:03   ` John Floren
2009-06-02 18:19     ` Roman V. Shaposhnik
2009-06-02 18:34       ` John Floren
2009-06-02 18:49         ` Eric Van Hensbergen
2009-06-02 19:57           ` John Floren [this message]
2009-06-02 23:22             ` Anthony Sorace
2009-06-02 23:30               ` John Floren
2009-06-02 23:41                 ` Anthony Sorace
2009-06-02 23:51                   ` John Floren
2009-06-03  3:18                     ` Anthony Sorace
2009-06-03  3:29         ` J.R. Mauro
2009-06-09 16:48         ` Roman V Shaposhnik
2009-06-09 16:48           ` J.R. Mauro
2009-06-11  5:47           ` Ethan Grammatikidis
2009-06-02 18:19 ` Steve Simon
2010-02-12 23:30 ` Fernan Bolando
2010-02-12 23:58   ` geoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7d3530220906021257q1786f9b8pd12c3b145411f26a@mail.gmail.com \
    --to=slawmaster@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).