[pgsql-jp: 35747] Re: initdb 不具合について

hi ro elfst25 @ hotmail.com
2005年 7月 26日 (火) 12:50:22 JST


hiroと申します。

df -kの結果(下記)を見て頂ければと思いますが、HDD容量の問題ではないとと考え
ております。
今回のパーティション設定及びマウント方法から、HDD容量の問題であれば、-Dオプ
ションなしinitdbでもエラーとなるはずだと考えおります。

Filesystem           1K-ブロック    使用   使用可 使用% マウント位置
/dev/mapper/VolGroup00-LogVol00
                      15836612   2625720  12406440  18% /
/dev/hda1               101086      9109     86758  10% /boot
none                    257868         0    257868   0% /dev/shm


>From: Katsuhiko Okano <k_okano @ po.ntts.co.jp>
>Reply-To: PostgreSQL Japanese Mailing List <pgsql-jp @ ml.postgresql.jp>
>To: pgsql-jp @ ml.postgresql.jp
>Subject: [pgsql-jp: 35745] Re: initdb 不具合について
>Date: Tue, 26 Jul 2005 12:35:51 +0900
>
>岡野と申します。
>
>私もinitdb時に以下のエラーが表示されたことがあり、
>そのときはHDDの容量不足が原因でした。
>-Dで指定しているディレクトリに空き容量がすくないのではないですか?
>
>------- Reply Message
>In message <BAY103-F394024A8252A9DB18C9971A0CD0 @ phx.gbl>
>Date: Tue, 26 Jul 2005 12:22:49 +0900
>    "[pgsql-jp: 35744]initdb不具合について"
>    ""hi ro"" wrote:
>
> > hiroと申します。
> >
> > 現在、RedHatEnterpriseLinuxES4へposgresql8.0.3をインストールしているので
す
> > が、initdbで不具合が発生して困り果てております。
> >
> > 事象としては、initdbの際に-Dオプションをつけると不具合が発生するというも
ので
> > す。
> > ログから判断するに、max_connectionsもしくはshared_buffersを事前に大きめ
の値
> > で設定した後、initdbが実行できれば(default値を選択しない)、不具合を回
避で
> > きそうかなと。。。
> >
> > どなたか、下記不具合の回避方法もしくは、max_connections、shared_buffers
の設
> > 定方法(initdb前)を教えて頂けないでしょうか?
> >
> > よろしくお願い致します。
> >
> > 以下、initdbの際のログです。
> > 尚、-Dオプションなし実行の際には、/var/lib/pgsql/dataへのインストールと
な
> > り、max_connections=100、shared_buffers=1000と、下記ログの値よりも大きな
値が
> > 選択されていました。
> >
> > -bash-3.00$ initdb -D /usr/local/pgsql/data
> > The files belonging to this database system will be owned by user
> > "postgres".
> > This user must also own the server process.
> >
> > The database cluster will be initialized with locale ja_JP.UTF-8.
> > The default database encoding has accordingly been set to UNICODE.
> >
> > fixing permissions on existing directory /usr/local/pgsql/data ... ok
> > creating directory /usr/local/pgsql/data/global ... ok
> > creating directory /usr/local/pgsql/data/pg_xlog ... ok
> > creating directory /usr/local/pgsql/data/pg_xlog/archive_status ... ok
> > creating directory /usr/local/pgsql/data/pg_clog ... ok
> > creating directory /usr/local/pgsql/data/pg_subtrans ... ok
> > creating directory /usr/local/pgsql/data/base ... ok
> > creating directory /usr/local/pgsql/data/base/1 ... ok
> > creating directory /usr/local/pgsql/data/pg_tblspc ... ok
> > selecting default max_connections ... 10
> > selecting default shared_buffers ... 50
> > creating configuration files ... ok
> > creating template1 database in /usr/local/pgsql/data/base/1 ... child
> > process exited with exit code 1
> > initdb: removing contents of data directory "/usr/local/pgsql/data"
> >
> >
>
>
>
>----------------------------------------
>Katsuhiko Okano
>k_okano at po.ntts.co.jp
>NTT Sofrware Corp. (division "NBRO-PT4")





pgsql-jp メーリングリストの案内