Issue 51: Test Suite for OHSM testing.
Status:  Fixed
Owner:
Closed:  Apr 2009
Project Member Reported by imreckless@gmail.com, Jan 30, 2009
Need a good script for test suite just like
relocation testing.

Requirement:

1. Configure devices and lvm
2. Format and mount logical volumes.
3. Load admin modules creating ohsm char device
4. Configure OHSM

Files will be copied manually to mounted FS.
Relocation will be triggered by script,creating log files.

A proper log files should be made.


Jan 31, 2009
Project Member #1 imreckless@gmail.com
The issue is on hold, currently in validation testing.
Status: On-Hold
Labels: -Priority-Critical Priority-High
Feb 3, 2009
Project Member #2 imreckless@gmail.com
Hi all,

Testing is done, without using any testsuite.
Allocation and relocation are successful.

We have tested with 5Mb file for read and write.
We opened the file and triggered relocation.
There was a small pause during relocation, 
while reading the file.
Similarly there is a puse while writing to file, during relocation.

We have also tested on scsci disk and 4G pendrive.
We created a 8M file and read it using cat.
Then relocation was triggered on this file.
The file was relocated to pendrive from scsi disk.

I hav attached the a log of few tests.

Few errors still remain, that needs to be rectified.
I deleted all the files on the ext2 partition and
triggered relocation, fs scan code still 
scanned inodes for relocation.

Possible error, iput missing somewhere.
We will reactify it soon.


I am attaching the logs.
log3-4-09
6.2 KB   View   Download
log-3-4-09-8
15.3 KB   View   Download
Status: In-progress
Feb 26, 2009
Project Member #3 imreckless@gmail.com
Hi All,

We have done the required changes in the source code for Test Suite.
We have scripts that creates LVM, makes ext2fs over the LV, mounts the volume
and configures OHSM.
We are displaying SAM table and inodes along with there home tid,
just to display the files that are allocated and relocated through OHSM.
If required, we use debugfs to show the actual data block numbers
before and after relocation.
XML policy files are displayed separately. 




Apr 24, 2009
#4 rishi.b....@gmail.com
Issue is over as ext2 and OHSM are working properly,

testing will start again when OHSM is ported on ext3.

Closing the issue
Status: Fixed