Moving some files to another mount point
Patrick Boutilier
boutilpj at ednet.ns.ca
Sat Feb 16 09:55:29 EST 2008
Josh Endries wrote:
> Hello,
>
> My mail store is almost out of space. I have another disk partition I can use,
> but I'm not sure how to make it available. I'm using 2.2 with virtdomains, so I
> don't think I can move things to another Cyrus partition (no way that I'm aware
> of). I can't seem to rename a mailbox...
>
> Is it possible to mount another partition (e.g. ad0s1d) within my
> /var/spool/imap hierarchy (e.g. mount another it as
> /var/spool/imap/domain/blah.com)? Would that cause all sorts of problems? I
> don't know if Cyrus uses fs-specific things, like inodes or anything, that would
> cause conflicts...
We use many mount points and symbolic links inside the Cyrus partition.
Should work the same way for virtual domains and a direct mount. The
only draw back is that singleinstancestore won't be as efficient as hard
links can not be made between mount points. But it is better than
running out of disk space. :-)
ll /imap/mail
total 0
lrwxrwxrwx 1 root root 10 Apr 20 2005 A -> /mnt/ABC/A
lrwxrwxrwx 1 root root 10 Apr 20 2005 B -> /mnt/ABC/B
lrwxrwxrwx 1 root root 10 Apr 20 2005 C -> /mnt/ABC/C
lrwxrwxrwx 1 root root 9 Nov 25 12:06 D -> /mnt/DE/D
lrwxrwxrwx 1 root root 9 Nov 25 12:06 E -> /mnt/DE/E
lrwxrwxrwx 1 root root 10 Nov 25 12:06 F -> /mnt/FSW/F
lrwxrwxrwx 1 root root 10 Apr 20 2005 G -> /mnt/GHI/G
lrwxrwxrwx 1 root root 10 Apr 20 2005 H -> /mnt/GHI/H
lrwxrwxrwx 1 root root 10 Apr 20 2005 I -> /mnt/GHI/I
lrwxrwxrwx 1 root root 10 Apr 20 2005 J -> /mnt/JKL/J
lrwxrwxrwx 1 root root 10 Apr 20 2005 K -> /mnt/JKL/K
lrwxrwxrwx 1 root root 10 Apr 20 2005 L -> /mnt/JKL/L
lrwxrwxrwx 1 root root 10 Apr 20 2005 M -> /mnt/MNO/M
lrwxrwxrwx 1 root root 10 Apr 20 2005 N -> /mnt/MNO/N
lrwxrwxrwx 1 root root 10 Apr 20 2005 O -> /mnt/MNO/O
lrwxrwxrwx 1 root root 10 Nov 25 12:07 P -> /mnt/PQR/P
lrwxrwxrwx 1 root root 10 Nov 25 12:07 Q -> /mnt/PQR/Q
lrwxrwxrwx 1 root root 10 Nov 25 12:07 R -> /mnt/PQR/R
lrwxrwxrwx 1 root root 10 Nov 25 12:07 S -> /mnt/FSW/S
drwx------ 2 cyrus cyrus 1 Feb 16 10:49 stage.
lrwxrwxrwx 1 root root 10 Nov 25 12:07 T -> /mnt/TUV/T
lrwxrwxrwx 1 root root 10 Nov 25 12:07 U -> /mnt/TUV/U
lrwxrwxrwx 1 root root 10 Nov 25 12:07 V -> /mnt/TUV/V
lrwxrwxrwx 1 root root 10 Nov 25 12:08 W -> /mnt/FSW/W
>
> Thank you!
>
> J
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list