9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Alberto Cortés" <alcortes@it.uc3m.es>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] how to build a file server?
Date: Tue,  9 Jan 2007 18:25:58 +0100	[thread overview]
Message-ID: <20070109172558.GA4741@it.uc3m.es> (raw)

I have a cpu/auth/fs server configured as the Wiki
("Configuring_a_Standalone_CPU_Server") suggests. I have created
some test user accounts.

I also have an standalone terminal (with its own fossil).

I can cpu from the terminal to the server (as any user).
I can drawterm to the server (as any user).

My problem(s):
I can not boot the terminal with the server as fs and auth:
(boot: can't connect to file server: connection timed out)
Also, I can not 9fs to the server.



Running "snoopy" and "netstat -n" on the server I have discovered
that my server is not a fs server at all. There is nobody
listening at tcp 564.

/rc/bin/service/!tcp564 launch exportfs which I belive is not
authenticated: if I rename /rc/bin/service/!tcp564 to
/rc/bin/service/tcp564 and reboot the server, my problem is
gone, I can 9fs to it and boot the terminal with the server
as fs and auth. But the user is not asked for a password when
booting :(.

Searching 9fans archive I have read that:

    disk/kfscmd 'listen tcp!*!564'

is this solutions to all my problems.

Also on the wiki (Setting_up_fossil) says:

    If you want to serve the network you can run the commands

        listen tcp!*!9fs
        listen il!*!9fs


but there are some things in kfscmd manpage that I don't fully
ubnderstands and prevent me from using the "disk/kfscmd" solution:

    listen [address]

        [...]
        This feature is intended to facilitate small
        networks of a couple machines in the situation when
        convenience is more important than performance. This
        command is only useful on machines with (possibly
        simulated) NVRAM, which needs to be readable to the kfs
        processes; see readnvram in authsrv(2). The production
        file server (see fs(4)) is strongly encouraged for
        anything more than casual use.
        [...]

So, how do I properly build a file server?


--
  http://bach.gast.it.uc3m.es/~alcortes/index.html


             reply	other threads:[~2007-01-09 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-09 17:25 Alberto Cortés [this message]
2007-01-09 17:59 ` Gabriel Diaz
2007-01-09 19:01 ` Gorka guardiola
2007-01-09 19:07 erik quanstrom

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=20070109172558.GA4741@it.uc3m.es \
    --to=alcortes@it.uc3m.es \
    --cc=9fans@cse.psu.edu \
    /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).