3-18
Driver and Utility
PCIe Flash Drive FlashMAX2&3 User’s Guide
Setting up autoload for RAID configuration
If the SoftRAID function of the OS is used to configure RAID, set up autoload
in the following way.
RAID must be configured in advance as described in
1. Create a new mdadm.conf file
Execute the following command to create the “/etc/mdadm.conf” file.
echo DEVICE partitions > /etc/mdadm.conf
echo DEVICE /dev/vgc*0* >>/etc/mdadm.conf
mdadm --detail --scan >> /etc/mdadm.conf
Changing security context
When setting “Kernel Dump Configuration” with Kernel crash dumps (GUI),
change the security context to the Flash Drives
Install the
policycoreutils-python
package beforehand.
1. Change the security context
The following is an example that two Flash Drives are installed.
(1) Use “ls –lZ” to check the current security context.
Example: ls -lZ /dev/vgc*0*
brw-rw----. root disk system_u:object_r:device_t:s0 /dev/vgca0
brw-rw----. root disk system_u:object_r:device_t:s0 /dev/vgcb0
(2) Use “semanage” to change "device_t" to "fixed_disk_device_t".
Example: semanage fcontext -a -f -b -t fixed_disk_device_t “/dev/vgca0”
semanage fcontext -a -f -b -t fixed_disk_device_t “/dev/vgcb0”