9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Out of pseudo mount points
@ 2015-09-23 22:31 Adriano Verardo
  2015-09-24  2:38 ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Adriano Verardo @ 2015-09-23 22:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I have 2 identical hosts (same hw, same kernel, same cpurc, ....) ...  but

A# import -b B /srv /srv
A# mount /srv/kfs /n/k

beeing /srv/kfs imported from B, works as expected and

B# import -b A /srv /srv
B# mount /srv/kfs /n/k

beeing /srv/kfs imported from A, produces
"mount: /n/k: Out of pseudo mount points".
The same for all file servers imported from A.

Where is/could be  the (my, sure) error ?
Can someone kindly help me ?

adriano






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

* Re: [9fans] Out of pseudo mount points
  2015-09-23 22:31 [9fans] Out of pseudo mount points Adriano Verardo
@ 2015-09-24  2:38 ` erik quanstrom
  2015-09-24 19:55   ` Adriano Verardo
  0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2015-09-24  2:38 UTC (permalink / raw)
  To: 9fans

On Wed Sep 23 15:34:38 PDT 2015, adriano.verardo@mail.com wrote:
> I have 2 identical hosts (same hw, same kernel, same cpurc, ....) ...  but
>
> A# import -b B /srv /srv
> A# mount /srv/kfs /n/k
>
> beeing /srv/kfs imported from B, works as expected and
>
> B# import -b A /srv /srv
> B# mount /srv/kfs /n/k
>
> beeing /srv/kfs imported from A, produces
> "mount: /n/k: Out of pseudo mount points".
> The same for all file servers imported from A.
>
> Where is/could be  the (my, sure) error ?
> Can someone kindly help me ?

can this be addressed with a a reboot?  if so, then i'd
recommend making Npsmpt larger in exportfs, otherwise
there's a bug in exportfs that's leaking pseudo mount points.

- erik



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

* Re: [9fans] Out of pseudo mount points
  2015-09-24  2:38 ` erik quanstrom
@ 2015-09-24 19:55   ` Adriano Verardo
  2015-09-24 20:15     ` Charles Forsyth
  0 siblings, 1 reply; 5+ messages in thread
From: Adriano Verardo @ 2015-09-24 19:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

erik quanstrom wrote:
> On Wed Sep 23 15:34:38 PDT 2015, adriano.verardo@mail.com wrote:
>> I have 2 identical hosts (same hw, same kernel, same cpurc, ....) ...  but
>>
>> A# import -b B /srv /srv
>> A# mount /srv/kfs /n/k
>>
>> beeing /srv/kfs imported from B, works as expected and
>>
>> B# import -b A /srv /srv
>> B# mount /srv/kfs /n/k
>>
>> beeing /srv/kfs imported from A, produces
>> "mount: /n/k: Out of pseudo mount points".
>> The same for all file servers imported from A.
>>
>> Where is/could be  the (my, sure) error ?
>> Can someone kindly help me ?
> can this be addressed with a a reboot?
No
> if so, then i'd
> recommend making Npsmpt larger in exportfs,
it's wired to 32!
>   otherwise
> there's a bug in exportfs that's leaking pseudo mount points.
The same exportfs runs on A and B.
B->A woks, A->B doesnt.
Probably there is something wrong on A, not in exportfs.
Not a "true" bug but a not-well-managed (because very-very strange)
external event/condition.

I'll investigate with some print() in the code, I don't know how to use
acid on an exportfs started by listen.

adriano






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

* Re: [9fans] Out of pseudo mount points
  2015-09-24 19:55   ` Adriano Verardo
@ 2015-09-24 20:15     ` Charles Forsyth
  2015-09-26 20:26       ` Adriano Verardo
  0 siblings, 1 reply; 5+ messages in thread
From: Charles Forsyth @ 2015-09-24 20:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

On 24 September 2015 at 20:55, Adriano Verardo <adriano.verardo@mail.com>
wrote:

> B->A woks, A->B doesnt.
> Probably there is something wrong on A, not in exportfs.
>

You need /mnt/exportfs with a set of numbered directories in it, which
might be missing on A:

% ls /mnt/exportfs
/mnt/exportfs/0
/mnt/exportfs/1
/mnt/exportfs/10
/mnt/exportfs/11
/mnt/exportfs/12
/mnt/exportfs/13
/mnt/exportfs/14
/mnt/exportfs/15
/mnt/exportfs/16
/mnt/exportfs/2
/mnt/exportfs/3
/mnt/exportfs/4
/mnt/exportfs/5
/mnt/exportfs/6
/mnt/exportfs/7
/mnt/exportfs/8
/mnt/exportfs/9

[-- Attachment #2: Type: text/html, Size: 1601 bytes --]

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

* Re: [9fans] Out of pseudo mount points
  2015-09-24 20:15     ` Charles Forsyth
@ 2015-09-26 20:26       ` Adriano Verardo
  0 siblings, 0 replies; 5+ messages in thread
From: Adriano Verardo @ 2015-09-26 20:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Back home today ... I see no subdirs under /mnt/exportfs.
Done. Now both A and B work fine.
Thank you very much Charles !
adriano
> On 24 September 2015 at 20:55, Adriano Verardo
> <adriano.verardo@mail.com <mailto:adriano.verardo@mail.com>> wrote:
>
>     B->A woks, A->B doesnt.
>     Probably there is something wrong on A, not in exportfs.
>
>
> You need /mnt/exportfs with a set of numbered directories in it, which
> might be missing on A:
>
> % ls /mnt/exportfs
> /mnt/exportfs/0
> /mnt/exportfs/1
> /mnt/exportfs/10
> /mnt/exportfs/11
> /mnt/exportfs/12
> /mnt/exportfs/13
> /mnt/exportfs/14
> /mnt/exportfs/15
> /mnt/exportfs/16
> /mnt/exportfs/2
> /mnt/exportfs/3
> /mnt/exportfs/4
> /mnt/exportfs/5
> /mnt/exportfs/6
> /mnt/exportfs/7
> /mnt/exportfs/8
> /mnt/exportfs/9
>




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

end of thread, other threads:[~2015-09-26 20:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-23 22:31 [9fans] Out of pseudo mount points Adriano Verardo
2015-09-24  2:38 ` erik quanstrom
2015-09-24 19:55   ` Adriano Verardo
2015-09-24 20:15     ` Charles Forsyth
2015-09-26 20:26       ` Adriano Verardo

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).