Search Postgresql Archives

Re: Unhelpful initdb error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, March 06, 2012 9:53:52 am Tom Lane wrote:
> Thom Brown <thom@xxxxxxxxx> writes:
> > /home/thom/Development/data was causing problems so:
> > 
> > mv data databroken
> > mkdir data
> > initdb
> > 
> > ... working fine again.  I then used the postmaster.pid from this when
> > started up.  But if I do:
> > 
> > pg_ctl stop
> > rm -rf data
> > mv databroken data
> > initdb
> > 
> > ... error messages appear again.
> 
> Okay, so the question becomes: what is different between databroken and
> a freshly mkdir'd empty directory?  If there is no visible difference in
> contents, ownership, or permissions, then it seems like this is evidence
> of a filesystem bug (ie, apparently empty directory acts nonempty for
> some operations).

A thought, what if you do rm -rf * in the data directory?

> 
> 			regards, tom lane

-- 
Adrian Klaver
adrian.klaver@xxxxxxxxx

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux