Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
mflorell wrote:I've just used system RAM for a RAM drive in Linux, very easy to set up and it reduced load and hard drive fragmentation tremendously.
i thisnk thats in slackware
how can i do a ramdrive on centos?
does anybody have any document
in /boot/grub/grub.conf add ramdisk_size=1000000
so that it should look like this :
kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/1 ramdisk_size=1000000
in /etc/rc.d/rc.local : add or uncomment this :
### start ram drive for recordings
#/sbin/mke2fs -m 0 /dev/ram0
#/bin/mount /dev/ram0 /var/spool/asterisk/monitor
#/bin/mkdir /var/spool/asterisk/monitor/DONE
#/bin/mkdir /var/spool/asterisk/monitor/ORIG
beware you ll have to copy the files to an nfs drive every time the ram drive is full & before any reboot.
Net::FTP=GLOB(0x8aad2e4)<<< 550 Failed to change directory.
so is it ok to have a 2GB RAM drive and just use the mp3.pl script in the crontab to upload files to a local ftp server once in a while?
Users browsing this forum: Bing [Bot] and 132 guests