I can't check now, but you really want to use the RAM disk as a raw device. Don't make a file system on it.
-- Leif > On Jul 24, 2016, at 6:18 AM, Randeep <randeep...@gmail.com> wrote: > > Hi all, > > I am trying to use RAMdisk for ats. > > Here is how I created RAMDISK > *mount -o size=20G -t tmpfs none /mnt/ramdisk/* > > And in storage.config I have specified it as below. > cat /opt/ats/etc/trafficserver/storage.config > /mnt/ramdisk* 20G* > > But every time I restart ats, I get the following warning. > [Jul 23 21:15:28.334] Server {0x2b9a5aba6380} WARNING: <Store.cc:528 > (init)> not enough free space for cache directory '/mnt/ramdisk' > > My question is, what is the right way to create ramdisk for ats and how we > need to specify it in the storage.config. (with or without size?) > > I checked in the documentation also. It doesn't have any information > regarding ramdisk. It would be great if someone can add it. > > -- > Randeep > Mob: +919447831699[kerala] > Mob: +919880050349[B'lore] > http://twitter.com/Randeeppr > http://in.linkedin.com/in/randeeppr > > > [image: --] > Randeep Raman > [image: http://]about.me/Randeeppr > <http://about.me/Randeeppr>