Récupération fichier unix lecteur cartouche

Fermé
monsieur77 - 2 juil. 2008 à 15:48
dubcek Messages postés 18744 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 4 septembre 2024 - 3 juil. 2008 à 12:13
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,
A voir également:

4 réponses

dubcek Messages postés 18744 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 4 septembre 2024 5 617
2 juil. 2008 à 15:50
quel format ?
avec quel outil la bande a-t-elle été écrite ?
0
Lecteur LTO ( lecteur de cartouche) connecté sur serveur tra2 avec l’adresse /dev/rmt1
0
dubcek Messages postés 18744 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 4 septembre 2024 5 617
2 juil. 2008 à 16:08
ç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
Multiple Fichiers de as400
On doit descendre telque en binary

je vais essayer la commande citée
0
monsieur77 > monsieur77
2 juil. 2008 à 16:28
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
monsieur77 > monsieur77
2 juil. 2008 à 16:29
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
dubcek Messages postés 18744 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 4 septembre 2024 5 617
2 juil. 2008 à 16:55
que répond
mt -f /dev/rmt1 status
0
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
dubcek Messages postés 18744 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 4 septembre 2024 5 617
3 juil. 2008 à 12:13
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