Re: dump after ddb sync command

2011-11-25 Thread Hauke Fath
At 0:36 Uhr +0100 25.11.2011, Edgar Fuß wrote: [Please keep your line length below 80 chars] I just experienced a panic on our (4.0/amd64) file server, which dropped into ddb. I issued a sync command, which synced the disks, unmounted them (which I've never noticed before) and then went on to

Re: dump after ddb sync command

2011-11-25 Thread Edgar Fuß
'man ddb' has sync Force a crash dump, and then reboot. Sorry, I didn't look there. Thanks. So I guess the command name has, ehm, historc reasons. Sorry for the noise.

re: dump after ddb sync command

2011-11-25 Thread matthew green
On reboot, the file systems were marked clean; but savecore tried to fetch the dump I had aborted (I interrupted that). Shouldn't the dump be marked valid only after it was fully done? it's better to attempt to save a partial dump in the case that the system hung half way thru the dumping.

Re: emap

2011-11-25 Thread Thor Lancelot Simon
On Fri, Nov 25, 2011 at 12:50:58PM +0400, Aleksej Saushev wrote: Mindaugas Rasiukevicius rm...@netbsd.org writes: y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: hi, what's the status of emap and pipe? ... and encourage our users to use amd64 instead of i386. I'm sorry to

Re: Deleted parent node in PUFFS lookup

2011-11-25 Thread Emmanuel Dreyfus
On Fri, Nov 25, 2011 at 01:58:39AM +, YAMAMOTO Takashi wrote: puffs_flush(3)? That will not help, as I already disabel name cache. Here is a deeper description of the problem: I tracked down the bug to this simple operation: machine 1: cd /gfs/stale/a touch test machine 2: cd /gfd/stale

Re: Deleted parent node in PUFFS lookup

2011-11-25 Thread David Holland
On Thu, Nov 24, 2011 at 02:14:30PM +0100, Emmanuel Dreyfus wrote: When calling lookup, the parent (directory) is supposed to be locked to prevent exactly this sort of thing from happening. You and/or perfuse and/or puffs ignore this at your peril, because doing so violates atomicitiy

Re: Deleted parent node in PUFFS lookup

2011-11-25 Thread Emmanuel Dreyfus
David Holland dholland-t...@netbsd.org wrote: What does NFS do for ESTALE cases? Whatever it is, there's probably a way to do it via fuse, and therefore also via perfuse. FUSE is not the problem: I need to notify the kernel through the PUFFS API -- Emmanuel Dreyfus

Re: emap

2011-11-25 Thread Aleksej Saushev
Thor Lancelot Simon t...@panix.com writes: On Fri, Nov 25, 2011 at 12:50:58PM +0400, Aleksej Saushev wrote: Mindaugas Rasiukevicius rm...@netbsd.org writes: y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: hi, what's the status of emap and pipe? ... and encourage our users to

Re: Deleted parent node in PUFFS lookup

2011-11-25 Thread David Holland
On Fri, Nov 25, 2011 at 08:24:20PM +0100, Emmanuel Dreyfus wrote: What does NFS do for ESTALE cases? Whatever it is, there's probably a way to do it via fuse, and therefore also via perfuse. FUSE is not the problem: I need to notify the kernel through the PUFFS API But, if there's a

Re: emap

2011-11-25 Thread Matthew Mondor
On Fri, 25 Nov 2011 23:25:24 +0400 Aleksej Saushev a...@inbox.ru wrote: Thor Lancelot Simon t...@panix.com writes: On Fri, Nov 25, 2011 at 12:50:58PM +0400, Aleksej Saushev wrote: Mindaugas Rasiukevicius rm...@netbsd.org writes: y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: hi,