All of lore.kernel.org
 help / color / mirror / Atom feed
* DL_DIR on nfs mount -> lockfile mayhem
@ 2010-03-03  8:29 Koen Kooi
  2010-03-03  9:33 ` Richard Purdie
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Koen Kooi @ 2010-03-03  8:29 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

One of my coworkers ran out of diskspace again and decided to move his
DL_DIR to the filer and access it over NFS. Now do_fetch just hangs for
nearly everything and we can get it to continue after removing the
lockfiles in DL_DIR manually, but that's not a good solution.

I don't touch NFS with a bargepole, but my coworker insists it's a valid
use-case :) So, is DL_DIR on nfs supported and if so, any clues why it
could break with lockfiles?

This is with bitbake 1.8 from git.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLjh3kMkyGM64RGpERAqZ0AJ9JlIjYNNApPue9ik+LsH4HBF1ACACfWsEi
CC1SVf3BR0QtLsMyOakTKA0=
=lGCK
-----END PGP SIGNATURE-----




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

* Re: DL_DIR on nfs mount -> lockfile mayhem
  2010-03-03  8:29 DL_DIR on nfs mount -> lockfile mayhem Koen Kooi
@ 2010-03-03  9:33 ` Richard Purdie
  2010-03-03 12:50 ` Mike Westerhof
  2010-03-03 21:36 ` Graham Gower
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2010-03-03  9:33 UTC (permalink / raw)
  To: openembedded-devel

On Wed, 2010-03-03 at 09:29 +0100, Koen Kooi wrote:
> One of my coworkers ran out of diskspace again and decided to move his
> DL_DIR to the filer and access it over NFS. Now do_fetch just hangs for
> nearly everything and we can get it to continue after removing the
> lockfiles in DL_DIR manually, but that's not a good solution.
> 
> I don't touch NFS with a bargepole, but my coworker insists it's a valid
> use-case :) So, is DL_DIR on nfs supported and if so, any clues why it
> could break with lockfiles?
> 
> This is with bitbake 1.8 from git.

I ran bitbake with DL_DIR on nfs for a long time without issue. I
suspect something in their NFS setup is broken, maybe the part lockfile
handling part (lockd?). Do the syslogs say anything interesting?

Cheers,

Richard




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

* Re: DL_DIR on nfs mount -> lockfile mayhem
  2010-03-03  8:29 DL_DIR on nfs mount -> lockfile mayhem Koen Kooi
  2010-03-03  9:33 ` Richard Purdie
@ 2010-03-03 12:50 ` Mike Westerhof
  2010-03-03 21:36 ` Graham Gower
  2 siblings, 0 replies; 4+ messages in thread
From: Mike Westerhof @ 2010-03-03 12:50 UTC (permalink / raw)
  To: openembedded-devel

Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> One of my coworkers ran out of diskspace again and decided to move his
> DL_DIR to the filer and access it over NFS. Now do_fetch just hangs for
> nearly everything and we can get it to continue after removing the
> lockfiles in DL_DIR manually, but that's not a good solution.
> 
> I don't touch NFS with a bargepole, but my coworker insists it's a valid
> use-case :) So, is DL_DIR on nfs supported and if so, any clues why it
> could break with lockfiles?
> 
> This is with bitbake 1.8 from git.

Works great over NFS; I've used it this way for years now.  There should
be messages in syslog or on the console that might provide a clue.

(But lately I've had reasonably good luck by starting _any_
troubleshooting for odd problems like this by looking at selinux first,
or better yet just turn selinux off and see if whatever strange issue
you have doesn't just go away.)

-Mike (mwester)



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

* Re: DL_DIR on nfs mount -> lockfile mayhem
  2010-03-03  8:29 DL_DIR on nfs mount -> lockfile mayhem Koen Kooi
  2010-03-03  9:33 ` Richard Purdie
  2010-03-03 12:50 ` Mike Westerhof
@ 2010-03-03 21:36 ` Graham Gower
  2 siblings, 0 replies; 4+ messages in thread
From: Graham Gower @ 2010-03-03 21:36 UTC (permalink / raw)
  To: openembedded-devel

On 3 March 2010 18:59, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> One of my coworkers ran out of diskspace again and decided to move his
> DL_DIR to the filer and access it over NFS. Now do_fetch just hangs for
> nearly everything and we can get it to continue after removing the
> lockfiles in DL_DIR manually, but that's not a good solution.
>
> I don't touch NFS with a bargepole, but my coworker insists it's a valid
> use-case :) So, is DL_DIR on nfs supported and if so, any clues why it
> could break with lockfiles?
>
> This is with bitbake 1.8 from git.
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFLjh3kMkyGM64RGpERAqZ0AJ9JlIjYNNApPue9ik+LsH4HBF1ACACfWsEi
> CC1SVf3BR0QtLsMyOakTKA0=
> =lGCK
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

What is the nfs server running and what are your mount options? I've
seen odd behaviour with applications using sqlite (e.g. firefox) on
some nfs mounts: http://www.sqlite.org/faq.html#q5

Does the problem go away when the filesystem is mounted -onolock ?

-Graham



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

end of thread, other threads:[~2010-03-03 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03  8:29 DL_DIR on nfs mount -> lockfile mayhem Koen Kooi
2010-03-03  9:33 ` Richard Purdie
2010-03-03 12:50 ` Mike Westerhof
2010-03-03 21:36 ` Graham Gower

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.