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

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

TheDude
Posts: 119
Joined: Sat Sep 17, 2005 9:53 pm
Location: Alabama, USA
Contact:

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

Postby TheDude » Tue Nov 27, 2007 6:48 pm

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

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Nov 28, 2007 6:49 am

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

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Thu Nov 29, 2007 6:44 am

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.
Regards,

Les Stott


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron