Re: hunt for 2.6.37 dm-crypt+ext4 corruption? (was: Re: dm-crypt barrier support is effective)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ted Ts'o
Date: Tuesday, December 7, 2010 - 12:35 pm

On Tue, Dec 07, 2010 at 01:22:43PM -0500, Mike Snitzer wrote:

So I just tried to reproduce this on an Ubuntu 10.04 system running
2.6.37-rc5 (completely stock except for a few apparmor patches that I
needed to keep the apparmor userspace from complaining).  I'm using
Postgres 8.4.5-0ubuntu10.04.

Using the above procedure, I wasn't able to reproduce.  Then I
realized this might have been because I was using an SSD root file
system (which is secured using LUKS/dm-crypt, with LVM on top of
dm-crypt).  So I mounted a file system on a 5400 rpm SSD disk, which
is also protected using LUKS/dm-crypt with LVM on top.  I then
executed the PostgresQL commands:

CREATE TABLESPACE test LOCATION '/kbuild/postgres';
SET default_tablespace = test;
COMMIT
\quit

I then re-ran the above proceduing, and verified that all of the I/O
was going to the 5400rpm laptop disk.

I then ran the above procedure a half-dozen times, and I still haven't
been able to reproduce any Postgresql errors or kernel errors.

Jon, can you help me identify what might be different with your run
and mine?  What version of Postgres are you using?

Thanks,

						- Ted
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: dm-crypt barrier support is effective, Milan Broz, (Sun Nov 14, 2:54 pm)
Re: dm-crypt barrier support is effective, Matt, (Sun Nov 14, 4:24 pm)
Re: dm-crypt barrier support is effective, Heinz Diehl, (Mon Nov 15, 12:25 am)
Re: dm-crypt barrier support is effective, Milan Broz, (Mon Nov 15, 1:41 am)
Re: dm-crypt barrier support is effective, Matt, (Wed Dec 1, 9:05 am)
Re: dm-crypt barrier support is effective, Mike Snitzer, (Wed Dec 1, 9:52 am)
Re: dm-crypt barrier support is effective, Matt, (Wed Dec 1, 10:35 am)
Re: dm-crypt barrier support is effective, Milan Broz, (Wed Dec 1, 11:24 am)
Re: dm-crypt barrier support is effective, Jon Nelson, (Wed Dec 1, 12:34 pm)
Re: dm-crypt barrier support is effective, Heinz Diehl, (Wed Dec 1, 12:59 pm)
Re: dm-crypt barrier support is effective, Milan Broz, (Wed Dec 1, 1:45 pm)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Milan Broz, (Sun Dec 5, 3:21 am)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Heinz Diehl, (Sun Dec 5, 5:49 am)
Re: [dm-devel] hunt for 2.6.37 dm-crypt+ext4 corruption?, Daniel J Blueman, (Sun Dec 5, 1:17 pm)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Mike Snitzer, (Sun Dec 5, 2:15 pm)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption? (was: Re: dm ..., Ted Ts'o, (Tue Dec 7, 12:35 pm)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Milan Broz, (Wed Dec 8, 1:03 am)