Skip to contentSkip to conversation

DL_DIR on nfs mount -> lockfile mayhem

DISCUSSION Koen Kooi 4 participants 4 messages Mar 3, 2010

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Koen Kooi

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

#2 lore raw
In reply to Koen Kooi
Quoted 10 lines · Koen Kooi

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

Quoted 5 lines

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)

#3 lore raw
In reply to Koen Kooi
Quoted 28 lines · Koen Kooi

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

Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
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