Thursday, August 16, 2012

Installing Facebooks FlashCache on Fedora Root


Step 1: Download and compile the flashcache

Step 2:  Install the flash cache and modules to the initramfs drive

dracut --install "flashcache_load flashcache_create flashcache_destroy flashcache_setioctl dmsetup" initramfs-3.5.1-1.fc17.x86_64.img --force

Step 2.5 Install a hook to load the flash cache volume before bootup. During initqueue/finished stage

Step3: Change the /etc/fstab and grub config to point to a new file system eg. /dev/mapper/cachedev

Step 4: Reboot and drop into dracut shell

Step 5: Create the new flashcache volume

Step 6: Reboot. 

Bare Bones instructions..email me for more.

YDLidar (lidar) X4 API in golang

YDLidar X4 This is a demo of the YDLidar using a golang API. The software supplied with the device only contains the drivers in C++ an...