[rancid] Re: Removing flash free space collection
john heasley
heas at shrubbery.net
Mon Mar 8 18:30:43 UTC 2010
Mon, Mar 08, 2010 at 09:09:48AM -0500, Adam McNeal:
> Sorry if this is a repost, I am still new with Rancid.
>
> I have a couple of Foundry devices that repeatedly have changes in flash
> free space due to other backups that are run. The changes are like this:
>
> Index: configs/telecom-sw02.tns.its.psu.edu
> ===================================================================
> retrieving revision 1.49
> diff -U 4 -r1.49 telecom-sw02.tns.its.psu.edu @@ -57,9 +57,9 @@
> !
> !Flash: Compressed Pri Code size = 2667614, Version 04.3.00T3e1
> (sxl04300.bin)
> !Flash: Compressed Sec Code size = 2667614, Version 04.3.00T3e1
> (sxl04300.bin)
> !Flash: Compressed BootROM Code size = 524288, Version 04.0.00T3e5
> - !Flash: Code Flash Free Space = 11206656
> + !Flash: Code Flash Free Space = 11264000
>
> I am not really concerned about these changes in flash size. How would I
> go about suppressing the commands that collect this data?
I think the free space is useful, but agree that the frequent changes are
annoying. How about reducing this to something like the rounded value of
free space as Gig/Meg/Kilo?
The current code (which become 2.3.3 soon) has a crude version of this for
IOS XR/XE like so:
if (($ios eq "XR" || $ios eq "XE") && /.*\((\d+) bytes free\)/) {
my($tmp) = int($1 / (1024 * 1024));
s/$1 bytes free/$tmp MB free/;
}
>
> Thank you,
>
> Adam McNeal
> Telecommunications and Network Services
> Penn State University
> awm11 at psu.edu
> Desk: 814-865-9985
> Desktop Video Call: 30165
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list