8–Configuring FCoE in a Linux EnvironmentConfiguring Driver Parameters Using sysfs8-8 FE0254601-00 A3. Save and exit the file etc/modprobe.conf.4. Create a new RAMDISK (initrd image):a. Change to the directory that contains the RAMDISK images by issuingthe following command:# cd /bootb. Create a backup copy of the RAMDISK (initrd) image by issuing thefollowing command:# cp initrd-[kernel version].img initrd-[kernelversion].img.bakc. Generate a new RAMDISK image containing the updated FCoE driverby issuing the following command:# mkinitrd -f initrd-[kernel version].img `uname -r`Depending on the server hardware, the RAMDISK file name may bedifferent. The command is successful, if there is no output.d. Reboot the server to activate the new RAMDISK image by issuing thefollowing command:# shutdown –r now5. After a successful reboot, verify the changes by issuing the followingcommands:#cat /etc/bus/pci/drivers/qla2xxx/module/parameters/ql2xenablemsix#cat /etc/bus/pci/drivers/qla2xxx/module/parameters/ql2xextended_error_loggingConfiguring Driver Parameters Using sysfsThe sysfs virtual file system, provided by Linux 2.6 kernels, is available in RHEL5. It exports information about supporting devices and drivers from the kerneldevice model into user space.The sysfs virtual file system also configures devices and drivers. Changes thatyou make to adapter driver parameters are effective immediately, and do notinterrupt the adapter I/O operations. Using sysfs, changes are not persistentacross reboots or driver reloads.Table 8-2 lists sysfs locations and the parameters that can be modified throughthese locations.