Two things:
As others have already said, have a backup drive for your photos, in addition to the primary storage.
If you are using lightroom to manage your photos, make sure you move the photos from within lightroom, rather than from the operating system. Otherwise, Lightroom won't be able...