pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Eliot, Christopher <christopher.eliot@nagrastar.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Moving DB data disk to a different machine
Date: Mon, 15 Sep 2008 14:05:12 -0600
Message-ID: <dcc563d10809151305h22a9775avb003031fd3e52095@mail.gmail.com> (raw)
In-Reply-To: <5C27B2F8693FA3458E71B4A81551253F03A3C6E5@NSTAR-MAIL1.windows.nagrastar.com>
References: <5C27B2F8693FA3458E71B4A81551253F03A3C6E5@NSTAR-MAIL1.windows.nagrastar.com>

On Mon, Sep 15, 2008 at 1:09 PM, Eliot, Christopher
<christopher.eliot@nagrastar.com> wrote:
> My server machine (actually my windows workstation) became very ill, so the
> IT folks gave me a new workstation, but installed the disk drive from the
> old workstation in the new one as a secondary drive.

P.s. the pg_controldata program is quite useful here, if you have it
installed.

sudo -u postgres ./pg_controldata /var/lib/postgresql/8.3/main/

shows me this on my machine:

pg_control version number:            833
Catalog version number:               200711281
Database system identifier:           5177107589293985791
Database cluster state:               in production
pg_control last modified:             Mon 15 Sep 2008 08:49:24 AM MDT
Latest checkpoint location:           0/498490
Prior checkpoint location:            0/498450
Latest checkpoint's REDO location:    0/498490
Latest checkpoint's TimeLineID:       1
Latest checkpoint's NextXID:          0/401
Latest checkpoint's NextOID:          24603
Latest checkpoint's NextMultiXactId:  1
Latest checkpoint's NextMultiOffset:  0
Time of latest checkpoint:            Mon 15 Sep 2008 08:47:07 AM MDT
Minimum recovery ending location:     0/0
Maximum data alignment:               4
Database block size:                  8192
Blocks per segment of large relation: 131072
WAL block size:                       8192
Bytes per WAL segment:                16777216
Maximum length of identifiers:        64
Maximum columns in an index:          32
Maximum size of a TOAST chunk:        2000
Date/time type storage:               64-bit integers
Maximum length of locale name:        128
LC_COLLATE:                           en_US
LC_CTYPE:                             en_US

Most all that stuff needs to match up between the two directories.



view thread (4+ messages)  latest in thread

Message-ID: <dcc563d10809151305h22a9775avb003031fd3e52095@mail.gmail.com>
Permalink:  ../dcc563d10809151305h22a9775avb003031fd3e52095@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10809151305h22a9775avb003031fd3e52095@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: scott.marlowe@gmail.com, christopher.eliot@nagrastar.com
  Subject: Re: Moving DB data disk to a different machine
  In-Reply-To: <dcc563d10809151305h22a9775avb003031fd3e52095@mail.gmail.com>
  References: <5C27B2F8693FA3458E71B4A81551253F03A3C6E5@NSTAR-MAIL1.windows.nagrastar.com> <dcc563d10809151305h22a9775avb003031fd3e52095@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox