[EMAIL PROTECTED] wrote:
> I am putting together a new router using VC3 to replace a 
> Cisco 7507. We no longer need the advanced routing of the 
> 7507 so I am putting together a basic / high performance 
> router.
> 
> I have installed VC3 to a CF card as the boot device. my 
> thought was that the system would install to a ram disk on 
> boot-up. This dos not appear to be the case. It looks like 
> the CF is being accesses after the load. If it were 
> assessed in read only mode there would be no concern but 
> it seems that the log files are being written to the disk. 
> This is an issue due to the limited number of erase/write 
> cycles such devices have before failure.  Flash memory 
> specifications generally allow 10,000 to 1,000,000 write 
> cycles

The internal wear leveling of SD will increase the life of the flash to
many more than 1,000,000 writes. However, I agree that writing log files
and temporary files to flash will shorten flash life.

Many Embedded Linux products put /var, /tmp, /dev and sometimes /etc in
RAM using tmpfs / unionfs in order to minimize or eliminate flash writes
during normal operation. Files written under those directories would of
course be lost on reboot. But remote syslog could be used to store the
router's log files on a remote server. Would configuring remote syslog
eliminate most flash writes?

An install-time option to put /var, /dev and /tmp into RAM would be ideal.

-- 
James Chapman
Katalix Systems Ltd
http://www.katalix.com
Catalysts for your Embedded Linux software development

_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to