Récupération fichier unix lecteur cartouche

monsieur77 -  
dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,

Comment peut on récupèrer des fichiers sur unix à partir d’un lecteur de cartouche (connecté sur serveur x).
commande pour restaurer les fichiers de LTO ( lecteur de cartouche) sur le serveur x.

Merci de votre aide

Cordialement,
Configuration: Windows XP
Internet Explorer 6.0

4 réponses

  1. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 660
     
    quel format ?
    avec quel outil la bande a-t-elle été écrite ?
    0
    1. monsieur77
       
      Lecteur LTO ( lecteur de cartouche) connecté sur serveur tra2 avec l’adresse /dev/rmt1
      0
  2. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 660
     
    ça ne dit pas avec quel outil elle a été écrite
    essaye
    tar -tvf /dev/rmt1
    ou pour voir le format
    dd if=/dev/rmt1 count=10 | od -c
    0
    1. monsieur77
       
      Multiple Fichiers de as400
      On doit descendre telque en binary

      je vais essayer la commande citée
      0
      1. monsieur77 > monsieur77
         
        j'obtiens ces erreurs et ne vois pas comment les résoudre :

        rafale@risctra2:/u/depot/ENVOI/RESTO->tar -tvf /dev/rmt1

        tar: /dev/rmt1: Cannot read: There is an input or output error.

        tar: At beginning of tape, quitting now

        tar: Error is not recoverable: exiting now

        Merci de votre aide
        Cordialement,
        0
      2. monsieur77 > monsieur77
         
        rafale@risctra2:/u/depot/ENVOI/RESTO->dd if=/dev/rmt1 count=10 | od -c

        dd: 0511-051 The read failed.

        : There is an input or output error.

        0+0 records in.

        0+0 records out.

        0000000
        0
  3. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 660
     
    que répond
    mt -f /dev/rmt1 status
    0
    1. monsieur77
       
      rafale@risctra2:/home/rafale->mt -f /dev/rmt1 status

      rmt1 Available 30-58-00-4,0 Other SCSI Tape Drive

      attribute value description user_settable



      mode yes Use DEVICE BUFFERS during writes True

      block_size 512 BLOCK size (0=variable length) True

      extfm yes Use EXTENDED file marks True

      res_support no RESERVE/RELEASE support True

      var_block_size 0 BLOCK SIZE for variable length support True

      density_set_1 0 DENSITY setting #1 True

      density_set_2 0 DENSITY setting #2 True

      delay 45 Set delay after a FAILED command True

      rwtimeout 144 Set timeout for the READ or WRITE command True

      ret_error no RETURN error on tape change or reset True

      rafale@risctra2:/home/rafale->
      0
  4. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 660
     
    des pistes à essayer:

    http://post.doit.wisc.edu/library/techlib/manuals/adoclib/aixprob/msgdnref/err0511.htm
    0511-051 The read failed
    Possible Causes
    
        * The tape is backed up on a tape device with a block size that differs from the one on which it is currently set.
        * The value specified with either the bs, ibs, or obs flag is not a multiple of the block size of the tape device.
        * The value specified for the fskip flag is greater than the number of end-of-file marks on the tape.
        * The tape is damaged.
    
    Procedures for Recovery
    
        * Use the chdev command to change the block size on the tape device:
    
          chdev -1 rmt# -a block size=0
    
        * Use the tctl command to check the block size of the tape device:
    
          tctl -f /dev/rmt# status
    
          Then, specify the value of the bs, ibs, or obs flag as a multiple of the block size.
        * Use the tcopy command to check the number of files or records that can be accessed on tape.
        * Check the error log for tape errors:
    
          errpt -a
    0