Re: fs issues on software raid0 (PG_VERSION does not contain valid data) - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: fs issues on software raid0 (PG_VERSION does not contain valid data)
Date
Msg-id 5624ED66.3040808@2ndquadrant.com
Whole thread Raw
In response to Re: fs issues on software raid0 (PG_VERSION does not contain valid data)  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,

On 10/18/2015 08:37 PM, Andres Freund wrote:
> Hi,
>
> On 2015-10-18 20:25:29 +0200, Tomas Vondra wrote:
>> I've been doing a lot of filesystem testing / benchmarking recently, and
>> today I've ran into a really strange issue with ext4 on two SSD devices in a
>> RAID-0 configuration (Linux software raid).
>
>> All this happens on an ext4 filesystem, created on a sw raid0 manager by
>> kernel 4.0.4. The filesystem is created like this:
>>
>>    mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1
>>    mkfs.ext4 -E stride=128,stripe-width=256 /dev/md0
>
> Sounds like http://git.neil.brown.name/?p=md.git;a=commitdiff;h=a81157768a00e8cf8a7b43b5ea5cac931262374f
>
> Try reproducing with 4.0.5 to verify, that should contain the fix.

Yep, that seems to have fixed the issue. I've been actually looking at 
that fix but concluded that it's unrelated, for some reason ...

regards

--
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Kouhei Kaigai
Date:
Subject: Re: Foreign join pushdown vs EvalPlanQual
Next
From: Bruce Momjian
Date:
Subject: Re: pg_restore cancel TODO