I tried linux's raid-0 implementation and it worked. It might as well be the
answer to ina's /var/mail problem. My test involved partitions /dev/hda10
and /dev/hda11, both sized at 200 mb.

in my /etc/raidtab:
 raiddev /dev/md0
        raid-level      0
        nr-raid-disks   2
        persistent-superblock 1
        chunk-size     4
        device          /dev/hda10
        raid-disk       0
        device          /dev/hda11
        raid-disk       1

# mkraid /dev/md0
# mkfs /dev/md0
# mount /dev/md0 /var/raid -t ext2
# df -k -> shows /dev/md0 = 400 mb (combined size of /dev/hda10 and
/dev/hda11)

The contents of /var/mail can then be moved to /var/raid and a softlink made
from /var/mail to /var/raid. Or perhaps, it's cleaner to mount /dev/md0 on
/var/mail. For better parallel performance, each of the combined partitions
should be in separate disks or controllers (but i have only one disk to
test).

Yours,
Mary Christie








__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to