[HPADM] RE: backup problem

From: Jeff Lightner (jlightner_at_water.com)
Date: 10/18/05

  • Next message: johnny cochran: "[HPADM] RE: backup problem"
    Date: Tue, 18 Oct 2005 12:38:07 -0400
    To: "BAKHSHESH Kazem" <BAKHSHEK@ESSILOR.fr>, <hpux-admin@DutchWorks.nl>
    
    

    Its telling you that the end of the tape was reached. It is prompting you to switch tapes then type in the device name to continue. If you hit null (type in nothing and hit enter) then it is canceling the backup according to the message. Instead you're supposed to type in /dev/rmt/1m after you put in the 2nd tape.

     

    I'm assuming you truncated your output because of course you should be getting quite a bit more than 41 blocks (assuming default block size of 20 as tar does) on any tape drive I've ever worked with including the old DC6150s. DLT8000 should be able to do 40 GB uncompressed.

     

    Perhaps DLT8000 expects you to specify a blocking factor. You might want to look at the -b flag of tar and documentation for the drive itself.

     

    Also - if you're using /dev/rmt/1m it is the automatic rewind device. You shouldn't need to do mt -t to rewind it.

     

    /dev/rmt/1mn would be the no rewind device - typically for large tapes and small backups you'd use the no rewind so that the next time you put in the tape it would add another backup at the point the first one had left off rather than continually overwriting the first backup.

     

    ________________________________

    From: hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl] On Behalf Of BAKHSHESH Kazem
    Sent: Tuesday, October 18, 2005 12:13 PM
    To: hpux-admin@DutchWorks.nl
    Subject: [HPADM] backup problem

     

    Hi admins,

     

    Its about one month that we can not do the backup even after changing 4 or 5 times the tape device

    and the usage of cleaning tape.

     

    Here the typical result of the backup command

     

    mt -t /dev/rmt/1m rew

    tar cvf /dev/rmt/1m /
    a /etc/lvmtab 31 blocks
    a /etc/group 1 blocks
    a /etc/passwd 9 blocks
    Tar: end of tape

     

    Tar: to continue, enter device/file name when ready or null string to quit.
    User entered a null name for next device file.

     

    The resultat is the same by using fbackup. Strange: the last tape device work fin on anther HP server.

    Thanks for any idea which help me to resolve the probleme.

     

    Here some HW infos of the server

     

    Model : 9000/800/L1000-44
    OS : HP-UX
    Version : B.11.00
    KERNEL_Bits : 64
    Memory : 1536
    Processors : 2 (440) Mhz

     

    ioscan -fnkC tape
    Class I H/W Path Driver S/W State H/W Type Description
    =====================================================================
    tape 1 0/3/0/0.3.0 stape CLAIMED DEVICE QUANTUM DLT8000
                             /dev/rmt/1m /dev/rmt/1mn /dev/rmt/c4t3d0BEST /dev/rmt/c4t3d0BESTn
                             /dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c4t3d0BESTb /dev/rmt/c4t3d0BESTnb

     

     

     

    Cordialement(Best regards)

    Kazem Bakhshesh(Administrateur Système : HP-UX)

    E-Mail : bakhshek@essilor.fr

    Tel : 01.72.94.73.09

     

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: johnny cochran: "[HPADM] RE: backup problem"

    Relevant Pages

    • Re: Checking a Sun L9 autoloader.
      ... > got a real HVD SCSI card. ... > The HVD SCSI card is now reconsised at the OBP, along with the tape ... DO NOT use tar to backup your system. ...
      (comp.sys.sun.admin)
    • Re: Restore data from DDS
      ... > The backup was created by the GNU tar utility from www.gnu.org. ... At beginning of tape, ... the Solaris disks, so it would be no major problem to re-install and boot ...
      (comp.unix.solaris)
    • RE: redhat-list Digest, Vol 27, Issue 26
      ... The reason I was tarring a tar file to the tape I didn't want to backup a whole file system just to test the tape drive. ... I take that same tape and try to read it on the tape drive that is connected to the linux machine and it doesn't work. ... echo command as in windows ...
      (RedHat)
    • Re: problem with restore
      ... can tar be used to backup files on a machine with remote tape drive..?? ... the '-' on the tar command makes the 'f' go to stdout. ... Have you tried taking backup using tar utility instead of rdump. ... If you take backup and try restore using tar, ...
      (RedHat)
    • Re: Copying tar archives/tarballs to tape
      ... You may want to play about with the block size arguments in tar to find ... Some tape drives, when written to in ... Some apply error correction only on a per-block basis, ... for bzip2) flag when writing to tape, but bear in mind that compression uses CPU ...
      (uk.comp.os.linux)