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

From Andres Freund
Subject Re: fs issues on software raid0 (PG_VERSION does not contain valid data)
Date
Msg-id 20151018183718.GD20675@awork2.anarazel.de
Whole thread Raw
In response to fs issues on software raid0 (PG_VERSION does not contain valid data)  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: fs issues on software raid0 (PG_VERSION does not contain valid data)  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List 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



pgsql-hackers by date:

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