Michael Steinhart wrote:
> Thanks for a good starting point. tmpfs / unionfs looks 
> promising. Is tmpfs available on this distribution? 

Both are in the standard kernel.org sources, though I don't have VC3 to
hand right now to check if they're configured in the Vyatta kernels.
Even if they were enabled in the Vyatta kernel, startup scripts would
need to be modified so you'd need to build the OFR from scratch to do this.

> While 
> doing research on this issue I stumbled across aufs witch 
> looks like the proper way to go. Can aufs be implemented 
> with Vyatta?

aufs is still in development. For sure, you could patch the Vyatta
kernel with it, but I think unionfs would be fine for /tmp, /var.

> On Sun, 25 Nov 2007 17:02:53 +0000
>   James Chapman <[EMAIL PROTECTED]> wrote:
>> [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
> 

-- 
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