cancel
Showing results for 
Search instead for 
Did you mean: 

Ubuntu 10.10 virtual machine with MHVTL 0.18-13 and ISCSI support

marekkedzierski
Level 6
Partner

 

Hi 

I prepared new version of MHVTL virtual machine (Workstation 7, Fusion 3) with Ubuntu Server 10.10 x64 and ISCSI support (ISCSI-SCST 2). 

MHVTL is a Linux Virtual Tape Library designed by Mark Harvey.

Some details: 
Operating system: Ubuntu 10.10 Server x64 with kernel 2.6.35 and ISCSI-SCST 2 patches 
Login: user1, pass: user1 (there is no root user for default in Ubuntu so pls use "sudo") 
200GB for backups (/opt/mhvtl) - you can add more by adding new disk to VM and resizing LVM volume. 
IP: 10.201.0.230 (/etc/network/interfaces) 
1CPU, 512 MB RAM 
VMware Tools installed 

MHVTL, SCST and ISCSI-SCST started by /etc/init.d/start-mhvtl-iscsi (modified n.i.a. script) 
SCST 2.0 configuration prepared automatically after MHVTL start (modified n.i.a. script for SCST 1.0) 


MHVTL: 
1x L700 tape library 
4x IBM ULT3580-TD4 (LTO4) 
Tapes: 19x 10GB 

Tested with: 
NetBackup 7.0.1 installed on Windows 2008 x64 R2. 

Link (mhvtl_2.tar.gz ~650MB): 
http://www.multiupload.com/88S4DGT3HZ

13 REPLIES 13

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Excellent, thanks Marek. I just downloaded mhvtl last week and installed it straight onto my master server (test vm). Will take a look at your setup, looks interesting.

AlGon
Level 6

 

Great stuff Marek, thanks a lot.  This will be really helpful.  

I had a hard time trying to configure ISCSI on mine and gave up.  It's the first time I have really dabbled with Linux which probably didn't help matters.

I'm having problems finding any LTO4 drivers for this tape drive.  Can anyone provide me with a link to the drivers?

Thanks

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Which O/S do you want the drivers for Algon? Most Linux/Unix servers will simply pickup the drives. For Windows if its 32bit you can use the NetBackup Device Drivers, but if its 64bit you have to use the vendor tape drivers (IBM/Seagate/Dell/etc)

AlGon
Level 6

 

Hi Riaan

It's for Windows 2003 server 64bit :(.  I've checked out the IBM site and all they have available is the LT03 drivers which I thought was a bit strange.  It's very frustrating.  Any ideas?

Cheers

Mouse
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi Marek!

Does this iSCSI target support SCSI-3 Persistent Group Reservations? 

Mouse
Moderator
Moderator
Partner    VIP    Accredited Certified

Answering my own question: it looks like it does http://scst.sourceforge.net/comparison.html

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

I'll have a look tomorrow, i think i found them, butttttt

 

"There is a planned server outage on Fri, 11 Feb. 2011 from 4:00 p.m. to Sun, 13 Feb. 7:00 p.m. Central Daylight Time (CDT). Some entitled Software Group products may be unavailable during this time."

marekkedzierski
Level 6
Partner

AIGon, 

I tested it with Windows 2008 x64 R2 and drivers was installed automatically. You can change drive type in /etc/mhvtl/device.conf

marekk

AlGon
Level 6
Ok, thanks Marekk. Can I use any drive type when editing this file? cheers

AlGon
Level 6

Ah, just my luck :(.  Thanks for your help Riaan.

marekkedzierski
Level 6
Partner

hmm you can try for example with ULT3580-TD1 (LTO1).. You should to change tape barcodes (L4 -> L1) in /etc/mhvtl/library_contents.10. Netbackup will automatically map your drives and tapes to hcart type.

After modification you should to restart mhvtl and scst services:

/etc/init.d/start-mhvtl-iscsi stop

 

/etc/init.d/start-mhvtl-iscsi start

 

marekk

AlGon
Level 6

Ok thanks for your help.  I'll give it a try in a bit.

zhshujun2
Not applicable

 

011-3-12 2:43:03 - granted resource 1003L4
2011-3-12 2:43:03 - granted resource IBM.ULT3580-TD4.002
2011-3-12 2:43:03 - granted resource nbu65-hcart-robot-tld-2
2011-3-12 2:43:05 - mounting 1003L4
2011-3-12 3:06:54 - Error bptm(pid=1368) error requesting media, TpErrno = Mount canceled, device daemon is terminating  
2011-3-12 3:06:54 - Warning bptm(pid=1368) media id 1003L4 load operation reported an error     
2011-3-12 3:06:54 - current media 1003L4 complete, requesting next resource Any
2011-3-12 3:07:02 - end writing
error requesting media (tpreq)(98)