How do I recollect my password?
Re: how to mount second hard drive on Solaris 10?
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• RYXI
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

RYXI > Solaris > Re: how to mount second hard drive on Solaris 10? 7 May 2008 10:31:54

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Re: how to mount second hard drive on Solaris 10?

Ian Collins 7 May 2008 10:31:54
 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.

Start with a reconfigure boot so Solaris sees the new drive.

Run format to identify the drive's path and slices.

mount the slices you require.

--
Ian Collins.
Add comment
Michelle 6 May 2008 19:46:49 permanent link ]
 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.
Add comment
Michelle 6 May 2008 19:47:21 permanent link ]
 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.
Add comment
Dave 6 May 2008 20:00:03 permanent link ]
 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_d­evice /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.

Add comment
Ian Collins 6 May 2008 23:53:27 permanent link ]
 Michelle wrote:

Please don't multi-post on Usenet, answered elsewhere.

--
Ian Collins.
Add comment
Richard B. Gilbert 7 May 2008 02:06:30 permanent link ]
 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
Add comment
Dave 7 May 2008 10:31:54 permanent link ]
 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.
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


RYXI > Solaris > Re: how to mount second hard drive on Solaris 10? 7 May 2008 10:31:54

see also:
Which Flatfart--- is this? was Re…
"Windows Is A Legacy OS"
Is this our tab?
пройди тесты:
see also:
~~~~~~~~~~~kOrOcHe TaK~~~~~~~~~~
auuuuu

  Copyright © 2001—2008 RYXI
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.ryxi.com.
Сообщения об ошибках оставляем в сообществе bugs.ryxi.com.
Предложения и комментарии пишем в сообществе suggest.ryxi.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .