Full restore of IBM i using VTL

300 views
Skip to first unread message

roopa shree

unread,
Jun 5, 2023, 9:17:06 AM6/5/23
to QUADStor VTL
I am trying to do a full restore of the IBM i  using the back up  from the VTL 

1. Launched a new LPAR using IBM provided images on the IBM cloud 
2. Tried to attach the same tapelibrary of the system which we are trying to restore 
3. Varied off the tape library on the main LPAR and tried to configure same library on the new LPAR but was getting error that the device is in use 
4. Tried to configure a new tape library and attach the vcatridges but still was unable to 

So is there any where I am going wrong or is there otherway to  do a full system restore

QUADStor VTL Support

unread,
Jun 6, 2023, 4:09:31 AM6/6/23
to quadst...@googlegroups.com
Hi,

Have you checked if the drive status is UNPROTECTED ?  Please review https://www.ibm.com/docs/en/i/7.2?topic=libraries-sharing-tape-library-resources 
What is the output of WRKDEVSTS ?
Please attach the diagnostic logs from the VTL system and also mention the time of the device in use error message



--
You received this message because you are subscribed to the Google Groups "QUADStor VTL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quadstor-vtl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quadstor-vtl/48bab5c1-5fee-48d4-abd6-7fa85ba3c7cfn%40googlegroups.com.

Virgule59

unread,
Jun 15, 2023, 11:45:14 AM6/15/23
to QUADStor VTL
Hi,

I have a may the same problem, but not on a restore. It''s on a new installation of quadstore, i'v created a tape library IBM TS3100 on Quadstor. When i try to vary off the library no problem, when i try to vary on the tape of the library after vary off mlb device, i've  got the message,  that the device is in use by another LPAR, but i've just one LPAR.

TAPMLB06       EN FONCTION                        
  TAP08        OPERATIONNELLE         NON PROTEGEE
  TAP09        OPERATIONNELLE         NON PROTEGEE


 ID message . . . . . . :   CPD8EB4                                          
 Date d'envoi . . . . . :   15/06/23      Heure d'envoi  . . . . :   16:09:25
                                                                             
 Message . . . . :   La mise en fonction de l'unité TAP08 a échoué.          
                                                                             
 Cause . . . . . : Cette unité de bande est attribuée à un autre système.    
 Que faire . . . : Attendez que l'autre système ait fini de l'utiliser, puis
   renouvelez votre demande.                                                 

Unité TAPMLB06 mise hors fonction.            
La mise en fonction de l'unité TAP08 a échoué.
Commande de changement d'état non exécutée.  

I've trie on V7R4 and V7R2 with latest PTF. Seems that QUANTUM DRIVE are correctly work wih BRMS  but can't backup on VTL cardridge...


Thank You

QUADStor VTL Support

unread,
Jun 15, 2023, 12:04:49 PM6/15/23
to quadst...@googlegroups.com
Hi,

Please try the following. Edit /quadstorvtl/etc/quadstor.conf (create the file if its not present) and add the following lines
CmdDebug=1
ReservationDebug=1
AccessDebug=1

Then run the command
/quadstorvtl/bin/vtconfig --reload

Please retry the steps, post the time of VARY OFF, VARY ON and the CPD8EB4 message(as you have done now) and send the diagnostic logs (HTML UI -> System Page -> Run Diagnostics -> Submit) If sending the diagnostic logs here is a problem, please send it to vtlsu...@quadstor.com

Please check if the system time of the LPAR and the VTL are in sync before the test


Virgule59

unread,
Jun 16, 2023, 8:53:31 AM6/16/23
to QUADStor VTL
Hi,

Add the 3 lines in configuration file

DisableUncompV2=1
EmulateHH=1
CmdDebug=1
ReservationDebug=1
AccessDebug=1

reload quadstor service : 

here the Two LTO created by quadstor 

Opt  Ressource       Type-Modèle  Etat                  Texte      
       TAPMLB04       3573-020    Opérationnel          Bandothèque
       TAPMLB06       3573-020    Opérationnel          Bandothèque

       TAPMLB04       EN FONCTION                        
         TAP05        OPERATIONNELLE         NON PROTEGEE
       TAPMLB05       HORS FONCTION                      

       TAPMLB06       EN FONCTION                        
         TAP08        OPERATIONNELLE         NON PROTEGEE

Disabled TAPMLBD  DEVICE and enable drive TAP08 drive: 

                     Complément d'informations sur message                  
                                                                             
 ID message . . . . . . :   CPD8EB4                                          
 Date d'envoi . . . . . :   16/06/23      Heure d'envoi  . . . . :   14:31:30

                                                                             
 Message . . . . :   La mise en fonction de l'unité TAP08 a échoué.          
                                                                             
 Cause . . . . . : Cette unité de bande est attribuée à un autre système.    
 Que faire . . . : Attendez que l'autre système ait fini de l'utiliser, puis
   renouvelez votre demande.                                                

 Time switch Vary off vary on 14h30

L'état d'une ressource de l'unité TAPMLB06 a été modifié.        => Time 14h26
Unité TAPMLB06 mise en fonction.                                  
wrkcfgsts *dev tapmlb*                                            

Unité TAPMLB06 mise hors fonction.                                
wrkcfgsts *dev tap*                                              
La mise en fonction de l'unité TAP08 a échoué.                    
Commande de changement d'état non exécutée.                 => 14h31       
                      

Best regard
quadstordiag.tgz

QUADStor VTL Support

unread,
Jun 21, 2023, 3:27:16 PM6/21/23
to quadst...@googlegroups.com
Hi,

The host removes its persistent reservation registration but then send a reservation later without registration again

Jun 16 14:31:30 svquadstor vtlcore: persistent_reservation_handle_register:437 tdevice 2 2 is_reserved 0 reservation i_prt 0 t_prt 0 persistent_key 0 type 0 generation 0 register by i_prt c050760b8a410024 t_prt 21000024ff5505e7 prev_key 0 service_action_key 0 ==> Host registration remove here

Jun 16 14:31:30 svquadstor vtlcore: persistent_reservation_handle_reserve:603 tdevice 2 2 is_reserved 0 reservation i_prt 0 t_prt 0 persistent_key 0 type 0 generation 0 reserve by i_prt c050760b8a410024 t_prt 21000024ff5505e7 key 0 ==> Host tries to reserve the device but there is no active registration

Jun 16 14:31:30 svquadstor vtlcore: persistent_reservation_handle_reserve:607 2 2 initiator not registered for key 0 retval 0 ==> We return an erro because the initiator/host is not registered.

This might be PTF related, are all PTFs upto date ?


Virgule59

unread,
Jun 27, 2023, 8:59:27 AM6/27/23
to QUADStor VTL
Hi,

Try almost everything, different library, different tape media, 3 LPAR with different PTF Level, and one LPAR with V7R4 and last up to date PTF same error. I know that it's not related to ptf because i'use physical IBM TS4200 on this LPAR with no problem.

up to date PTF :

SF99741   level 8            ALL PTF GROUPS EXCEPT CUMULATIVE PTF PACKAGE & MQ
SF99740   level 23117           CUMULATIVE PTF PACKAGE C3117740                  

Before i try on my IBM i Lpar, i try on Windows server and iscsi connexion, work fine with veaam combination, is-it possible that QUADSTOR have a trace of this connection and now failed on my IBM i.

May be a fresh install ?

Best Regard

QUADStor VTL Support

unread,
Jun 27, 2023, 9:44:12 AM6/27/23
to quadst...@googlegroups.com
Hi,

For the moment please try with 3.0.76.1 from https://quadstor.com/vtl-extended-edition-downloads.html
Before uninstalling change the HBA mode to target from Dual (HTML UI -> Access Management)

dpkg -r quadstor-vtl-ext
dpkg -i <new package>
reboot


Virgule59

unread,
Jul 6, 2023, 10:03:29 AM7/6/23
to QUADStor VTL
Hi, 

