Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2005 00:02:55 +0100
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Christian Brueffer <chris@unixpages.org>
Cc:        Ulf Kieber <kieber@xoo.net>, ticso@cicely.de, freebsd-current@freebsd.org
Subject:   Re: GEOM error
Message-ID:  <20051123230254.GA12630@cicely12.cicely.de>
In-Reply-To: <20051123221734.GD1856@unixpages.org>
References:  <200511150403.jAF43B6f001417@jerry.xoo.net> <20051119162011.I88861@carver.gumbysoft.com> <20051120011438.GA4194@unixpages.org> <20051122141101.G24336@carver.gumbysoft.com> <20051123210156.GC1856@unixpages.org> <20051123212600.GQ8256@cicely12.cicely.de> <20051123221734.GD1856@unixpages.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 23, 2005 at 11:17:34PM +0100, Christian Brueffer wrote:
> On Wed, Nov 23, 2005 at 10:26:01PM +0100, Bernd Walter wrote:
> > On Wed, Nov 23, 2005 at 10:01:56PM +0100, Christian Brueffer wrote:
> > > On Tue, Nov 22, 2005 at 02:11:23PM -0800, Doug White wrote:
> > > > On Sun, 20 Nov 2005, Christian Brueffer wrote:
> > > > > Nov 20 02:03:30 haakonia kernel: g_vfs_done():da3s2c.bde[WRITE(offset=383341297664, length=65536)]error = 1
> > I don't know if the offset is in Bytes or sector, but even in case of
> > Bytes the second example is at 714G, which is obviously out of disk
> > size unless you are using multiple drives, which is not likely for an
> > USB drive.
> 
> In my case it is a 400GB PATA drive in an external enclosure.  It only
> happens with this drive, tried it on two boxes (connection via USB or
> FireWire doesn't make a difference either).

Damn - I managed to misscalculate the offsets (did /512 once itstead of
1024), but nevertheless it may fit here.
The given write is near the end of your 400G drive.
You should carefully check your partition sizes - not that your FS is
just a few sectors longer than the partition.
Don't forget to check the offset + 64k, which marks the end of the
data range that the transfer wants to access and check all partition
layers (slice, disklabel, etc) about correctness.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd@bwct.de                                  info@bwct.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051123230254.GA12630>