On Wed, Feb 16, 2000 at 03:27:14PM -0800, Matt Harrington wrote:
> i want to move /var to RAID (software RAID with
> FreeBSD's "vinum"). i'd like a sanity check on what i
> plan to do:
Not sure what RAID level you're using. However, unless it's
RAID1+0, you're increasing the first bottleneck which people
generally run into: queue disk IO.
> - bring /var2 online. /var2 = RAID
> - reboot into single user. don't start qmail & MySQL
> since they use /var.
> - copy /var to /var2
> - edit /etc/fstab to switch /var and /var2
> - reboot into multiuser mode
>
> will this result in an intact /var? is this what
> people do when they want a more reliable qmail mail
> spool?
Queue file names are based on inode names, so you're going to
corrupt your queue. However, there is a queue fixing util on
qmail.org.
One thing you might want to think about is starting a second
qmail instance on a fresh /var2/qmail directory. Change your
qmail-smtp startup path to /var2/qmail/bin, and restart it.
Make sure you allow relaying from localhost, and smtproute
your first qmail instance to localhost. Then flush the /var
queue to the new queue.
John