官网描述如下:
will fail after the next reboot, if the /dev-tree is dynamically created by, e.g. udev, a MAKEDEV-script or similar. After reboot, the device will regain its former permission, typically excluding access by mysql.
130719 20:42:43 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name /dev/mapper/mysqlvg-sharespace InnoDB: File operation call: \'open\'. InnoDB: Cannot continue operation.
[root@odd rules.d]# pwd /etc/udev/rules.d [root@odd rules.d]# cat 60-raw.rules ACTION=="add", KERNEL=="sda5", GROUP=="dba", MODE=="0660", RUN+="/bin/raw /dev/raw/raw1 %N" [root@odd rules.d]# cat 65-raw-permissions.rules KERNEL=="sda5", GROUP="dba", MODE="0660"
根据墨菲定律,硬件如此发展的今天,在裸设备和文件系统之间做选择已经不做考虑,flash卡才是王道!
By WaterBin2013-07-20
Good LUCK
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26515977/viewspace-1208196/ ,如需转载,请注明出处,否则将追究法律责任。