pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tim.klicks@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14451: PostgreSQL server on iscsi disks
Date: Tue, 06 Dec 2016 15:07:49 +0000
Message-ID: <20161206150749.31175.53286@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14451
Logged by:          Tim Klicks
Email address:      tim.klicks@gmail.com
PostgreSQL version: 9.6.1
Operating system:   RHEL 7.x and its derivatives
Description:        

Hej all,

I just installed a RHEL 7.3 server and installed the latest 9.6.1 rpms from
your download area.

After this, I have initialized the database, shut it down and moved the 
/var/lib/pgsql/9.6 folder to an iscsi volume attached to the server.

After a reboot, the postgresql server is not coming up, although the
filesystem has been mounted.

I digged a bit into this issue and found a solution and maybe a possible
"bug".

Here is the normal postgresql-9.6.service file:
.
.
.
[Unit]
Description=PostgreSQL 9.6 database server
After=syslog.target
After=network.target
.
.
.

I have now changed it to include remote-fs.target, as follows:
.
.
.
[Unit]
Description=PostgreSQL 9.6 database server
After=syslog.target
After=network.target
After=remote-fs.target
.
.
.

Now, the database is coming up as systemd knows, that the postgresql service
has to wait for the remote-fs.target to finish.

As mentioned, I am not sure if this is a bug or not, but it would be great
if you could include the remote-fs.target dependency into the
postgresql-9.6.service file.

Best Regards,
Tim.


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


view thread (2+ messages)  latest in thread

Message-ID: <20161206150749.31175.53286@wrigleys.postgresql.org>
Permalink:  ../20161206150749.31175.53286@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20161206150749.31175.53286@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tim.klicks@gmail.com
  Subject: Re: BUG #14451: PostgreSQL server on iscsi disks
  In-Reply-To: <20161206150749.31175.53286@wrigleys.postgresql.org>
  References: <20161206150749.31175.53286@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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