Home » VTL Open Source sobre FC

VTL Open Source sobre FC

Se ha realizado en nuestro entorno de pruebas una VTL Open Source sobre FC. Su implementación está basada en los trabajos previos sobre mhVTL y SCST .

 

Partiendo del escenario descrito en los post  SCST 2 y SCST 3, donde se compiló un kernel vanilla y se le añadió el software SCST junto con los drivers de QLogic en modo target, configurado para que ofreciera a la SAN un disco virtual (VDISK). Se añade al servidor el proyecto mhVTL emulando una librería de cintas modelo Sun Storagetek L700 con un drive SDLT600 de QUANTUM, encargándose el módulo SCST de ofrecerlas a través de la HBA operando en modo Target.

El procedimiento de su implementación es:

1.- Crear entorno previo SCST descrito en el  post SCST 2.

2.- Instalar proyecto mhVTL

3.- Configurar mhVTL

4.- Configurar SCST para dar visibilidad a los elementos de mhVTL por fibra.

2.- Instalar proyecto mhVTL

La instalación es idéntica a la descrita en el artículo VTL Open Source sobre iSCSI. Brevemente,  descarga de las fuentes mhvtl en formato tar.gz desde la web del proyecto y realiza el siguiente procedimiento de instalación:

# useradd vtl
# passwd vtl
# mkdir /opt/mhvtl
# chown -Rf vtl:vtl /opt/mhvtl
# mkdir /etc/mhvtl
# chown -Rf vtl:vtl /etc/mhvtl
# cd /root/mhvtl-0.18-4
# make distclean
# cd kernel
# make
# make install
# cd ../
# make
# make install

3.- Configurar mhVTL

Edición del fichero /etc/mhvtl/device.conf  para definir  la librería y el drive:

# cat /etc/mhvtl/device.conf
VERSION: 4

# VPD page format:
# <page #> <Length> <x> <x+1>… <x+n>

# NOTE: The order of records is IMPORTANT…
# The 'Unit serial number:' should be last (except for VPD data)
# i.e.
# Order is : Vendor ID, Product ID, Product Rev and serial number finally
# Zero, one or more VPD entries.
#
# Each 'record' is sperated by one (or more) blank lines.
# Each 'record' starts at column 1

Library: 2 CHANNEL: 0 TARGET: 0 LUN: 0
Vendor identification: STK
Product identification: L700
Product revision level: 5500
Unit serial number: XYZZY

Drive: 1 CHANNEL: 0 TARGET: 1 LUN: 0
Library ID: 2 Slot: 1
Vendor identification: QUANTUM
Product identification: SDLT600
Product revision level: 5500
Unit serial number: ZF7584364
Max density: 0x46
VPD: b0 04 00 02 01 00

Definir el contenido de la librería en el fichero /etc/mhvtl/library_contents:

# cat /etc/mhvtl/library_contents
# Define how many tape drives you want in the vtl..
# The 'XYZZY_...' is the serial number assigned to
# this tape device.

Drive 1: ZF7584364

# Place holder for the robotic arm. Not really used.
Picker 1:

# Media Access Port
# (mailslots, Cartridge Access Port, <insert your favourate name here>)
# Again, define how many MAPs this vtl will contain.
MAP 1:
MAP 2:
MAP 3:
MAP 4:

# And the 'big' on, define your media and in which slot contains media.
# When the rc script is started, all media listed here will be created
# using the default media capacity.
Slot 1:    800843S3
Slot 2: 800844S3
Slot 3: 800845S3
Slot 4: 800846S3
Slot 5: 800847S3
Slot 6: 800848S3
Slot 7: 800849S3
Slot 8: 800850S3
Slot 9: 800851S3
Slot 10: 800852S3
Slot 11: 800853S3
Slot 12: 800854S3
Slot 13: 800855S3
Slot 14: 800856S3
Slot 15: 800857S3
Slot 16: 800858S3
Slot 17: 800859S3
Slot 18: 800860S3
Slot 19: 800861S3
Slot 20: 800862S3
Slot 21:
Slot 22:
Slot 23:
Slot 24:
Slot 25:
Slot 26:
Slot 27:
Slot 28:
Slot 29:
Slot 30:
Slot 31: CLN001L1
Slot 32: CLN002L1

4.- Configurar SCST para dar visibilidad a los elementos de mhVTL por fibra.

Levantar  servicio mhVTL:

/etc/init.d/mhvtl start

Comprobación:

