vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| 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. |
| |||
| 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! -- Here, there be dragons |
| |||
| 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. |
| |||
| Richard B. Gilbert wrote: > Michelle wrote: > > 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. does "reboot --r" still work? |
| |||
| Mr. G D Geen wrote: > Richard B. Gilbert wrote: >> Michelle wrote: >> >> 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. > > does "reboot --r" still work? yes, but # devfsadm will achieve what you want, without a reboot. |
| |||
| On Wed, 07 May 2008 08:55:19 -0500, Mr. G D Geen wrote: > Richard B. Gilbert wrote: >> Michelle wrote: >> >> 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. > > does "reboot --r" still work? Probably not. You would use "reboot -- -r" to perform a reconfiguration reboot. |
| |||
| quoting Dave Uhring (Wed, 07 May 2008 18:03:40 -0500): > On Wed, 07 May 2008 08:55:19 -0500, Mr. G D Geen wrote: > >> Richard B. Gilbert wrote: >>> Michelle wrote: >>> >>> 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. >> >> does "reboot --r" still work? > > Probably not. You would use "reboot -- -r" to perform a > reconfiguration reboot. But a "touch /reconfigure ; init 6" is safer. Reboot does not clode down programs in a safe way. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ | SunOS 10u4 08/07 ++ |
| ||||
| On Thu, 08 May 2008 15:35:27 +0200, Dick Hoogendijk wrote: > quoting Dave Uhring (Wed, 07 May 2008 18:03:40 -0500): >> On Wed, 07 May 2008 08:55:19 -0500, Mr. G D Geen wrote: >>> does "reboot --r" still work? >> >> Probably not. You would use "reboot -- -r" to perform a >> reconfiguration reboot. > > But a "touch /reconfigure ; init 6" is safer. Reboot does not clode down > programs in a safe way. Agreed, but unless one is running processes which can get corrupted in an uncontrolled shutdown it makes no difference. |
| Thread Tools | |
| Display Modes | |
| |