Try with last version but same trouble. :( .

I will try on different OS with this version may. thank you

Best Regard

QUADStor VTL Support

unread,
Jul 6, 2023, 10:04:57 AM7/6/23
to quadst...@googlegroups.com
Hi,

A different OS distribution will not help.

Please try the following. Edit /quadstorvtl/etc/quadstor.conf and add the following line
CmdDebug=1

Then run the command 
/quadstorvtl/bin/vtconfig --reload

Please then try to simulate the error and note the time of the vary off and vary on and send the diagnostic logs once again.


Virgile Vatin

unread,
Jul 31, 2023, 9:05:09 AM7/31/23
to quadst...@googlegroups.com
Hello,

Sorry, I only saw your message after changing the OS. But after changing the OS and retesting I was confronted with the same error. 

But after forcing the allocation of the media library to the partition, then deallocating this same media library from the partition, I was able to make the drive and the media library work via BRMS. I was able to carry out several backup tests with success, so a full restore backup with BRMS.

The only problem I encountered during restoration was that I couldn't boot the blank partition from the tape, the drive was detected but not booted.

But last week IBM released a PTF, and I think I'm in the same situation: to be retested.
 

This may be the problem encountered by roopa shree.

Best regards



You received this message because you are subscribed to a topic in the Google Groups "QUADStor VTL" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/quadstor-vtl/1f6Tt3-9Oys/unsubscribe.
To unsubscribe from this group and all its topics, send an email to quadstor-vtl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quadstor-vtl/CAPEgkt6oZvsAedNUXGL9CSCySqg0F7nmU2EJ2cwN3yhcMYS9Zw%40mail.gmail.com.

Dan

unread,
Sep 11, 2023, 9:10:13 AM9/11/23
to QUADStor VTL
We have had a similar problem.
Performing a full system restore from QUADStor, we where able to restore the basic OS from tape, via LIC.
When booting the restored OS, to restore the remaining data, the VTL that was restored from, is unresponsive.
Other VTLs that might be present on the same QUADStor system, are still accessible.
When using the LIC to access the VTL, used to restore the OS from, the VTL is also unresponsive.
Restarting QUADStor, the LIC can again access the VTL. But the same is not true for the restored OS.
The above is true for 3.0.76, .76.1 and .77

When using 3.0.75, restoring data via the restored OS works as expected.
Maybe a regression related to the change in fc driver?

Best Regards

QUADStor VTL Support

unread,
Sep 11, 2023, 9:28:59 AM9/11/23
to quadst...@googlegroups.com
Hi,

Please reproduce the problem one more time and when the problem occurs generate the diagnostic logs (HTML UI -> System Page -> Run Diagnostics). You could send the logs here or to vtlsu...@quadstor.com

Between 3.0.75 and 3.0.76 the fc driver did change and thats the only big change between these versions. We now use the qlogic driver from 5.15 with minor modifications so that the driver builds on different distributions. But if it were an issue at the FC side then other VTL should probably have been affected too. 

Have you tried placing the VTL HBA port in target-mode rather than the default dual mode if not already done ?


Craig K

unread,
Sep 25, 2023, 4:06:40 PM9/25/23
to QUADStor VTL
Please share the steps you are taking to perform a full IBMi restore using Quadstore VTL?  I am in the process of attempting the same thing and would appreciate any guidance you can provide.  I recently took a backup of a remote IBMi 7.3 server to a physical tape device, then once it was back online used DUPTAP to copy the physical tape backup to a Quadstore VTL attached via iSCSI.  Now I am trying to use this backup to restore a brand new IBMi installation on different hardware.  I am running into the problem where the system needs to be in a "restricted state" to restore but cannot access iSCSI during that time.  I do not have access to a physical tape device at the restore location.

Thanks
CK  

s.kam...@gmail.com

unread,
Feb 24, 2024, 3:04:52 AM2/24/24
to QUADStor VTL
Almost the same for AIX LPARs connected using pretty old VIO servers. 

3.0.75 is ok, with any other version after FC driver version bump - cfgmgr fails on random drives, kinda works on some of the drives after several consecutive reboots.
The LPARS where drives was configured and available before VTL upgrade - everything is ok until LPAR is rebooted. The rest of the SAN is ok, physical tapes, arrays, etc..
With physical FC cards everything seems to be fine with any version.

For now it is not possible to upgrade VIO to current version (which may fix things up) so have to stick to 3.0.75...

Virgile Vatin

unread,
Jun 27, 2024, 10:59:28 AM6/27/24
to quadst...@googlegroups.com
I think the problem is now solve. 

But restore from iscsi is a little bit more difficult. To restore when using iscsi you have to start your server from DVD lic code in D M and after that use iscsi as a secondary alternate device (IBM reference : https://www.ibm.com/support/pages/system/files/inline-files/IBM%20i%20Support%20for%20iSCSI%20VTL%201.5.pdf) or from a tftp repository (work with an HMC and start from network boot here's a doc from IBM i (https://www.redbooks.ibm.com/redpapers/pdfs/redp4937.pdf). 

Regards  

Reply all
Reply to author
Forward
0 new messages