Read Me
/* /*
* *
* README *
* *
* Online Hierarchical Storage Manager *
* version 1.2 *
*/ */
These are the release notes for OHSM version 1.2. Please read them
carefully before installation of OHSM kernel module.
WHAT IS OHSM ?
==============
OHSM is a tool to manage and move data across various class of storage.
It can help users to intelligently place and move data across tiers
based on the attributes of the data. OHSM supports background movement of data
without any visible change in namespace to user.
OHSM requires kernel sources for your running kernel in order to compile. OHSM
is built as an external module with recompilation required for ext4. It also
needs that ext4 should be built as module for your current kernel or a complete
rebuilt of kernel with ext4 compiled as module is required. The current version (1.2)
of OHSM is based upon Linux 2.6.32.2 kernel.
OHSM Download::
===============
1. svn:
svn co https://ohsm.svn.sourceforge.net/svnroot/ohsm ohsm
2. Through git:
git clone ssh://your_account_id@ohsm.git.sourceforge.net/gitroot/ohsm/latest ohsm
It creates ohsm directory having source code in it.
Boot from the new vanilla 2.6.32.2 kernel. Build the kernel with ext4 as a module.
OHSM compilation creates and installs the required ext4 module. Build and install
the OHSM module. To compile OHSM, user requires device-mapper-devel and libxml2-devel
installed.
Basic Installation::
====================
The simplest way to compile this package is:
1. "./configure" to configure various packages for the system.
2. "make" to compile the packages.
3. Type "make install" to install the programs and any data files and
documentation. During "make install", the script asks for automatic
installation of ext4 module. Select 'y' if you want to install it
automatically. The install script requires root privileges to install
the OHSM binaries. By default it assumes to have sudo access to the user.
If sudo is not enabled on system or the user doesn't have sudo access,
these files need to be copied manually using superuser privileges
to the appropriate directories and the newly built ext4 module should be updated
in /lib/modules/`uname -r`/kernel/fs/ext4
4. Type "insmod kernel/ohsm.ko ohsm_enable_debug=<debug_level>" to insert
OHSM module into the kernel. The debug levels may vary from 0-8.
Quick overview of some OHSM commands::
======================================
1. ohsm enable <path_of_policy_file>
2. ohsm status <mount_point>
3. ohsm disable <mount_point>
4. ohsm update -m <mount_point> -a <path_to_allocpolicy_file>
5. ohsm update -m <mount_point> -r <path_to_relocpolicy_file>
TESTING OHSM::
==============
OHSM provides a `tests` directory, through which OHSM can be tested. You can
use the `test_ohsm.sh` script that would enable OHSM on your system. Through
this users can check if all the provided features of OHSM work correctly.
Type the command "./test_ohsm.sh -e" for enabling. You can try various other
features or also use the help utility to check the various facilities
available.
OTHER INFORMATION::
===================
For more information you can visit ohsm home page at the URL:
<http://ohsm.sourceforge.net>.
The OHSM source code and related files can be downloaded from the URL:
<http://sourceforge.net/projects/ohsm/files/>.
OHSM wiki page can be found at the URL:
<https://sourceforge.net/apps/mediawiki/ohsm/index.php?title=Main_Page>.
Popular Pages in wiki:
* FAQs for new users and installation issues
* Getting Started For Developers
* Getting Started For Users
* Command Line Interface