home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12650 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.9 KB  |  49 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!utcsri!geac!censor!comspec!noweh.com!georgn
  3. From: georgn@noweh.com (Georg S. Nikodym)
  4. Subject: Re: NFS, /dev
  5. In-Reply-To: sosa@remus.rutgers.edu's message of 12 Dec 92 00:30:19 GMT
  6. Message-ID: <GEORGN.92Dec17013522@idcrisis.noweh.com>
  7. Followup-To: comp.unix.aix
  8. Sender: georgn@noweh.com (Georg S. Nikodym)
  9. Organization: Noweh Software, Mississauga, CANADA
  10. References: <Dec.11.19.30.18.1992.7849@remus.rutgers.edu>
  11. Date: Thu, 17 Dec 1992 06:35:25 GMT
  12. Lines: 35
  13.  
  14. In article <Dec.11.19.30.18.1992.7849@remus.rutgers.edu> sosa@remus.rutgers.edu (Fred L. Sosa) writes:
  15.  
  16.    I have a RS/6000 running 3.2 with tape devices connected to it. I have
  17.    another RS/6000 running 3.1.5 I believe.  I was wondering if it is
  18.    possible to mount /dev on the 3.1.5 machine so it could access the
  19.    tape drives on the other machine running 3.2. If it is possible how
  20.    would you do it?  Is there another way of doing it? Thanks in advance.
  21.  
  22. While it is entirely possible for you to mount a /dev directory from
  23. another machine, it doesn't buy you anything.  A entry in /dev is
  24. simply a node in the filesystem that has a major and minor number
  25. attached to it and these numbers are used to communicate with a device
  26. driver through the LOCAL kernel.
  27.  
  28. As for a solution to your problem, there are many.  For simple
  29. backup/restore operations, rdump and rrestore should fit the bill.
  30. For other things, some creativity helps.  One method that's commonly
  31. used is to use a command pipeline like:
  32.  
  33.     <command_to_construct_data> | rsh <remote_host> dd of=<tape_device>
  34.  
  35. which might become something like:
  36.  
  37.     tar cvf - directory | rsh host dd of=/dev/rst0
  38.  
  39. You may have to add blocking arguments to dd (bs=XXX or ibs=XXX and/or
  40. obs=XXX) to get things to work correctly.
  41.  
  42. Hope that helped,
  43.  
  44. -- 
  45. Georg S. Nikodym  -  (416) 272-5198 / 720-4729
  46. Noweh Software - Mississauga, Ontario, CANADA
  47. UUCP:    {comspec.com, lsuc.on.ca, uunet.ca}!noweh!georgn
  48. RFC822:    georgn@noweh.COM
  49.