[Voyage-linux] RE: tmpfs mount
Dan Woodard
(spam-protected)
Wed Aug 24 07:50:18 HKT 2011
Adrian,
Thanks for the reply...
Thanks. I had not realized I could make the change in
/etc/default/tmpfs. I was looking at changing it in fstab, but wasn't
certain of the recommended or preferred method.
Dan
On 08/23/2011 03:58 PM, Adrian Reyer wrote:
> On Tue, Aug 23, 2011 at 11:40:06AM -0700, D Woodard wrote:
>> I have an issue in tmpfs which is slightly different. I have added all the
>> needed directories to voyage-util in /etc/default. Now my issue is that
>> tmpfs gets full. I am using this box as dns,dhcp,ldap, and soon a samba
>
> tmpfs size seems to be taken from /etc/default/tmpfs, in my system this
> is the kernel default. You should be able to state a bigger size there.
> It is limited by your RAM, though.
>
>> server. The ldap db seems to fill up the mount. Can I allow more space for
>> tmpfs? How would I specify an external mount for some of these files? I
>> have added a 1G USB stick to be used for this, but not sure how to divide it
>> up.
>
> /etc/fstab is the place to mount it, if you have it attached all the
> time.
> I am told due to the wear leveling algorithms it might be a good idea to
> only partition the part of the stick you actually need or at least leave
> some space. However, smaller partitions means faster fsck in case of a
> crash or a routine check.
> I personally always do LVM and dedicate single logical volumes to single
> jobs. e.g. a seperate one for the ldap to make sure it won't die due to
> e.g. some forgotten log filling the disk. Might be a bit overkill with
> as little as 1GB space to talk about.
>
> Regards,
> Adrian
More information about the Voyage-linux
mailing list