A Dell x346 server crashed (motherboard went bad) and I need to get a few files off of the hard drive. They are 2 SCSI hard drives in RAID 1. As far as I know both drives are fine.
Can I just put one of the drives in another computer and get the data off?
Typically RAID1 isn't anything more than two normal drives with a bit of metadata at the end of the drive that the hardware RAID controller uses.
So it should be safe to put one of them in another computer. I wouldn't use a RAID controller for this just to avoid any potential for it reading and changing the RAID metadata in any way. Plus you typically have to do some low level RAID setup stuff for it to see a new drive which I would try to avoid if possible. But chances are that on a regular SCSI controller the drive will work fine and you can copy your data off.
If you want to be on the really cautious side just use
dd
to make an image of one of the drives and then mount the image using a loop device on Linux.Was it a hardware controller doing the RAID, or was the controller merely acting as a connection and the RAID was done in software?
If it was a hardware RAID, you will need to plug the disks into the exact same model controller or you run the risk of damaging the RAID.
If it was a software RAID, you should be able to plug it in and it will Just Work (tm).
If it was RAID-1 and not RAID-0 or JBOD, then the drives should be exact copies of each other unless the raid hardware did something really weird. Most drives don't have a read-only jumper, that would have been ideal for experimenting. I would try putting one drive into a non-raid controller and seeing what happens. Worst case should be that there are no partitions detected on the drive because the raid controller did something weird or it wasn't RAID-1, just be sure that if Windows detects that you have a new drive and it needs to be formatted that you tell it NO.
I wouldn't put the drives into another raid controller except as an absolute last resort. The controller might not accept the drives until the controller is configured, and the controller may automatically "initialize" the array as part of the configuration.
I had to do this once when a RAID controller failed, and a compatible replacement wasn't available. The drive's contents were normal except for a sort of RAID header at the beginning of the drive; unfortunately, this meant the MBR wasn't in the usual place, so the disk was effectively unmountable. What worked for me was to figure out the header size, then use
dd skip=headersizeinblocks if=/dev/disk1 of=/dev/disk2
to copy its contents (minus header) to another (larger) HD, which I could them mount normally.