================================================================================
=                    CONTEC HardWareRAID library for Linux                     =
=                                COHWRAID(LNX)                                 =
=                                                               Ver. 1.3.0     =
=                                                          CONTEC Co.,Ltd.     =
================================================================================

Contents
========
  Introduction
  About the Product
  Restrictions
  Note
  install/uninstall
  File Structure
  Version up history

Introduction
============
  The explanation of COHWRAID(LNX) Library is described as follows. You must
  read it because some contents are not described in help.

About the Product
=================
  - COHWRAID(LNX) provides a set of functions in a shared library to obtain
    the RAID status etc. from specific hardware RAID boards installed in the
    VPC series, etc.

  - Sample source code is attached.

Restrictions
============
  The operation confirmation environment is as follows. Please note that the
  information below may be included in conjunction with confirmation information
  for previous versions. We do not guarantee that all listed products will work
  in combination with each distribution (and version).
  * The contents below are as of the release. It may not match the support
    status of each distribution.
  * For operation confirmation information for individual models, see the
    contents of the operation confirmation document for each model.

  Distribution                Kernel version
  ------------                --------------
  Ubuntu
    Ubuntu 20.04 LTS          5.11.0-27-generic(x86_64)(hwe)
                              5.15.0-46-generic(x86_64)(hwe)
                              5.15.0-67-generic(x86_64)(hwe)
    Ubuntu 22.04 LTS          5.19.0-32-generic(x86_64)(hwe)
                              6.2.0-26-generic(x86_64)(hwe)
                              6.8.0-40-generic(x86_64)(hwe)
    Ubuntu 24.04 LTS          6.8.0-41-generic(x86_64)
                              6.14.0-27-generic(x86_64)(hwe)
  Red Hat Enterprise Linux(RHEL)
    RHEL 7.9                  3.10.0-1160.el7.x86_64
    RHEL 8.5                  4.18.0-348.el8.x86_64
    RHEL 8.8                  4.18.0-477.10.1.el8_8.x86_64
    RHEL 8.9                  4.18.0-513.5.1.el8_9.x86_64
    RHEL 9.2                  5.14.0-284.11.1.el9_2.x86_64
    RHEL 9.3                  5.14.0-362.8.1.el9_3.x86_64
    RHEL 9.6                  5.14.0-570.12.1.el9_6.x86_64
    RHEL 10.0                 6.12.0-55.9.1.el10_0.x86_64
  MIRACLE LINUX(ML)
    ML 8.4                    4.18.0-305.el8.x86_64
    ML 8.6                    4.18.0-372.9.1.el8.x86_64
    ML 8.8                    4.18.0-477.10.1.el8_8.x86_64
    ML 9.0                    5.14.0-70.13.1.el9_0.x86_64
    ML 9.2                    5.14.0-284.11.1.el9_2.x86_64
    ML 9.6                    5.14.0-570.12.1.el9_6.x86_64
  AlmaLinux(AL)
    AL 9.6                    5.14.0-570.12.1.el9_6.x86_64
    AL 10.0                   6.12.0-55.9.1.el10_0.x86_64(x86_64-v3)

  Please note that we have not verified the operation of distributions and
  versions other than the above.

  Related products
  ------------------
    - VPC-1800-J Series
    - VPC-3200-J Series
    - VPC-1700-J Series
    - VPC-3100-J Series
    - VPC-5000-J Series
    - MR4100 Series
    etc.

  RAID Board
  ---------------
    - SVRC-C600SA

  Dependencies
  ---------------
    - glibc >= 2.17
    - gcc
    - GNU make
    - systemd
    etc.

Note
====
- Before using this software package, check the attached EULA and agree to the
  terms of use.

- You may need root privileges when running the make command. When using the
  program, there may be restrictions on the operation, etc. depending on your
  environment, such as permission settings and security settings. In addition,
  it may be necessary to grant appropriate execution privileges when executing
  the program.

- When using this API, using other programs that use SMART commands on the same
  device can lead to unintended behavior.

- Do not mix source installation and RPM package installation. Unintended
  problems may occur due to specifying the installation/uninstallation
  destination.

- For details, please refer to the help document (html).

install/uninstall
==============
[Source install/uninstall]
  Execution example when installing using the make command

  [install]
    # cd ./(cohwraid_lib_top_directory)

    library install
    # make install

    compiling samples
    # make samples

  [uninstall]
    library uninstall
    # make uninstall

[RPM package install/uninstall]
  May be available in compatible environments such as RHEL and ML.
  The following is an execution example using the dnf command.

  [install]
    # cd ./(cohwraid_lib_top_directory)/rpm/elN/<arch>

    install library
    # sudo dnf install ./cohwraid-x.x-x.elN.<arch>.rpm

    Sample programs installation
    # sudo dnf install ./cohwraid-tools-x.x-x.elN.<arch>.rpm

  [uninstall]
    Uninstall libraries and dependencies(tools, etc.)
    # sudo dnf remove cohwraid

[deb package install/uninstall]
  May be available in compatible environments such as Ubuntu.
  The following is an execution example using the apt command.

  [install]
    # cd ./(cohwraid_lib_top_directory)/deb/<ubuntu_codename>/<arch>

    install library
    # sudo apt install ./cohwraid_X.X-XubuntuX_<arch>.deb

    Sample programs installation
    # sudo apt install ./cohwraid-tools_X.X-XubuntuX_<arch>.deb

  [uninstall]
    Uninstall libraries and dependencies(tools, etc.)
    # sudo apt purge cohwraid

File Structure
==============
  ./(cohwraid_lib_top_directory)
    readme_j.txt ............ README file (Japanese)
    readme_e.txt ............ README file (English)
    EULA_JP.txt ............. License Agreement (Japanese)
    EULA_EN.txt ............. License Agreement (English)
    Makefile ................ Makefile for batch processing

    /help ................... help file storage directory
      /jp ................... Japanese version
        cohwraidhelp.htm .... html help files
        data/ ............... Help data
      /en ................... English version
        cohwraidhelp.htm .... html help files
        data/ ............... Help data

    /library
      /include
        CoHwRaid.h .......... Shared library header file
      /x86_64 ............... 64bit Shared library
        libCoHwRaid.so.x.x
      Makefile .............. Makefile for library installation

    /samples
      /console_samples ...... Console sample
        Makefile ............ Makefile for compilation
        cohwraidctl.c ....... Program source
        attribute_common.h .. attribute id list(common)
      /cohwraidmond ......... Hardware RAID monitoring daemon sample
        Makefile ............ Makefile for compilation and installation
        cohwraidmond.c ...... Program source
        cohwmond.service.in . config file for systemd
        cohwraidmond.conf ... cohwraidmond config file

    /rpms .................... rpm packages
      /el[8,9,10]/x86_64 ..... for el[8,9,10](x86_64)

        cohwraid-X.X-X.elX.<arch>.rpm ............. library
        cohwraid-devel-X.X-X.elX.<arch>.rpm ....... for development
        cohwraid-tools-X.X-X.elX.<arch>.rpm ....... sample tools(cui, daemon)

    /debs .................... deb packages
      /focal/x86_64 .......... for Focal Fossa(Ubuntu 20.04(.X))(x86_64)
      /jammy/x86_64 .......... for Jammy Jellyfish(Ubuntu 22.04(.X))(x86_64)
      /noble/x86_64 .......... Noble Numbat(ubuntu 24.04(.X))(x86_64)向け

        cohwraid_X.X-XubuntuX_<arch>.deb .......... library
        cohwraid-dev_X.X-XubuntuX_<arch>.deb ...... for development
        cohwraid-tools_X.X-XubuntuX_<arch>.deb .... sample tools(cui, daemon)

Version up history
==================
  Ver. 1.3.0 (Nov. 2025)
  ------------------------------
    - add deb packages for Ubuntu 22.04 LTS (Noble Numbat)
    - add rpm packages for el10
    - add support products
      - VPC-3200-J series
      - VPC-1800-J series
    - minor update

  Ver. 1.2 (Dec. 2023)
  ------------------------------
    - add deb packages for
      - Ubuntu 20.04 LTS (Focal Fossa)
      - Ubuntu 22.04 LTS (Jammy Jellyfish)
    - minor update

  Ver. 1.1 (May. 2023)
  ------------------------------
    - update
      - Added functions to get identify and smart attribute
        - identify (raid board and drive1/2)
        - smart attribute (drive1/2)
      - Support for using /dev/sgN device files
    - add RPM packages(for el8, el9)

  Ver. 1.00.1 (Mar. 2023)
  ------------------------------
    - add support products
      - MR4100 series
    - Update confirm information

  Ver. 1.00 (Apr. 2022)
  ------------------------------
    - First Release

<<------------------------------------------------------------------------------
  Linux® is the registered trademark of Linus Torvalds in the U.S. and other
  countries. Ubuntu is a trademark or registered trademark of Canonical Ltd.
  CentOS, Red Hat, and Red Hat Enterprise Linux are registered trademarks of
  Red Hat, Inc. in the United States and other countries. MIRACLE LINUX and
  ミラクル・リナックス are registered trademarks of Cybertrust Japan Co., Ltd.
  AlmaLinux is trademarks of AlmaLinux OS Foundation.
  Other brand, product names and service names are trademarks of their
  respective holder.
------------------------------------------------------------------------------>>