# lsscsi
[2:0:0:0]    disk    ATA      WDC WD7500AACS-0 01.0  /dev/sda
[8:0:0:0]    mediumx STK      L700             5500  –
[8:0:1:0]    tape    QUANTUM  SDLT600          5500  –

Se observan el VDISK (procedente de prueba anterior) y la librería STK L700 junto con el drive QUANTUM SDLT600 creados por mhVTL.

Se configura para que los dispositivos sean visibles por la HBA:

# echo "add 8:0:1:0 1" > /proc/scsi_tgt/groups/Default/devices

# echo "add 8:0:0:0 2" > /proc/scsi_tgt/groups/Default/devices

Y se pone en modo target el host asociado como interfaz en sysfs:

# echo “1″ >/sys/class/scsi_host/host7/target_mode_enabled

Comprobación:

# cat /sys/class/scsi_host/host7/active_mode

Target

# cat /proc/scsi_tgt/scsi_tgt
Device (host:ch:id:lun or name)                             Device handler
2:0:0:0                                                     dev_disk
vm_disk                                                     vdisk_fileio
8:0:1:0                                                     dev_tape
8:0:0:0                                                     dev_changer

Desde el Host con W2K8 que opera en modo initiator se observan desde el administrador de dispositivos de la siguiente forma:

Se ha instalado la Utilidad OneCommand manager de Emulex con propósito de diagnóstico, la librería y el drive emulados se observan de la siguiente forma:

Para comprobar la conectividad del host con la VTL por FC  se han usado las utilidades mtx en su versión para Windows:

  • Estado de la librería:

