why not using a mountpoint as PGDATA?

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема why not using a mountpoint as PGDATA?
Дата
Msg-id CAKoxK+6H40imynM5P31bf0DnpN-5f5zeROjcaj6BKVAjxdEA9w@mail.gmail.com
обсуждение исходный текст
Ответы Re: why not using a mountpoint as PGDATA?  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-general
I apparently cannot find an answer in the documentation, however initdb states:

initdb: directory "/mnt/data1" exists but is not empty
It contains a dot-prefixed/invisible file, perhaps due to it being a
mount point.
Using a mount point directly as the data directory is not recommended.
Create a subdirectory under the mount point.

and effectively /mnt/data1 is a mountpoint, therefore but belongs to
the user of the cluster, therefore the only difference I can see is
having '..' belonging to root at the mountpoint or the cluster user
within a subdirectory.
What's wrong with using a mountpoint?

Thanks,
Luca


В списке pgsql-general по дате отправления:

Предыдущее
От: Sam Saffron
Дата:
Сообщение: Why can I not get lexemes for Hebrew but can get them for Armenian?
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: why not using a mountpoint as PGDATA?