[Mimedefang] Creating & using a ram disk for Mimedefang's spool files
John
john at jjgb.com
Fri Jan 20 15:06:58 EST 2006
Lisa,
Here is my line in fstab on a RH 7.3 box.
none /dev/shm tmpfs defaults
0 0
/dev/shm /var/spool/MIMEDefang tmpfs
mode=0700,size=2000M,uid=defang,gid=defang 0 0
Watch the size and adjust accordingly. I have 4Gig RAM in this box
Is your /dev/shm mounted? Gots to be done first.
Also, do you have a /dev/shm ? Been so long since I have set this up I
cannot remember if I had to create one or not <G>
At 12:18 PM 1/20/2006, you wrote:
>Hi Folks,
>
>Sorry to bother you guys with this but I'm really not sure just how to go
>about doing this.
>
>I'm using Redhat 7.2 and Mimedefang 2.48. I want to move
>/var/spool/MIMEDefang onto a RAMdisk.
>
>I've looked at http://www.mimedefang.org/node.php?id=27 I tried the
>command suggested for unix (mount -t tmpfs -o
>size=200m,mode=0700,uid=defang,gid=defang /dev/shm /var/spool/MIMEDefang)
>but got this error message:
>
>mount: wrong fs type, bad option, bad superblock on /dev/shm,
> or too many mounted file systems
>
>Should I create a RAMdisk the way it is suggested in
>http://www.vanemery.com/Linux/Ramdisk/ramdisk.html ??
>
>If so, then how do I move (mount?) /var/spool/MIMEDefang to the RAMdisk?
>
>I suppose this is probably simple enough to do but I've managed to make
>myself nervous about trying it. Can someone here help me get this done?
>I'ld sure appreciate it.
>
>Lisa Casey
>
>_______________________________________________
>NOTE: If there is a disclaimer or other legal boilerplate in the above
>message, it is NULL AND VOID. You may ignore it.
>
>Visit http://www.mimedefang.org and http://www.roaringpenguin.com
>MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
>http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
John
System Administrator
jjgb.com
mailto:SysAdmin at jjgb.com
More information about the MIMEDefang
mailing list