Re: fs issues on software raid0 (PG_VERSION does not contain valid data)

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
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-18 18:37:18
Message-ID: 20151018183718.GD20675@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2015-10-18 18:52:30 Re: More work on SortSupport for text - strcoll() and strxfrm() caching
Previous Message Tomas Vondra 2015-10-18 18:25:29 fs issues on software raid0 (PG_VERSION does not contain valid data)