Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group