Fusion-io/Linux: Difference between revisions

From Omnia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
  cd iomemory-vsl/
  cd iomemory-vsl/


Manually:
Manually (good for testing only):
  make module
  make module
  sudo insmod root/usr/src/iomemory-vsl-3.2.16/iomemory-vsl.ko
  sudo insmod root/usr/src/iomemory-vsl-3.2.16/iomemory-vsl.ko
Line 31: Line 31:
  sudo apt-get install dkms
  sudo apt-get install dkms
  sudo make dkms
  sudo make dkms
Load driver:
modprobe iomemory-vsl


Install tools:
Install tools:
  git clone https://github.com/RemixVSL/vsl_downloads.git
  git clone https://github.com/RemixVSL/vsl_downloads.git
  dpkg -i vsl3/fio-util_3.2.16.1731-1.0_amd64.deb
  dpkg -i vsl_downloads/vsl3/fio-util_3.2.16.1731-1.0_amd64.deb
 
Download Firmware:
cd vsl_downloads
./mk_vsl3_firmware.sh


== Proxmox ==
== Proxmox ==
Line 49: Line 56:
  cd iomemory-vsl/
  cd iomemory-vsl/


Manually:
Manually (good for testing only):
  make module
  make module
  sudo insmod root/usr/src/iomemory-vsl-3.2.16/iomemory-vsl.ko
  sudo insmod root/usr/src/iomemory-vsl-3.2.16/iomemory-vsl.ko
Line 60: Line 67:
  sudo apt-get install dkms
  sudo apt-get install dkms
  sudo make dkms
  sudo make dkms
Load driver:
modprobe iomemory-vsl
fio-detach /dev/fct0
# fio-format /dev/fct0
fio-format /dev/fct0 -s 4K  # format 4k
fio-attach /dev/fct0


Install tools:
Install tools:
Line 67: Line 82:
Create Ceph Bluestore: <ref>https://github.com/RemixVSL/iomemory-vsl4/wiki#using-as-a-block-device-in-ceph</ref>
Create Ceph Bluestore: <ref>https://github.com/RemixVSL/iomemory-vsl4/wiki#using-as-a-block-device-in-ceph</ref>
  ceph-volume lvm create --bluestore --data /dev/fioa
  ceph-volume lvm create --bluestore --data /dev/fioa
Note: will get an error 'unable to find keyring'. See [[Proxmox/Fix Keyring]] to fix first.


== Fusion-io and OEM Part Numbers Matrix ==
== Fusion-io and OEM Part Numbers Matrix ==

Revision as of 15:42, 11 January 2024

ReadMe

RemixVSL v3:

https://github.com/RemixVSL/iomemory-vsl

RemixVSL v4:

https://github.com/RemixVSL/iomemory-vsl4

Readme:

https://github.com/RemixVSL/iomemory-vsl/blob/main/README.md

Ubuntu

Debian/Ubuntu Dependencies:

sudo apt-get install gcc fakeroot build-essential debhelper rsync linux-headers-$(uname --r)

Download Source:

sudo apt-get install git
git clone https://github.com/RemixVSL/iomemory-vsl
cd iomemory-vsl/

Manually (good for testing only):

make module
sudo insmod root/usr/src/iomemory-vsl-3.2.16/iomemory-vsl.ko

Debian: (.deb Ubuntu / Debian)

make dpkg
dpkg -i ../iomemory-vsl-6.5.11-4-pve_3.2.16.1732_amd64.deb

DKMS (recommended):

sudo apt-get install dkms
sudo make dkms

Load driver:

modprobe iomemory-vsl

Install tools:

git clone https://github.com/RemixVSL/vsl_downloads.git
dpkg -i vsl_downloads/vsl3/fio-util_3.2.16.1731-1.0_amd64.deb

Download Firmware:

cd vsl_downloads
./mk_vsl3_firmware.sh

Proxmox

Proxmox Pre-Dependencies:

apt install sudo git

Proxmox 8 Dependencies:

sudo apt-get install gcc fakeroot build-essential debhelper rsync pve-headers linux-headers-6.5.11-4-pve

Download Source:

sudo apt-get install git
git clone https://github.com/RemixVSL/iomemory-vsl
cd iomemory-vsl/

Manually (good for testing only):

make module
sudo insmod root/usr/src/iomemory-vsl-3.2.16/iomemory-vsl.ko

Debian: (.deb Ubuntu / Debian)

make dpkg
dpkg -i ../iomemory-vsl-6.5.11-4-pve_3.2.16.1732_amd64.deb

DKMS (recommended):

sudo apt-get install dkms
sudo make dkms

Load driver:

modprobe iomemory-vsl
fio-detach /dev/fct0
# fio-format /dev/fct0
fio-format /dev/fct0 -s 4K  # format 4k
fio-attach /dev/fct0

Install tools:

git clone https://github.com/RemixVSL/vsl_downloads.git
dpkg -i vsl3/fio-util_3.2.16.1731-1.0_amd64.deb

Create Ceph Bluestore: [1]

ceph-volume lvm create --bluestore --data /dev/fioa

Note: will get an error 'unable to find keyring'. See Proxmox/Fix Keyring to fix first.

Fusion-io and OEM Part Numbers Matrix

https://docs.google.com/spreadsheets/d/e/2PACX-1vQMd40liekOCeftUYQx6GeofHgjU5SSDT-jHWid03JCfswQxHAhVee3rW-04baqKg1qN2fp7wEzuFm6/pubhtml

Generally:

  • gen1 (iodrive 1) drive will need vsl version 2 - not available anymore
  • gen2 (iodrive 2) drive will need vsl version 3
  • gen3 (iodrive 3) drive will need vsl version 4

Download driver: http://support.fusionio.com

Manual: http://manuals.ts.fujitsu.com/file/11734/iodrive-ug-linux.pdf

lspci

gen 1

# lspci -n | grep aed
02:00.0 0180: 1aed:1005 (rev 01)

gen 2

# lspci -n | grep aed
07:00.0 0180: 1aed:2001 (rev 04)
08:00.0 0180: 1aed:2001 (rev 04)

gen 3

# lspci -n | grep aed
02:00.0 0180: 1aed:3002