From owner-freebsd-hackers Thu Feb 7 9:54: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 1AFA737B404 for ; Thu, 7 Feb 2002 09:54:06 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id g17Hs2T06153; Thu, 7 Feb 2002 11:54:02 -0600 (CST) (envelope-from dan) Date: Thu, 7 Feb 2002 11:54:02 -0600 From: Dan Nelson To: Markus Stumpf Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: dump(8) race conditions? Message-ID: <20020207175402.GA79258@dan.emsphone.com> References: <20020207185052.A87994@Space.Net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020207185052.A87994@Space.Net> User-Agent: Mutt/1.3.27i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Feb 07), Markus Stumpf said: > We use amanda and dump for backups. Some hosts have rather busy disks > even during non prime time hours when backup is run. > > >From time to time amanda reports dump(8) errors like the following: > > ? DUMP: read error from /dev/rda4s1e: Invalid argument: [block -410921522]: count=3072 > ? DUMP: DUMP: read error from /dev/rda4s1e: Invalid argument: [sector -410921522]: count=512 > ? DUMP: read error from /dev/rda4s1e: Invalid argument: [block -410921532]: count=5120 > ? DUMP: read error from /dev/rda4s1e: Invalid argument: [block -1001057530]: count=1024 > [ ... ] Dump should ideally be run on an unmounted filesystem. The next best is to create a snapshot ( /usr/src/sys/ufs/ffs/README.snapshot ) and dump that. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message