Hello,
I have some partitions for informix to which I put permissions like
chown informix: informix / dev / dm-7
chmod 660 / dev / dm-7
and by doing ls -l dm-7
brw-rw ----. 1 informix informix 253, 7 May 6 15:15 dm-7
I start the informix correctly but when restarting the machine it leaves the permissions incorrectly (again as root: disk) and I can no longer start it and it exits
[root @ informix14 dev] # ls -l dm-7
brw-rw ----. 1 root disk 253, 7 may 6 15:15 dm-7
What can be ? how do I solve it ? as information say that the disk has a link
lrwxrwxrwx. 1 root root 7 May 6 15:15 / dev / mapper / centos-dev_infx_rootdbs -> ../dm-7
Thanks for the info
Problem owner partitions after reboot
Re: Problem owner partitions after reboot
You need to put in some udev rules to set the ownership. This is an example from my system where I set the ownership of an LVM LV
If you're using plain partitions and not LVs then you'll need to amend that. Check the output from udevadm info /dev/dm-7 for example to see what things are set that you can base a decision off.
Code: Select all
ENV{DEVTYPE}=="disk", ENV{DISK}=="vg/lv", MODE="0660", OWNER="trevor", GROUP="trevor"
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Problem owner partitions after reboot
Thank you very,very,very much
Problem solved with your solution. I have created a rule udev in file /etc/udev/rules.d and problem solved
Bye and Thank you very,very,very much
Problem solved with your solution. I have created a rule udev in file /etc/udev/rules.d and problem solved
Bye and Thank you very,very,very much