Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345885 - sys-block/mhvtl: mhvtl module provides Virtual (SCSI) Tape Library
Summary: sys-block/mhvtl: mhvtl module provides Virtual (SCSI) Tape Library
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2010-11-17 14:44 UTC by Jimmy.Jazz
Modified: 2012-10-25 14:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mhvtl-0.19.20101111 ebuild (mhvtl-0.19.20101111.ebuild,2.01 KB, text/plain)
2010-11-17 14:45 UTC, Jimmy.Jazz
Details
install etc files (0.18-etc.patch,455 bytes, patch)
2010-11-17 14:47 UTC, Jimmy.Jazz
Details | Diff
simpler mhvtl.in patch (0.18-mhvtl.patch,777 bytes, patch)
2010-11-17 14:49 UTC, Jimmy.Jazz
Details | Diff
slab patch (0.18-slab.patch,287 bytes, patch)
2010-11-17 14:49 UTC, Jimmy.Jazz
Details | Diff
init.d (mhvtl.init.d,335 bytes, patch)
2010-11-17 14:50 UTC, Jimmy.Jazz
Details | Diff
bacula 5.0.3 modified (bacula-5.0.3-r1.ebuild,13.98 KB, text/plain)
2010-11-17 14:57 UTC, Jimmy.Jazz
Details
patches for bacula 5.0.3 (tar file) (bacula-5.0.3.tar.bz2,3.93 KB, application/octet-stream)
2010-11-17 15:01 UTC, Jimmy.Jazz
Details
make_vtl_media (0.18-make_vtl_media.patch,1.28 KB, patch)
2010-11-17 15:07 UTC, Jimmy.Jazz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy.Jazz 2010-11-17 14:44:43 UTC
Hello,

mhvtl is a  Virtual Tape Library for linux licensed under GPL and developed by Mark Harvey.

The driver is really handy and can emulate a vtl robot. It works with bacula as well as with commercial products like legato and symantec.

The ebuild needs some improvement and I hope the gentoo community will found it useful.

For more information, please have a look at http://sites.google.com/site/linuxvtl2/ and share your experience at http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com mhvtl's forum.

Currently, the mhvtl driver won't compile with the 2.6.37 kernel release. The
kernel BKL API has changed.

To make it compatible with bacula, make_mhvtl_media set_density() regex needs to be changed with regex='[A-Z0-9]{4,6}([SLXTJ])([123456ABWX])[0-9]*$'

To see the tape drives in the the changer slots, bacula needs to be patched as well.

See attachments


Reproducible: Always
Comment 1 Jimmy.Jazz 2010-11-17 14:45:54 UTC
Created attachment 254633 [details]
mhvtl-0.19.20101111 ebuild
Comment 2 Jimmy.Jazz 2010-11-17 14:47:14 UTC
Created attachment 254635 [details, diff]
install etc files
Comment 3 Jimmy.Jazz 2010-11-17 14:49:04 UTC
Created attachment 254637 [details, diff]
simpler mhvtl.in patch
Comment 4 Jimmy.Jazz 2010-11-17 14:49:42 UTC
Created attachment 254641 [details, diff]
slab patch
Comment 5 Jimmy.Jazz 2010-11-17 14:50:07 UTC
Created attachment 254643 [details, diff]
init.d
Comment 6 Jimmy.Jazz 2010-11-17 14:56:24 UTC
Here is my "improved" bacula version ;). A lot has changed from the gentoo original one. It supports the daemon status monitor.
Comment 7 Jimmy.Jazz 2010-11-17 14:57:07 UTC
Created attachment 254645 [details]
bacula 5.0.3 modified
Comment 8 Jimmy.Jazz 2010-11-17 15:01:50 UTC
Created attachment 254647 [details]
patches for bacula 5.0.3 (tar file)
Comment 9 Jimmy.Jazz 2010-11-17 15:07:22 UTC
Created attachment 254649 [details, diff]
make_vtl_media

With bacula make_vtl_media needs some changes (optional)
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-11-28 08:36:18 UTC
Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Thanks,
On behalf of the Gentoo Sunrise Team,
Michał.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 11 404 Error 2012-10-25 14:07:11 UTC
FYI I have functional ebuilds for mhvt-1.4 (including a port of the startup script adapted for OpenRC), those have been pushed in Funtoo portage tree which is basically the same as the Gentoo tree modulo minor differences, however it should remains functional. If interested, I can push the stuff on b.g.o in a new "bug" to not mix patches.