Page 1 of 1

How to move message store to ext. usb drive- Good idea?

Posted: Tue Nov 27, 2007 6:48 pm
by TheDude
Hello all,

My /var/opt/scalix folder only has 2 gig free and I am not sure if I can make it through the end of the year without running out of space.

I have a fairly fast usb drive slaved to it now, but, would like to have some kind of USB raid so if one of the drives fails the other will keep the message store alive.

Any recomendations?

Also, is it dificult to move the store to, say, /media/opt ?

Is there many places I have to edit to configure this?

Thanks, I am running the latest build of community, by the way.

The Dude

Posted: Wed Nov 28, 2007 6:49 am
by Valerion
It's easy to do, but I would recommend against it. You need to make VERY VERY sure your USB will never disconnect, and is ready to handle a LOT of disk IO (not all of them can do it continously).

To move the mailstore, move it to the folder you want, and create a softlink to /var/opt/scalix, or even better, mount the USB disk at /var/opt/scalix

Posted: Thu Nov 29, 2007 6:44 am
by les
Valerion wrote:It's easy to do, but I would recommend against it. You need to make VERY VERY sure your USB will never disconnect, and is ready to handle a LOT of disk IO (not all of them can do it continously).

To move the mailstore, move it to the folder you want, and create a softlink to /var/opt/scalix, or even better, mount the USB disk at /var/opt/scalix



i wouldn't do it, too many reliability issues, and with heavy IO it may not handle it as Valerion states above.
Given the cost of hard drives these days you should just get another drive and stick it in the server. Ofcourse you need to have the room etc.

Assuming you have /var/opt/scalix mounted as a seperate filesystem you could easily unmount it, format the new drive, copy the data over, then mount it at /var/opt/scalix.

Then use your USB drive as a backup partition.

if you really want raid then my advice would be to do it with internal disks.