SCST Build [ DKMS | RPM ]

automated Source CODE build

[ Debian-family 15.04-20.04 | RedHat Family 6.x-8.x ]

Summary

Steps for creating and installing SCST DKMS Debian package on Ubuntu 15.04-20.04+. This has been tested on VirtualBox VM's for Ubuntu 15.04-20.04. This is a WIP and this page may be updated frequently.

Supported Distros

Currently supported and tested distros for DKMS DEB packaging:

  • Ubuntu 15.04 Vivid Vervet

  • Ubuntu 15.10 Wily Werewolf

  • Ubuntu 16.04 Xenial Xerus *

  • Ubuntu 16.10 Yakkety Yak

  • Ubuntu 17.04 Zesty Zapus

  • Ubuntu 17.10 Artful Aardvark

  • Ubuntu 18.04 Bionic Beaver

  • Ubuntu 18.10 Cosmic Cuttlefish

  • Ubuntu 19.04 Disco Dingo

  • Ubuntu 19.10 Eoan Ermine

  • Ubuntu 20.04 Focal Fossa

  • Debian 9 Stretch

  • Debian 8 Jessie *

  • Pop!_OS 17.10+

  • Pop!_OS 18.04

Currently some RedHat family distros are also supported by the Orabuntu-LXC scst-files.tar installer (RPM packaging):

  • CentOS 6,7,8

  • Oracle Linux 6,7,8

  • RedHat 6,7,8

  • Fedora 22-36

Update: April 27, 2018

The scst-files.tar scripting now uses "make dpkg" (thanks to Bart Vanassche of SCST project) which fully supports building DKMS SCST on Ubuntu 16.04 stock kernels 4.4.0.x so the requirement to upgrade to HWE (hardware-enablement) kernel is no longer required.

* 16.04 4.4.0-x-generic kernels are excluded and will not work with DKMS SCST build. You must upgrade 16.04 to the HWE 4.10.x kernel before running the script (script prompts for permission to automatically install HWE kernel upgrade for you).

* Debian 8 Jessie SCST DKMS works (create-scst-install.sh) and SAN creation script works (create-scst-oracle.sh) but create-scst-multipath.sh does not create multipath links in /dev/mapper although multipath devices in /dev/ are created.

Create and Install SCST DKMS DEB packages on Ubuntu 15.04-20.04+ & Debian 9

To completely build, install and configure SCST DKMS complete SAN system on Ubuntu 15.04-17.04+ do the following steps.

  1. BE SURE you have a working internet connection on the box where SCST will be installed.

  2. Make sure you are connected as a user that is a member of sudo ALL group

  3. If you had to add current username to sudo ALL then logout and login again

  4. Download the GitHub zip archive to the Ubuntu host of the Orabuntu-LXC project here

  5. Unzip the archive

  6. Navigate to "orabuntu-lxc-master/linuxsan/scst" directory

  7. Run command: sudo tar -xvPf scst-files.tar

  8. Run command: cd /opt/olxc/home/scst-files

  9. Run command: sudo chmod +x *.sh vercomp

  10. Probably a good idea to review the scripts and glance over the README (but this is optional)

  11. Edit the create-scst.sh file and set the LUN sizes and configuration to meet your needs and disk space resources.

  12. Run command: ./create-scst.sh

  13. (Optional) Note: 4K/4K logical/physical LUNs can be configured in create-scst.sh optionally

Create and Install SCST RPM packages on Linux 6.x-8.x Red Hat family

  1. BE SURE you have a working internet connection on the box where SCST will be installed.

  2. Make sure you are connect as the user root.

  3. Download the GitHub zip archive to the Ubuntu host of the Orabuntu-LXC project here

  4. Unzip the archive

  5. Navigate to "orabuntu-lxc-master/linuxsan/scst" directory

  6. Run command: sudo tar -xvPf scst-files.tar

  7. Run command: cd /opt/olxc/home/scst-files

  8. Run command: sudo chmod +x *.sh vercomp

  9. Probably a good idea to review the scripts and glance over the README (but this is optional)

  10. Edit the create-scst.sh file and set the LUN sizes and configuration to meet your needs and disk space resources.

  11. Run command: ./create-scst.sh (if you want the target, LUNs, multipath.conf file, and UDEV rules created too).

  12. (Optional) Note: 4K/4K logical/physical LUNs can be configured in create-scst.sh optionally

What the ScriptS DO

  1. Get the SCST source code

  2. Build the SCST packages

  3. Install the SCST packages

  4. Complete post-install steps to complete the configuration of SCST

  5. Complete all configuration of target, group, LUNs, multipath, UDEV rules, on-boot iscsi logins

  6. Deliver a fully-configured working file-backed SCST SAN

  7. Configure onboot services so that SCST SAN starts up on reboots.