c:\mtx>mtx.exe -f 3:0:0:2 status
Storage Changer 3:0:0:2:1 Drives, 36 Slots ( 4 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = 800843S3

Storage Element 1:Empty
Storage Element 2:Full :VolumeTag=800844S3
Storage Element 3:Full :VolumeTag=800845S3
Storage Element 4:Full :VolumeTag=800846S3
Storage Element 5:Full :VolumeTag=800847S3
Storage Element 6:Full :VolumeTag=800848S3
Storage Element 7:Full :VolumeTag=800849S3
Storage Element 8:Full :VolumeTag=800850S3
Storage Element 9:Full :VolumeTag=800851S3
Storage Element 10:Full :VolumeTag=800852S3
Storage Element 11:Full :VolumeTag=800853S3
Storage Element 12:Full :VolumeTag=800854S3
Storage Element 13:Full :VolumeTag=800855S3
Storage Element 14:Full :VolumeTag=800856S3
Storage Element 15:Full :VolumeTag=800857S3
Storage Element 16:Full :VolumeTag=800858S3
Storage Element 17:Full :VolumeTag=800859S3
Storage Element 18:Full :VolumeTag=800860S3
Storage Element 19:Full :VolumeTag=800861S3
Storage Element 20:Full :VolumeTag=800862S3
Storage Element 21:Empty
Storage Element 22:Empty
Storage Element 23:Empty
Storage Element 24:Empty
Storage Element 25:Empty
Storage Element 26:Empty
Storage Element 27:Empty
Storage Element 28:Empty
Storage Element 29:Empty
Storage Element 30:Empty
Storage Element 31:Full :VolumeTag=CLN001L1
Storage Element 32:Full :VolumeTag=CLN002L1
Storage Element 33 IMPORT/EXPORT:Empty
Storage Element 34 IMPORT/EXPORT:Empty
Storage Element 35 IMPORT/EXPORT:Empty
Storage Element 36 IMPORT/EXPORT:Empty

  • Información de la librería:

c:\mtx>tapeinfo.exe -f 3:0:0:2
Product Type: Medium Changer
Vendor ID: 'STK     '
Product ID: 'L700            '
Revision: '5500'
Attached Changer API: No
SerialNumber: 'XYZZY     '
Ready: yes

  • Información del drive:

c:\mtx>tapeinfo.exe -f Tape0
Product Type: Tape Drive
Vendor ID: 'QUANTUM '
Product ID: 'SDLT600         '
Revision: '5500'
Attached Changer API: No
SerialNumber: 'ZF7584364 '
MinBlock: 4
MaxBlock: 1048576
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x49
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x10
DeCompType: 0x10
BOP: yes
Block Position: 0
Partition 0 Remaining Kbytes: 499
Partition 0 Size in Kbytes: 500
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 0

  • Carga de cinta de Slot 1 a drive 0:

c:\mtx>mtx.exe -f 3:0:0:2 load 1 0
Loading media from Storage Element 1 into drive 0…done

  • Descarga de drive 0 a slot 1:

c:\mtx>mtx.exe -f 3:0:0:2 unload 1 0
Unloading drive 0 into Storage Element 1…done

Como se puede observar la librería virtual opera correctamente a las peticiones descritas a través de FC.

Fuentes:

Proyecto mhvtl

Proyecto SCST

Foros de nimsa

Blog nsrd.info

1.104 Responses to “VTL Open Source sobre FC”

  1. awaydays.org dice:

    Hi, Neat post. There’s a problem along with your web site in internet explorer, may test this?
    IE nonetheless is the marketplace leader and
    a good part of other people will miss your magnificent writing due to this problem. https://Awaydays.org/Broadcast/members/JerePartrid/

  2. I quite like looking through a post that will make people think.
    Also, many thanks for allowing me to comment! http://www.process.dofollowlinks.org/News/departement-ti-19/

  3. 김해출장 dice:

    Wow that was strange. I just wrote an incredibly long
    comment but after I clicked submit my comment didn’t appear.
    Grrrr… well I’m not writing all that over again. Anyhow, just wanted to say
    fantastic blog!

  4. I was suggested this web site by way of my cousin. I’m not positive whether this post is written by means of
    him as no one else know such detailed approximately my problem.
    You are incredible! Thanks!

  5. The rift involving the two sides grew foor the duration of the
    contentious negotiations to restart the 2020 season.

    my blog poset :: dicks sporting good

  6. Some genuinely interesting details you have written.Assisted me a lot, just
    what I was looking for :D.

    my web blog dental insurance policy

  7. Thhe Bulls are searching to keep alive in this playoff series soon afrer dropping Game
    3 to Milwaukee.

    Also visit my blog … dicks sporting good

  8. Hi, yup this piece of writing is truly fastidious and I have more about filles nues can be learned here lot of things from it regarding blogging.

    thanks.

  9. Great article. Couldn’t write much better!

  10. Hi everyone, it’s my first pay a visit at this website, and
    paragraph is in fact fruitful in favor of me, keep up posting these articles.

  11. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my
    newest twitter updates. I’ve been looking for a plug-in like this for quite some
    time and was hoping maybe you would have some
    experience with something like this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new updates.

  12. WT dice:

    Hi there friends, its fantastic paragraph concerning cultureand fully defined, keep it
    up all the time. https://wiki.Birbal.org.in/index.php/Grandir_Le_Style_De_L_arbre

  13. HO dice:

    I am in fact glad to glance at this webpage posts which includes tons
    of useful data, thanks for providing these data. http://www.Blankets.ipt.pw/News/jetski-mtl-73/

  14. I’ve bookmarked your site, and I’m adding your RSS feeds to my Google account.

  15. Very pleasant atmosphere and supportive staff.
    The office is helpful and resourceful.

  16. Bette dice:

    In 1975, the FBI moved to its existing location, the J.

    Feel free to visit my site; Bette

  17. judiwin666 dice:

    Everything is very open with a precise explanation of the challenges.
    It was really informative. Your site is useful. Many thanks
    for sharing!

  18. nba games dice:

    “We wouldn’t have been in a position to accomplish these tasks if we had to focus on standing up our identity systems,”
    says Milliren.

    Look into my blog; nba games

  19. playboy apk dice:

    A motivating discussion is definitely worth comment. There’s no doubt that that
    you need to publish more about this topic, it might not be a taboo subject but usually people do not speak about such topics.
    To the next! All the best!!

  20. Hi there friends, how is the whole thing, and what you want to say concerning
    this post, in my view its in fact amazing in favor of me. http://Www.Visualchemy.gallery/forum/profile.php?id=581171

  21. I used to be suggested this web site through my cousin. I am no
    longer positive whether or not this put up is written through him as no one else realize such exact approximately my difficulty.

    You’re wonderful! Thanks!

  22. This is not really the first time I came across a website that was worth participating
    in a comment section on. This particular kind of document is amazing
    to me. I ultimately live a life-style of numerous ways; that is to say that my job activities range the gamut.

    I practice Postnatal Massage Therapy. Aside from that,
    I trade in antiques. I’m learning Linux. And, that’s only
    a few activities I conduct. Anyway, my point is, every one of us all considers a question from a completely unique perception. Nearly every encounter all of us
    have structures us and each of our viewpoint of our own selves and the
    globe all around us all. I presume searching for some variety
    of superior impression of real truth is where almost everything all of us chat regarding brings us to.
    That being said, how can people afterward interact?
    Is it even possible? I think our particular contributions to the
    Web Commons transforms quite a few men and women, often times.
    Thus think about that, blog freelancers and individuals leaving comments.
    Your opinion may possibly help out someone
    else. Or perhaps, responses can certainly do the contrary.

    And, you in reality have to pay attention to attempt to help
    other folks to develop and not wither. Thank you for this webpage; I actually am submitting
    this site together with my other excellent weblogs I’ve uncovered that I actually bothered to leave feedback on. Continue
    to never stop authoring! Always keep articulating! http://overseasind.com/__media__/js/netsoltrademark.php?d=at-home-massage-nj.blogspot.com%2F2010%2F04%2Fat-home-massage-for-chronic-pain-at.html

  23. judiwin666 dice:

    Thank you for another informative web site. The place else could I am getting that type of information written in such an ideal
    way? I’ve a challenge that I am just now running on, and I’ve been on the glance out for such info.

  24. Hello there, just became aware of your blog through
    Google, and found that it is really informative. I’m gonna watch out for brussels.
    I will be grateful if you continue this in future.
    A lot of people will be benefited from your writing.
    Cheers!

  25. Postnatal Massage by Mountainside On-Site Massage

    Fallo al enviar el comentario

  26. Andreas dice:

    Lisa Sparks, a porn star who slept with 919 men in one
    particular day, was so bored she went to McDonald’s.

    Also visit my web blog Andreas

  27. The players can opt for to bet on a single of the ‘Player’, ‘Banker’ or ‘Tie’ bets prior to every deal.

    My homepage – baccarat Perfume

  28. Tyrone dice:

    Hi, i think that i saw you visited my website so i came to “return the favor”.I
    am attempting to find things to enhance my site!I suppose its ok to use a few of your ideas!!

  29. If you are a connoisseur or a luxury perfume collector
    and are hunting for the finest perfumes
    Al Qasr Perfumes is the gem you have been searching for.

    My homepage: Baccarat rouge

  30. Martina dice:

    The future is uncertain for Leslie, but bright as ever for
    Stan as Disney has signed onto 200 additional seasons of our favored Blogging Dog.

    Here is my blog … Martina

  31. Rubin dice:

    Fans think Kylie Jenner and Travis Scott have a wedding registry for
    a December event.

    Here is my web-site; Rubin

  32. Now the other players are supplied the likelihood to take more than the bank.

    my blog – http://www.Patumplaza.com

  33. Practically nothing says particular occasion pretty like
    French fine dining.

    Here is my web blog Baccarat perfume

  34. Virtual dedicated servers

    VTL Open Source sobre FC | Almacenamiento Abierto

  35. I believe that is one of the most significant info for me.
    And i am satisfied reading your article. But want to observation on some common issues, The website style is ideal, the
    articles is in point of fact nice : D. Just right process,
    cheers http://Foorum3.Peloton.ee/profile.php?id=5451

  36. Ali dice:

    Mr. Hinderaker dwells with his household in Apple Valley, Minnesota.

    Feel free to visit my webpage :: Ali

  37. starbuck88 dice:

    It’s actually a great and useful piece of info. I am happy that you just shared
    this helpful information with us. Please keep us informed like this.
    Thank you for sharing.

  38. manu888 dice:

    Appreciate this post. Let me try it out.

  39. luckybet777 dice:

    I like what you guys are up too. This type of clever work and coverage!
    Keep up the wonderful works guys I’ve incorporated you guys to my own blogroll.

  40. I love your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone to do it for you?
    Plz reply as I’m looking to create my own blog and would like
    to know where u got this from. thanks

    Also visit my website binance futures instruction

  41. starbuck88 dice:

    It’s going to be finish of mine day, but before end I am
    reading this wonderful piece of writing to improve my
    know-how.

  42. แหล่งรวมเว็บสล็อต มาพร้อมระบบและก็บริการดีๆสำหรับสมาชิกทุกคน ลงทะเบียนเป็นสมาชิกได้แล้วตอนนี้เพื่อทุกคนสามารถร่วมสนุกรวมทั้งทำกำไรได้อย่างไร้ขีดจำกัด เป็นแหล่งรวมเกมที่ใหญ่ที่สุดของพวกเรา บริการดีๆต่างๆเยอะมาก
    เปิดให้บริการจากผู้ผลิตโดยตรงจากต่างแดน ได้อย่างเพลิดเพลินใจไร้ขีดกำจัด สามารถทำธุรกรรมการเงินต่างๆได้ด้วยตนเอง ขั้นตอนการเล่นผ่านอุกปรณ์มือถือ วางเดิมพันด้วยเงินจริง ศูนย์รวมค่ายทุกค่ายไว้ใน เว็บหลักสล็อตออนไลน์ ของเราไว้แบบครบวงจร สล็อตเว็บตรง เก็บไว้ในค่ายเกมเดียวจบครบนอกมั่นใจได้100% ได้เปิดให้บริการที่สุดแสนจะพิเศษสำหรับสมาชิกทุกคน สล็อตเครดิตฟรีที่จะช่วยให้ผู้เล่นมือใหม่ แม้มีปัญหาหรือคำถามอย่างไรก็สามารถติดต่อหาคณะทำงานได้ในทันที มีโบนัสแตกหนักแตกบ่อยมากมีผู้เล่นหลายคนที่สามารถปราบเงินรางวัลแจ็คพอตก้อนโต
    ลุ้นรับเงินรางวัลเดี๋ยวนี้เปิดประสบการณ์ใหม่ที่ไม่เคยได้รับจากที่ไหนรับประกันว่าไม่ผิดหวังอย่างแน่แท้ อย่าคอยช้าสมัครในเวลานี้ลุ้นรับเงินรางวัลในเวลานี้เปิดประสบดารณ์ใหม่ที่ไม่เคยได้รับจากที่ไหนรับรองว่าไม่ผิดหวังอย่างแน่นอน สามารถร่วมสนุกสนานกับเกมต่างๆมากไม่น้อยเลยทีเดียวได้อย่างไร้กังวลพร้อมมีระบบระเบียบและก็บริการดีๆต่างๆมากมาย สามารถทำธุรกรรมต่างๆผ่านระบบฝาก-ถอนได้ด้วยตัวเองสบายมั่นคงและก็ปลอดภัย100%สามารถร่วมบันเทิงใจกับเกมสล็อตแตกง่ายได้อย่างเพลิดเพลินใจ สำหรับสมาชิกทุกคนที่ยังไม่มีประสบการณ์การเล่นมาก่อนการฝึกเล่นในโหมดทดสอบเล่นสล็อตฟรีจะช่วยให้ทุกท่านสามารถเล่นได้อย่างถูกแนวทางเข้าใจแบบอย่างรวมทั้งอัตราการชำระเงินรางวัล อย่าคอยช้าสมัครในเวลานี้ลุ้นรับเงินรางวัลขณะนี้เปิดประสบการณ์ใหม่ที่ไม่เคยได้รับจากที่ไหนยืนยันว่าไม่ผิดหวังอย่างไม่ต้องสงสัย ทางทีมงานของพวกเราได้เปิดให้บริการที่สุดแสนจะพิเศษสำหรับสมาชิกทุกคนที่สามารถทำธุรกรรมต่างๆได้ด้วยตนเองรวดเร็วทันใจภายใน10วินาที สล็อตที่ได้รับความนิยมที่มาแรงที่สุดในปี2022สามารถรับประกันเรื่องความยั่งยืนมั่นคงปลอดภัยเล่นได้จ่ายจริง100% เป็นคนมั่งมีในตอนข้ามคืนกันเลยทีเดียวอัตราการได้รับเงินรางวัลมากถึง90% จะช่วยให้การลงทุนของทุกคนได้รับผลตอบแทนที่คุ้มค่าอย่างแน่นอน
    SUPER SLOT (http://www.ufaslotgame.com)

  43. vmax88 dice:

    My brother recommended I might like this web site.
    He was once totally right. This publish truly made my day.
    You cann’t consider simply how much time I had spent for this info!
    Thanks!

  44. happy88 dice:

    Hey! I realize this is somewhat off-topic but I had to ask.
    Does managing a well-established website such as yours take a large amount of work?
    I’m brand new to running a blog but I do write in my journal on a daily basis.
    I’d like to start a blog so I can share my own experience and thoughts online.
    Please let me know if you have any kind of suggestions or tips for brand new aspiring blog
    owners. Thankyou!

  45. happy88 dice:

    This piece of writing presents clear idea in support of the new people of blogging, that in fact how to do running a blog.

  46. winbet66 dice:

    Hi there Dear, are you genuinely visiting this site
    daily, if so afterward you will definitely obtain nice experience.

  47. 77judi dice:

    Spot on with this write-up, I honestly believe that this website needs far more attention. I’ll probably be returning to read
    through more, thanks for the advice!

  48. If some one desires to be updated with newest technologies afterward he must be pay a quick visit
    this website and be up to date daily.

  49. what is a binary option

    VTL Open Source sobre FC | Almacenamiento Abierto

  50. Both Misfit and Jawbone sell $50 plastic trackers
    that you can clip to your pants or wear on a wrist.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *