Re: Detecting corrupted pages earlier

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: Detecting corrupted pages earlier
Дата
Msg-id 1045588130.1702.22.camel@fuji.krosing.net
обсуждение исходный текст
Ответ на Re: Detecting corrupted pages earlier  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane kirjutas T, 18.02.2003 kell 17:21:
> Kevin Brown <kevin@sysexperts.com> writes:
> > Tom Lane wrote:
> >> The cases I've been able to study look like the header and a lot of the
> >> following page data have been overwritten with garbage --- when it made
> >> any sense at all, it looked like the contents of non-Postgres files (eg,
> >> plain text), which is why I mentioned the possibility of disks writing
> >> data to the wrong sector.
> 
> > That also sounds suspiciously like the behavior of certain filesystems
> > (Reiserfs, for one) after a crash when the filesystem prior to the
> > crash was highly active with writes.

I was bitten by it about a year ago as well.

> Isn't reiserfs supposed to be more crash-resistant than ext2, rather
> than less so?

It's supposed to be, but when it is run in (default?)
metadata-only-logging mode, then you can well get perfectly good
metadata with unallocated (zero-filled) data pages. There had been some
more severe errors as well.

-----------------
Hannu



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Paul Ramsey
Дата:
Сообщение: [Fwd: [postgis-users] Postgis-0.7.4 + PSQL-7.3.1- installation]
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: location of the configuration files