9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Peter A. Cejchan" <tyapca7@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] ext2srv problem with too many files
Date: Fri, 19 Oct 2012 15:52:28 +0200	[thread overview]
Message-ID: <CAM6ozu5mo18=OeRaFt89Co2sTwFZL7oEMrnjvXbiV36bS9VJFg@mail.gmail.com> (raw)
In-Reply-To: <CAM6ozu5X54di9d7PzEzeJ+8R+0X=b8q94KD+VzgeuCp55khT7w@mail.gmail.com>

4090 seems to be the maximum number of files that can reside in an
ext2srv served directory:

 ext2srv
mount -c /srv/ext2 /n/linux /dev/sdE4/linux
cd /n/linux/x

term% for(i in`{seq 1 5000})  touch $i
touch: 4091: cannot create: '4091' no space on device
rm [0-9]*
ls
cp ../y/foo .
ls -l
--rw------- M 48 1000 1000 1950 Oct 19 12:14 foo
term%

term% for(i in`{seq 1 5000})  cp foo $i
cp: can't create 4090: '4090' no space on device

===
I forgot to say that I'm using the ext2srv version from Plan
distribution, not the Iruata's from contrib/iru;
compiling iru's ext2srv gives error:
term% mk
8c -FTVw xfssrv.c
8c -FTVw xfile.c
8c -FTVw ext2fs.c
8c -FTVw ext2subs.c
8c -FTVw chat.c
8c -FTVw iobuf.c
8l  -o 8.out xfssrv.8 xfile.8 ext2fs.8 ext2subs.8 chat.8 iobuf.8
??none??: incompatible type signatures 392d4f87(xfssrv.8) and
2569e19(/386/lib/libc.a(chartorune)) for chartorune
mk: 8l  -o ...  : exit status=rc 533: 8l 535: error



  reply	other threads:[~2012-10-19 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19  7:51 Peter A. Cejchan
2012-10-19 13:52 ` Peter A. Cejchan [this message]
2012-10-19 15:42   ` erik quanstrom
2012-10-24 15:00   ` Peter A. Cejchan
2012-10-25  1:40 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='CAM6ozu5mo18=OeRaFt89Co2sTwFZL7oEMrnjvXbiV36bS9VJFg@mail.gmail.com' \
    --to=tyapca7@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).