Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Oct 2009 14:30:15 -0400
From:      Charles Owens <cowens@greatbaysoftware.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: gjournal crash: "error while writing data (error=6)"
Message-ID:  <4ACA3B37.6070501@greatbaysoftware.com>
In-Reply-To: <20091005165852.GF1702@garage.freebsd.pl>
References:  <4ACA015D.3090800@greatbaysoftware.com> <20091005161258.GE1702@garage.freebsd.pl> <4ACA1EEA.3070204@greatbaysoftware.com> <20091005165852.GF1702@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060900070605020605020408
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-WatchGuard-AntiVirus: part scanned. clean action=allow

Pawel Jakub Dawidek wrote:
> On Mon, Oct 05, 2009 at 12:29:30PM -0400, Charles Owens wrote:
>   
>> Pawel Jakub Dawidek wrote:
>>     
>>> On Mon, Oct 05, 2009 at 10:23:25AM -0400, Charles Owens wrote:
>>>   
>>>       
>>>> Hello folks,
>>>>
>>>> We've had a system crash, apparently related to GEOM_JOURNAL, on an i386
>>>> system running 7.0-RELEASE-p11.   Here's what we could see on the screen
>>>> (formatted for readability):
>>>>
>>>> GEOM_JOURNAL: [copy] Error while writting data (error=6) \
>>>>     ad4s1a[WRITE(offset=43561402368, length=16384)]
>>>> GEOM_JOURNAL: [copy] Error while writting data (error=6) \
>>>>     ad4s1a[WRITE(offset=48868164096, length=16896)]
>>>> GEOM_JOURNAL: Error while reading data from ad4s1a (error=6).
>>>>     
>>>>         
>>> Error 6 (ENXIO, man errno(2)) might mean that ad4s1a disappeared. There
>>> were no any errors earlier indicating that ad4 was disconnected or
>>> similar?
>>>   
>>>       
>> Such as if someone had come by and temporarily pulled out the drive?  
>>     
>
> It can be buggy ata controller or failing disk.
>
>   
>> Nothing in the logs of the sort, no.
>>     
>
> What is exact partition size in bytes

Sorry, I'd grabbed the size from a similar system which I realized has a
smaller drive.

Here's the partition size from the real system in question:  59055800320
(55 GB)

While I'm at it, here's some additional detail on gjournal:

# gjournal list
Geom name: gjournal 2048257491
ID: 2048257491
Providers:
1. Name: ad4s1a.journal
   Mediasize: 45182090752 (42G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: ad4s1a
   Mediasize: 59055800320 (55G)
   Sectorsize: 512
   Mode: r1w1e1
   Jend: 59055799808
   Jstart: 45182090752
   Role: Data,Journal
 
Geom name: gjournal 3790277183
ID: 3790277183
Providers:
1. Name: ad4s1d.journal
   Mediasize: 168868626944 (157G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: ad4s1d
   Mediasize: 182742336512 (170G)
   Sectorsize: 512
   Mode: r1w1e1
   Jend: 182742336000
   Jstart: 168868626944
   Role: Data,Journal

# bsdlabel ad4s1
# /dev/ad4s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 115343360        0    4.2BSD     2048 16384 28552
  b: 16130016 115343360      swap                  
  c: 488392002        0    unused        0     0         # "raw" part,
don't edit
  d: 356918626 131473376    4.2BSD     2048 16384 28552



**Charles Owens**
*Great Bay Software*




--------------060900070605020605020408--




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