Keeping rat goes badly (7)
I believe the answer is:
storage
'keeping' is the definition.
(I know that storage is a type of keeping)
'rat goes badly' is the wordplay.
'badly' indicates anagramming the letters.
'rat'+'goes'='ratgoes'
'ratgoes' anagrammed gives 'STORAGE'.
(Other definitions for storage that I've seen before include "reservation?" , "- Heater; - battery" , "What repository provides; so great (anag.)" , "Available space for keeping things" , "Charge for warehousing" .)