[rancid] arrancid (2.3.4) - ignore bytes free in ShowFlash

Stefan Jakob stefan.jakob at de-cix.net
Fri Mar 16 10:24:53 UTC 2012


Hi rancid list,

Is it rancid style to ignore the output of bytes free in sub ShowFlash
of arrancid?

Versions:

arrancid: rancid 2.3.4, Debian Squeeze
EOS: Software image version: 4.8.3, Arista DCS-7124SX-F


Looks like Arista stores some ntp drift info on a regular base to the flash:

bash-4.0# pwd
/mnt/flash/persist
bash-4.0# ls -ls -rtl
total 20
12 -rwxrwx--- 1 root eosadmin 10240 Mar 14 12:07 sys
8 -rwxrwx--- 1 root eosadmin 5120 Mar 16 08:12 local

Guess this causes arrancid to "see" a diff in ShowFlash everytime this
happens. Guess this is just noise?

- !Flash: 1779585024 bytes total (1318834176 bytes free)
+ !Flash: 1779585024 bytes total (1318830080 bytes free)

@Arista: Why not in tmpfs? This might hurt the flash. If there is ntp
configured, this shouldn't matter to lose the drift info, after a reboot.


I checked 2.3.8, but can't really see, that it's parsed diffrent

So is it possible to ignore the line?

Rgds, SJ


More information about the Rancid-discuss mailing list