home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13645 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  2.3 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: Mickey_Coggins@vnet.ibm.com
  3. Message-ID: <19930122.082438.527@almaden.ibm.com>
  4. Date: Fri, 22 Jan 93 17:08:37 CET
  5. Cc:   feats@vtvm1.cc.vt.edu
  6. Newsgroups: comp.unix.aix
  7. Subject: Re: Backups for RS/6000
  8. Reply-To: Mickey_Coggins@vnet.ibm.com
  9. Organization: IBM
  10. Disclaimer: This posting represents the poster's views, not those of IBM
  11. News-Software: UReply 3.1
  12. References: <11283@vtserf.cc.vt.edu>
  13. Lines: 39
  14.  
  15. In <11283@vtserf.cc.vt.edu> Steve Greenfield writes:
  16. >I have no tape drive attached to my machine.  I can rdump to a RS/6000 in
  17. >the machine room that has an 8mm tape drive /dev/rmt0.  But when you rdump
  18. >you can only dump one filesystem at a time.  I would assume that you can
  19. >piggyback/stack the filesystems on a tape but I don't know how to set this
  20. >up and to use the tape to restore in case of an emergency.
  21. >Are there any other possibilities that other RS/6000 users have implemented?
  22. >
  23. >Stephen L. Greenfield                     Bitnet:   FEATS@VTVM1
  24. >Virginia Polytechnic Institute   ,/\      Internet: feats@vtvm1.cc.vt.edu
  25.  
  26. Here's a trick.   Create a named pipe on your system called /tmp/.fs.size
  27. with the following command:   mknod p /tmp/.fs.size
  28. This name is used because the mksysb script won't back up any files called
  29. .fs.size (which is probably a bug, but let's not worry about it now).
  30.  
  31. Do the mksysb to this named pipe:   mksysb /tmp/.fs.size
  32.  
  33. Now, just use rsh to copy the data from the named pipe to your remote
  34. machine with a command like this, all on one line:
  35.  
  36. dd if=/tmp/.fs.size ibs=10k obs=512 | rsh RemoteMachine "dd ibs=512 obs=10k
  37. of=/dev/rmt0"      #this must be all on one line, obviously
  38.  
  39. Of course, this requires that you have rsh working, and that your tape
  40. drive is set to a block size of 512 bytes.  (chdev -l rmt0 -a block_size=512)
  41. You'll also need to create the 4 boot/install diskettes to use with this
  42. tape.  Type egrep "bosboot|dskt" /usr/lpp/bos/README | tail -4 to find the
  43. correct commands.
  44.  
  45. Pretty easy, huh?
  46. --
  47. Mickey Coggins  Mickey_Coggins@vnet.ibm.com
  48.                 +41-1-436-7274 / +41-1-436-8525 (fax)
  49.                 Hohlstrasse 560, CH-8048 Zurich, Switzerland
  50. _______________
  51. "All who have meditated on the art of governing mankind
  52.  have been convinced that the fate of empires depends on
  53.  the education of youth."   - Aristotle
  54.