Logical Volume permissions on Linux reboot
Posted in 2007
Topics: Storage & Space Management, Platform-Specific Issues, Versions, Editions & End-of-Life
IDS 10.0 on RHEL 4:
We create our database disk areas on logical volumes, then create soft links
to these LVs. For example:
# ls -l /opt/informix/dbspaces1/rootdbs_1lrwxrwxrwx 1 root root 29 Sep 1 2006 /opt/informix/dbspaces1/rootdbs_1 ->
/dev/vginformixdb/1_rootdbs_1
This all works fine until we reboot. Not only do we have to reset the
permissions on each LV back to informix:informix 660 (which the database
demands), we have to set the permissions on the group itself, ie
/dev/vginformixdb, to 777.
This is easy enough to script, but is there an easier way or are we missing
something?
thanks
Neil
On 6 May, 23:41, "Neil Truby" <neil.tr...@ardenta.com> wrote:
> IDS 10.0 on RHEL 4:
>
> We create our database disk areas on logical volumes, then create soft links
> to these LVs. For example:
>
> # ls -l /opt/informix/dbspaces1/rootdbs_1> lrwxrwxrwx 1 root root 29 Sep 1 2006 /opt/informix/dbspaces1/rootdbs_1 ->
> /dev/vginformixdb/1_rootdbs_1
>
> This all works fine until we reboot. Not only do we have to reset the
> permissions on each LV back to informix:informix 660 (which the database
> demands), we have to set the permissions on the group itself, ie
> /dev/vginformixdb, to 777.
>
> This is easy enough to script, but is there an easier way or are we missing
> something?
>
> thanks
> Neil
Hi Neil,
try /etc/udev/permissions.conf