From owner-freebsd-current@FreeBSD.ORG Sun Nov 20 00:22:11 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D60DC16A41F for ; Sun, 20 Nov 2005 00:22:11 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AC4043D49 for ; Sun, 20 Nov 2005 00:22:11 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 5E74F72DD4; Sat, 19 Nov 2005 16:22:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 5904B72DCB; Sat, 19 Nov 2005 16:22:11 -0800 (PST) Date: Sat, 19 Nov 2005 16:22:11 -0800 (PST) From: Doug White To: Ulf Kieber In-Reply-To: <200511150403.jAF43B6f001417@jerry.xoo.net> Message-ID: <20051119162011.I88861@carver.gumbysoft.com> References: <200511150403.jAF43B6f001417@jerry.xoo.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current@freebsd.org Subject: Re: GEOM error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2005 00:22:11 -0000 On Tue, 15 Nov 2005, Ulf Kieber wrote: > Re, > > on a 6.0-RELEASE I receive the following error since I tried restoring > a large dump > > Nov 14 12:30:11 nexus kernel: g_vfs_done():da1s1d.bde[WRITE(offset=72350695424, length=131072)]error = 1 > > Besides that, no other errors are logged, especially no SCSI errors. > The problem persists even after the restore has completed. errno 1 is EPERM ("Operation not permitted") and is generally returned if you attempt to write somewhere you're not allowed to. Considering the offset is near the end of the disk, GBDE may be trying to prevent you from overwriting metadata blocks at the end of the partition. How or why restore(8) would be writing there I'm not sure. A SCSI error would return as errno 5 (EIO, "Input/output error"). -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org