Project

General

Profile

Actions

Feature #20523

closed

Check: Verify if iSCSI is mounted before services

Added by Kavita Gaikwad over 6 years ago. Updated 2 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Lukas's comment on issue:

Experience from field engineering customer. When data folders are mounted over NFS or iSCSI, we need to query systemd if RequiresMountsFor is set.
Preferred method of configuring that is via .d directory so it won't get overwritten by the installer:

  1. cat /etc/systemd/system/postgresql.service.d/mounts.conf
    [Unit]
    RequiresMountsFor=/var/lib/pgsql

Do not grep the file directly, use systemctl show postgresql.service | grep RequiresMountsFor to find out, in case it appears in mount output.

Typical services affected:

  • postgresql
  • mongod
  • pulp data
Actions #1

Updated by Eric Helms 2 months ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF