From: | Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: fs issues on software raid0 (PG_VERSION does not contain valid data) |
Date: | 2015-10-19 13:17:26 |
Message-ID: | 5624ED66.3040808@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2015-10-19 13:21:28 | Re: pg_restore cancel TODO |
Previous Message | Kouhei Kaigai | 2015-10-19 12:25:36 | Re: Foreign join pushdown vs EvalPlanQual |