[DragonFlyBSD - Bug #2476] tmpfs namecache(?)

John Marino via Redmine bugtracker-admin at leaf.dragonflybsd.org
Mon Dec 17 07:30:37 PST 2012


Issue #2476 has been updated by John Marino.


I think the "sleep" and "ls" part is a red herring.  It fails sometimes with sleep of 1, 3, and 5 seconds.
It now appears that memory is never allocated, so the cpdup command ends immediately.

Strangely it seems to work every other time, e.g.
1st: yes
2nd: no
3rd: yes
4th: no

Run consecutively...
There is definitely something funny with tmpfs here.
----------------------------------------
Bug #2476: tmpfs namecache(?)
http://bugs.dragonflybsd.org/issues/2476

Author: John Marino
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


Using cpdup, I directly copied a pfs snapshot to a tmpfs mount:
  mount -t tmpfs tmpfs /path/to/mypoint
  cpdup -x -i0 /path/to/snapshot/ /path/to/mypoint/
  mount -t devfs devfs /path/to/mypoint/dev

(/path/to/snapshot/dev exists, is a directory, and is empty)

The final mount will fail unless a sleep command of a second or two is put between the cpdup and mount commands, or if something accesses mymount point like ls command.

Seems that this is an issue with tmpfs, possibly with namecache according to Venkatesh.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list