Bug #844: initdb fails on an ext2/3 fs mounted on /var/lib/pgsql/data

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #844: initdb fails on an ext2/3 fs mounted on /var/lib/pgsql/data
Date: 2002-12-10 23:03:16
Message-ID: 20021210230316.34B7D47689D@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

JMM (jmm(at)cvni(dot)net) reports a bug with a severity of 4
The lower the number the more severe it is.

Short Description
initdb fails on an ext2/3 fs mounted on /var/lib/pgsql/data

Long Description
If a whole filesystem (eg a whole disk in one filesystem that is dedicated to postgres data) is mounted on data location (typically /var/lib/pgsql/data), initdb files besause of the existence of the lost+found directory in the filesystem root.

There is an easy by pass by moving lost+found elsewhere, run initdb and re move lost+found to its original location. Nevertheless, having initdb tolerate lost+found (or equivalents for other fs types) would be an improvement.

Sample Code

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2002-12-11 03:37:12 Re: [HACKERS] GEQO Triggers Server Crash
Previous Message Nathan Mueller 2002-12-10 21:24:04 Re: Bug #838: SSL problems in 7.3