skipper
09-20-2005, 05:02 PM
Ok I hope some of you still read these post.
I just had a RaQ XTR hard drive fail on me. Now I am trying to get it back up and running. Well I am trying to get everything back up on another RaQ XTR.
I have been able to put 2 of the hard drives in another computer and look at some of the data. I copied the whole MySQL directory in hopes I can move this to the new one. I have also copied the /etc/mail/virtusertable file and db file. Can I do anything with these? Some kind of manual restore?
Someone please help!!!!!!!!!!!
BruceT
09-23-2005, 03:05 PM
I'm not sure what your question is. If you can read the data off the drive, then you should be able to copy it back to your system once you OS Restore it and reinstall everything.
If you're asking something else, sorry but you'll have to be more clear about what you want to do.
skipper
09-23-2005, 03:12 PM
Well I can see some of the data. I was able to copy the MySQL databases. But stuff like the Virtual sites users web directories and email I could not find that. I was using Raid0 and I am assuming that the first drive had my data?
BruceT
09-23-2005, 03:19 PM
If you were using RAID 0, then all the drives were being treated as one large one. If you lose one or more spindles in RAID 0, you are probably out of luck. RAID 0 is pretty dangerous to use actually. You do get some speed on reads from the multiple spindles, but that's it. No data integrity etc.
RAID 1 (mirroring) is only 50% efficient, but you always have an exact copy of your data on the other drive.
I'm surprised you were able to read anything at all; I guess it depends on how the hard drive failed...
Your site info lives in two places - the actual config files for the services (apache, sendmail, etc) and in a database that powers the UI. Both must be kept in sync for everything to work as expected.
There are not many good tools to do the syncing if something breaks. You can try the meta-verify.pl script (Google for it and it should be pretty easy to find); you want the RaQ 4 version (the XTR is basically a RaQ 4 under the hood, with the RaQ 550-like Sausalito UI on top of it).
Site content lives in /home/sites/siteX, with symlinks in /home/sites to the domain names. Mail lives in the user's directories (under /home/sites/siteX/users) and in /home/spool/mail if it hasn't been picked up by the user yet.
There's a lot of config info that needs to be sync'd though - web, mail, DNS, etc. I have a feeling you may be looking at doing a lot of manual re-entry. You might get lucky though; meta-verify can rebuild the database if the config files are intact. If they aren't, you don't have much hope. Sorry.