mfs and pipes

From: <Russ_Fish_at_idx.com>
Date: Wed, 12 Jul 2000 10:19:29 -0700

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
Received on Wed Jul 12 2000 - 17:25:50 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT