Library storage

Hello guys I wanted to know if there was a possibility to memmorize the files in the music library without every time I off the hard drive has to reload it. Then I have another problem the library keeps showing me old files that I no longer have in the hard drive, I have to do a particular kind of cleaning or what. Thank you