LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-25-2007, 06:41 AM   #1
Sheridan
Member
 
Registered: Aug 2007
Location: Hungary
Distribution: Fedora, CentOS
Posts: 91

Rep: Reputation: 21
Setting up mailbox storage via NFS


Hi guys,

I want to set up a temporary storage area for an old server with too many mailboxes on another server, so that it won't run out of space again and again until I can replace the server alltogether.

The problem is that we have about 2000+ mailboxes now, and that old piece of ancient metal has about 10GB or space for the whole thing. We keep running out of space every other day. Because of some stupid internal company politics (the company is a sub-company of our group but their functions are being adopted by us for reasons and in ways both too booring and offtopic to get into right now)... The old sysadmin has already left and I'm not permitted to _replace_ the machine physically or logically until the procedure of transferrance is over. So I need to find a way to extend storage capacity instead without physically touching it or having it altered, or so to say...

This is what I had in mind (please feel free to comment if this is not how it's done - it's just what I came up with):

- We have an old, FC3 box and a new FC7 box, which will serve as a net storage server until one day it will take over the place of the FC3 box.
- For some creepy reasons I'm not _permitted_ to redirect traffic from the old server, but I'm permitted to utilize "extra storage in any form to solve the issue", so for this reason:
- I mount up the new server (in the same localnet as the old server) with NFS
- Copy over all mailboxes
- Make a symlink of the NFS mountpoint to /var/spool/mail
- Start mail apps (sendmail and dovecot) again

As far as I know, this should work, except that I'm not sure about fnctl locking to work over NFS. Maybe I should use dotlock? But I don't know how to set that up in sendmail or in dovecot.

Can you help me with some directions (config file is where, what to set, etc to achieve dotlock locking in the new mailbox dir)?

L.

Last edited by Sheridan; 12-25-2007 at 06:43 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting quota on a user's mailbox on a RHEL_AS MX server Vasili Linux - Networking 1 08-15-2006 01:28 PM
Sun NFS/SMB storage solution monz Solaris / OpenSolaris 3 04-22-2006 01:08 PM
how to change the path of mailbox storage in sendmail dhanju Linux - Newbie 0 09-15-2005 12:41 AM
Setting up new HD for dual boot and storage Decemoto Linux - Newbie 7 03-13-2005 09:06 PM
Setting Linux up as a Network Storage Device Archmaker Linux - Networking 1 05-07-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration