From: Russ_Fish () idx ! com
To: tru64-unix-managers
Subject: mfs and pipes
Date: Wed, 12 Jul 2000 17:19:29 +0000 [thread overview]
Message-ID: <96342268502350.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2000-07-12 17:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox