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