From: Michelle on
I have computer #1 and computer #2, both running Solaris 10 x86.
Computer #2 crashed. I took out the hard drive on computer #2
and installed it as a second hard drive on computer #1 using a
second SATA cable.

I boot up computer #1. What do I need to do to mount the hard
drive from computer #2 so that I can access on the data that was
residing on that hard drive? Thanks.
From: Dave on
Michelle wrote:
> I have computer #1 and computer #2, both running Solaris 10 x86.
> Computer #2 crashed. I took out the hard drive on computer #2
> and installed it as a second hard drive on computer #1 using a
> second SATA cable.
>
> I boot up computer #1. What do I need to do to mount the hard
> drive from computer #2 so that I can access on the data that was
> residing on that hard drive? Thanks.
Try something like this.

# devfsadm
will create device files for the second disk (a reconfigure boot will do
it too).

then look in /dev/dsk and find the recently created device files.
Hopefully you should see some that are for the second drive.



# mkdir /tmp/a


# mount /dev/dsk/some_new_device /tmp/a

then the disk slices should be seen on /tmp/a

If you are using ZFS, then ignore me, and seek more expert help.

From: Dave on
Richard B. Gilbert wrote:
> Michelle wrote:
>> I have computer #1 and computer #2, both running Solaris 10 x86.
>> Computer #2 crashed. I took out the hard drive on computer #2
>> and installed it as a second hard drive on computer #1 using a
>> second SATA cable.
>>
>> I boot up computer #1. What do I need to do to mount the hard
>> drive from computer #2 so that I can access on the data that was
>> residing on that hard drive? Thanks.
>
> The first thing you need to do is to tell computer #1 that it has a new
> disk drive. Easiest way is "boot -r". Or you can "touch /reconfigure"
> and reboot. The system will inventory the installed hardware and
> rebuild various tables/files to include the new disk drive. You can
> also use devfsadm to get the system to recognize the new drive; see man
> devfsadm.
>
> Then you can either mount slices from the second disk using the mount
> command or edit /etc/vfstab and add entries for the slices you want to
> mount. You may have to create some new directories to act as mount points.
>
> Depending on just how and why computer #2 crashed, your efforts may be
> fruitless. If it crashed because of disk failure. . . . Or, if the O/S
> rolled over and died, it may have crapped on something in the process!


It might be worth him running fsck on the raw devices in that case if
they will not mount. If the drive is dead, that is obviously not going
to help though.