I created a document management system for a client which uses SharePoint and SQL Server to store PDF documents. Due to some SAN misconfiguration 3 disks that were holding both MDF and LDF database files dissapeared from the OS one day. We are in the process of recovering the data of the SAN but my question is how do I detach an existing database when it's possible that it's MDF or LDF or both files are no longer where the database expects it to be. I've noticed that even when I try to look at properties SQL Server complains that it can't find one of the files.
Do I need to reestablish the disk with the folder structure and MDF/LDF file as it was originally configured for the database in question or can I just configure the database to point to the MDF/LDF in a new location?