gjournal crash: "error while writing data (error=6)"

Charles Owens cowens at greatbaysoftware.com
Mon Oct 5 18:27:08 UTC 2009


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*





More information about the freebsd-fs mailing list