From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29922 invoked from network); 14 Feb 2005 16:25:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Feb 2005 16:25:17 -0000 Received: (qmail 66991 invoked from network); 14 Feb 2005 16:25:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Feb 2005 16:25:11 -0000 Received: (qmail 28741 invoked by alias); 14 Feb 2005 16:24:55 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8493 Received: (qmail 28727 invoked from network); 14 Feb 2005 16:24:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Feb 2005 16:24:54 -0000 Received: (qmail 65235 invoked from network); 14 Feb 2005 16:24:51 -0000 Received: from out010pub.verizon.net (HELO out010.verizon.net) (206.46.170.133) by a.mx.sunsite.dk with SMTP; 14 Feb 2005 16:24:47 -0000 Received: from candle.brasslantern.com ([4.11.10.129]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050214162445.UTCL25879.out010.verizon.net@candle.brasslantern.com> for ; Mon, 14 Feb 2005 10:24:45 -0600 Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j1EGOfBE006004 for ; Mon, 14 Feb 2005 08:24:41 -0800 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j1EGOeQL006003 for zsh-users@sunsite.dk; Mon, 14 Feb 2005 08:24:40 -0800 From: Bart Schaefer Message-Id: <1050214162440.ZM6002@candle.brasslantern.com> Date: Mon, 14 Feb 2005 16:24:40 +0000 In-Reply-To: <20050214155630.GB6395@ay.vinc17.org> Comments: In reply to Vincent Lefevre "Re: History corruption (over NFS)" (Feb 14, 4:56pm) References: <20050210165417.GG30487@ay.vinc17.org> <1050210184111.ZM22490@candle.brasslantern.com> <20050214155630.GB6395@ay.vinc17.org> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: History corruption (over NFS) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [4.11.10.129] at Mon, 14 Feb 2005 10:24:41 -0600 X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Feb 14, 4:56pm, Vincent Lefevre wrote: } Subject: Re: History corruption (over NFS) } } The "noac" didn't change anything (except making command execution } slower). } } If I've understood correctly, the first "ssh priam" started a zsh that } truncated the history file (since its size was above the limit). Note } that I quit this shell immediately. Then the current zsh instances } went on writing to the history file without noticing that it had been } truncated, hence the null bytes. Try changing from "noac" to an explicit "hard". I wouldn't have thought this was needed in a modern NFS environment, but the symptoms sure look familiar.