tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* mfs and pipes
@ 2000-07-12 17:19 Russ_Fish
  0 siblings, 0 replies; only message in thread
From: Russ_Fish @ 2000-07-12 17:19 UTC (permalink / raw)
  To: tru64-unix-managers


To:   "Tru64 Gurus"

Hello all--

I think I have this right, but as I've never used mfs before,
I thought I'd better ask.

What I am trying to do is connect two mfs filesystems on two
separate systems using pipes, then use them as the source and
destination for an Oracle export/import. So on each system,
/etc/fstab contains:

-s81920                         /mtmp   mfs     rw 1 0

So about 40 mb of space on each side. Then I create pipes
with

mknod /mtmp/exp_pipe p   (source)
mknod /mtmp/imp_pipe p   (dest)

Then I do
1. Start import on destination with /mtmp/imp_pipe as input
2. connect pipes (from source) with

dd if=/mtmp/exp_pipe | rsh dest dd of=/mtmp/imp_pipe &

3. Start export on source with /mtmp/exp_pipe as output
4. Watch it scream.

I've tested this and it runs fast for small test runs, but..

a. Any issues with the size of the mfs partition? I assume the
space requirements for a pipe are small, but I have extra memory
so increasing the size is easy.

b. Any other comments/suggestions regarding dd, pipes, mfs etc.
that might help (or bite me)?

The underlying process has failed (for other reasons) twice now,
so I'm hoping for 'third time lucky' and a fast run tonight. All
suggestions, comments, etc. greatly appreciated.

--Russ
----------
Russell C. Fish                              IDX Systems Corp.
Oracle DBA/Unix System Admin                 1001 4th Ave. Suite 1500
PH: 206-689-1302                             Seattle, WA 98154

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-07-12 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-12 17:19 mfs and pipes Russ_Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox