pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #5979: postgres service cannot be started if database is located in NAS
2+ messages / 2 participants
[nested] [flat]
* BUG #5979: postgres service cannot be started if database is located in NAS
@ 2011-04-14 20:57 qintao <qintao@huaweisymantec.com>
0 siblings, 1 reply; 2+ messages in thread
From: qintao @ 2011-04-14 20:57 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged online:
Bug reference: 5979
Logged by: qintao
Email address: qintao@huaweisymantec.com
PostgreSQL version: 8.4.7
Operating system: windows server 2008
Description: postgres service cannot be started if database is
located in NAS
Details:
steps to reproduce
1. Share a directory (say \data) from a NAS
2. map the shared directory to a Windows server 2008 R2 host to be a network
drive (say Z:)
3. install postgresql to the Windows Server 2008 R2 with the database as
z:\db\.
4. try to start the postgresql service from service.msc
It's failed with a log in the event viewer:
postgres cannot access the server configuration file
"C:/symbollink/postgresql.conf": No such file or directory
5. start a Command Prompt, execute the below cmd:
C:/Program Files (x86)/PostgreSQL/8.4/bin/pg_ctl.exe start -N
"postgresql-8.4" -D "C:/symbollink" -w
the service can be started.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #5979: postgres service cannot be started if database is located in NAS
@ 2011-04-15 07:47 Magnus Hagander <magnus@hagander.net>
parent: qintao <qintao@huaweisymantec.com>
0 siblings, 0 replies; 2+ messages in thread
From: Magnus Hagander @ 2011-04-15 07:47 UTC (permalink / raw)
To: qintao <qintao@huaweisymantec.com>; +Cc: pgsql-bugs
On Thu, Apr 14, 2011 at 22:57, qintao <qintao@huaweisymantec.com> wrote:
>
> The following bug has been logged online:
>
> Bug reference: 5979
> Logged by: qintao
> Email address: qintao@huaweisymantec.com
> PostgreSQL version: 8.4.7
> Operating system: windows server 2008
> Description: postgres service cannot be started if database is
> located in NAS
> Details:
>
> steps to reproduce
> 1. Share a directory (say \data) from a NAS
> 2. map the shared directory to a Windows server 2008 R2 host to be a network
> drive (say Z:)
> 3. install postgresql to the Windows Server 2008 R2 with the database as
> z:\db\.
> 4. try to start the postgresql service from service.msc
> It's failed with a log in the event viewer:
> postgres cannot access the server configuration file
> "C:/symbollink/postgresql.conf": No such file or directory
>
> 5. start a Command Prompt, execute the below cmd:
> C:/Program Files (x86)/PostgreSQL/8.4/bin/pg_ctl.exe start -N
> "postgresql-8.4" -D "C:/symbollink" -w
>
> the service can be started.
Mounts are per-session in Windows. When the service starts, it is in a
different session, and can thus not see your mount point.
That said, PostgreSQL is not supported over SMB mounts anyway. It
requires a local NFTS filesystem. SMB mounts cannot be trusted for
databases.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2011-04-15 07:47 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-04-14 20:57 BUG #5979: postgres service cannot be started if database is located in NAS qintao <qintao@huaweisymantec.com>
2011-04-15 07:47 ` Magnus Hagander <magnus@hagander.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox