Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id ACF4A64FCFD for ; Mon, 15 Sep 2008 17:05:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 61003-02 for ; Mon, 15 Sep 2008 17:05:13 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by postgresql.org (Postfix) with ESMTP id 6A07E64FCEE for ; Mon, 15 Sep 2008 17:05:13 -0300 (ADT) Received: by wf-out-1314.google.com with SMTP id 25so2180763wfc.28 for ; Mon, 15 Sep 2008 13:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0DsHe3W9fZilU9uI96aFl/QYGARuvnQ571lxzLFBJVA=; b=ba7tXg3YBQWULXtuEccdE6Sa9ObP2sTML+d1hDtMUGlqLdRPorB4U21m3thhIcUrn4 jwX1nvtjn8OcF+4fWJE3plEenkX2AQktS5818/WUiqImKVpjhzpygMqwlFRCkna9mOaS zYLRbo5TyazMuaNcfkie0jtNmgT0OLAQkFIKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GoEnS3z8Ql3u9TzYlj8/0+XqTgG+CVse+U+2ffyVGo3s3Dwqf3BU7h+mQiW3oTrajS 8VtgejRVzbeU+Qhj3EOuIqxw4j6sAZnxPK6suSrvVDjIKKK5ETeXxi8CVk9PJnXryEsa NPDsBHwmEKsXrHyHswR3bw07oyOD7QAY+Tr9Y= Received: by 10.141.176.13 with SMTP id d13mr5059452rvp.196.1221509112176; Mon, 15 Sep 2008 13:05:12 -0700 (PDT) Received: by 10.141.74.11 with HTTP; Mon, 15 Sep 2008 13:05:12 -0700 (PDT) Message-ID: Date: Mon, 15 Sep 2008 14:05:12 -0600 From: "Scott Marlowe" To: "Eliot, Christopher" Subject: Re: Moving DB data disk to a different machine Cc: pgsql-admin@postgresql.org In-Reply-To: <5C27B2F8693FA3458E71B4A81551253F03A3C6E5@NSTAR-MAIL1.windows.nagrastar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5C27B2F8693FA3458E71B4A81551253F03A3C6E5@NSTAR-MAIL1.windows.nagrastar.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/147 X-Sequence-Number: 30240 On Mon, Sep 15, 2008 at 1:09 PM, Eliot, Christopher 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.