choosing a file system

Shawn Nock nock at email.arizona.edu
Wed Dec 31 13:41:02 EST 2008


Nik Conwell wrote:
> 
> On Dec 30, 2008, at 4:43 PM, Shawn Nock wrote:
> 
> [...]
> 
>> a scripted rename of mailboxes to balance partition utilization when we
>> add another partition.
> 
> Just curious - how do stop people from accessing their mailboxes during
> the time they are being renamed and moved to another partition?
> 

We don't really bother. We run the script overnight (over several
nights) to minimize storage utilization and we haven't run into a
problem. I haven't looked at the code in a while, but as I recall the
rename operation is fairly atomic.

In short: it doesn't take long to move a box. The worst thing that I
could imagine would be a momentary outage for a single user (``Mailbox
does not exist'' or similar). This sort of error (if it does occur in
the wild) would clear almost immediately.

Shawn

-- 
Shawn Nock (OpenPGP: 0xFF7D08A3)
Unix Systems Group; UITS
University of Arizona
nock at email.arizona.edu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20081231/88183cf3/attachment.bin 


More information about the Info-cyrus mailing list