Re: Mounting tape drives between systems

From: Darryl Ousterhout (D.Ousterhout_at_LABSAFETY.COM)
Date: 07/29/03

  • Next message: Green, Simon: "Re: Mounting tape drives between systems"
    Date:         Tue, 29 Jul 2003 10:31:49 -0500
    To: aix-l@Princeton.EDU
    
    

    He's what I use on our 690 2 lpar system. When one lpar has the media
    drawer, I use this script to do the mksysb on the other.

    #!/bin/ksh -x

    mkfifo /tmp/pipefile

    mksysb -i /tmp/pipefile &

    sleep 120
    dd if=/tmp/pipefile | rsh <hostname of system that has the drive> dd
    of=/dev/rmt0 obs=1024

    rm /tmp/pipefile

    HTH
    -Darryl

    -----Original Message-----
    From: Green, Simon [mailto:Simon.Green@EU.ALTRIA.COM]
    Sent: Tuesday, July 29, 2003 9:48 AM
    To: aix-l@Princeton.EDU
    Subject: Re: Mounting tape drives between systems

    Yes, but what do you do with it then?

    Simon Green
    Altria ITSC Europe Ltd

    AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
    AIX FAQ at http://www.faqs.org/faqs/aix-faq/

    N.B. Unsolicited email from vendors will not be appreciated.

    > -----Original Message-----
    > From: John Jolet [mailto:john.jolet@FXFN.COM]
    > Sent: 29 July 2003 15:17
    > To: aix-l@Princeton.EDU
    > Subject: Re: Mounting tape drives between systems
    >
    >
    > tar will allow you to output to stdout.
    >
    > -----Original Message-----
    > From: Green, Simon [mailto:Simon.Green@EU.ALTRIA.COM]
    > Sent: Tuesday, July 29, 2003 4:20 AM
    > To: aix-l@Princeton.EDU
    > Subject: Re: Mounting tape drives between systems
    >
    >
    > One way is to use dd on one system to write the data to
    > stdout, pipe it via
    > rsh to dd on the remote system and thence to the tape.
    >
    > I don't think it would be easy to do this with most of the
    > backup commands,
    > (backup; tar; pax). The simplest method is to back up to a
    > disk file, then
    > copy that file to tape.
    >
    > You can't create a bootable backup this way, but it _is_
    > possible to build
    > your own bootable tape by writing the necessary boot files explicitly.
    > There's been some discussion of this in the past. There's no
    > way of booting
    > from it over the network, though.


  • Next message: Green, Simon: "Re: Mounting tape drives between systems"

    Relevant Pages

    • Re: fclose then fopen equivalent for stdout?
      ... transferred to tape the program needs to close the output stream so that ... the tape driver will write a filemark on the tape. ... However when data is going through stdout like: ... fclose succeeds, stdout is dead. ...
      (comp.lang.c)
    • Re: fclose then fopen equivalent for stdout?
      ... transferred to tape the program needs to close the output stream so that ... the tape driver will write a filemark on the tape. ... However when data is going through stdout like: ...
      (comp.lang.c)
    • Re: fclose then fopen equivalent for stdout?
      ... stdout or through a file opened with fopen. ... the tape driver will write a filemark on the tape. ... Also it might be worth keeping in mind that most Unix-type systems ... and if you are using stdout then you don't know the tape device ...
      (comp.lang.c)
    • Re: Mounting tape drives between systems
      ... rsh works, but netcat I think is easier and performs better. ... Mounting tape drives between systems ... > remote tape to the current directory. ...
      (AIX-L)
    • Re: Mounting tape drives between systems
      ... N.B. Unsolicited email from vendors will not be appreciated. ... > tar will allow you to output to stdout. ... > rsh to dd on the remote system and thence to the tape. ...
      (AIX-L)