RRDRESIZE(1)
RRDRESIZE(1) π
okay bestie, welcome to the rrdtool manual page for rrdresize β yes, the manual name is rrdtool, and this lil corner is all about resizing an RRA and making a brand-new .rrd file. π
β¨ NAME β¨
rrdresize β alters the size of an RRA and creates a new .rrd file. periodt. π
πΈ SYNOPSIS πΈ
rrdtool resize filename rra-num GROW|SHRINK rows
so you're literally calling rrdtool resize, handing it a filename, picking an rra-num, and then choosing GROW or SHRINK with a rows count. slay. β¨
π DESCRIPTION π
the resize function is the main character when you need to modify the number of rows in an RRA. here's the cast:
filenameβ the name of the RRD you want to alter. π«Άrra-numβ the RRA you want to alter. you can find the number usingrrdtool info. iykyk.GROWβ used if you want to add extra rows to an RRA. the extra rows will be inserted as the rows that are oldest. no cap, they're the oldest rows. π±SHRINKβ used if you want to remove rows from an RRA. the rows that will be removed are the oldest rows. bye bye ancient data. πrowsβ the number of rows you want to add or remove. math but make it fashion. β¨
π¦ NOTES π¦
the new .rrd file, with the modified RRAs, is written to the file resize.rrd in the current directory. the original .rrd file is not modified. iconic separation. π
abuse warning, bestie: it is possible to abuse this tool and get strange results by first removing some rows and then reinserting the same amount (effectively clearing them to be Unknown). you may thus end up with unknown data in one RRA while at the same timestamp this data is available in another RRA. π
π AUTHOR π
Alex van den Bogaerdt <alex@vandenbogaerdt.nl> β the legend behind this page. π«Ά
π source/version vibes: rrdtool 1.11.0, dated 2026-10-17, page RRDRESIZE(1). mwah π
π¦ where this page comes from
- arch rolling: rrdtool 1.11.0-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms