User Tools

Site Tools


virt:zfs_kvm_debian8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virt:zfs_kvm_debian8 [2016/04/12 09:36]
tschulz [Setup Bridged Networking]
virt:zfs_kvm_debian8 [2016/04/20 14:18] (current)
tschulz [Important Bits]
Line 48: Line 48:
 apt-get -t jessie-backports upgrade</​file>​ apt-get -t jessie-backports upgrade</​file>​
  
 +===== Build and Install ZFS on Linux (deb method) =====
 +  * Download current release from [[https://​github.com/​zfsonlinux/​zfs/​releases]]. ​ You will need **spl-x.x.x.x.tar.gz** and **zfs-x.x.x.x.tar.gz**
 +  * Install dependency packages<​file>​apt-get install build-essential gawk alien fakeroot linux-headers-$(uname -r) zlib1g-dev uuid-dev libblkid-dev libselinux-dev parted lsscsi
 +</​file>​
 +  * Build and install spl <​file>​tar xvzf spl-x.x.x.x.tar.gz
 +cd spl-x.x.x.x
 +./configure
 +make deb-utils deb-kmod
 +dpkg -i *.deb</​file>​
 +  * Build and install zfs <​file>​tar xvzf zfs-x.x.x.x.tar.gz
 +cd zfs-x.x.x.x
 +./configure
 +make deb-utils deb-kmod
 +dpkg -i *.deb</​file>​
 ===== Bind PCI device to VFIO ===== ===== Bind PCI device to VFIO =====
   - To grab the hexadecimal PCI id. run<​file>​lspci -nv</​file>​   - To grab the hexadecimal PCI id. run<​file>​lspci -nv</​file>​
Line 97: Line 111:
   * The following passes a video card to the vm and binds it to the pcie bridge<​file>​-device vfio-pci,​host=07:​00.0,​bus=root.1,​addr=00.0,​multifunction=on,​x-vga=on \</​file>​   * The following passes a video card to the vm and binds it to the pcie bridge<​file>​-device vfio-pci,​host=07:​00.0,​bus=root.1,​addr=00.0,​multifunction=on,​x-vga=on \</​file>​
   * The following passes a usb hub to the vm so that keyboard and mouse input can be used with the physical display<​file>​-usbdevice host:​0557:​2205</​file>​   * The following passes a usb hub to the vm so that keyboard and mouse input can be used with the physical display<​file>​-usbdevice host:​0557:​2205</​file>​
 +  * Add Spice Display<​file>​-vga qxl -spice port=5900,​addr=127.0.0.1,​disable-ticketing</​file>​
virt/zfs_kvm_debian8.1460471806.txt.gz · Last modified: 2016/04/12 09:36 by tschulz