The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to mount disk for non-root accounts? siegfried UNIX for Dummies Questions & Answers 11 03-17-2007 10:36 PM
Veritas root disk mirroring Jartan SUN Solaris 10 12-12-2006 06:46 PM
How to rebuild a new disk catwomen HP-UX 1 11-24-2005 11:54 AM
Rebuild disk or drive? catwomen HP-UX 1 11-24-2005 09:46 AM
LaCie Big Disk configuration on SUN 280R ppass SUN Solaris 0 10-04-2005 03:15 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-08-2004
sdharmap sdharmap is offline
Registered User
  
 

Join Date: Mar 2001
Posts: 17
Question How to rebuild root disk - 280R

Hi!,

We have a SUN Server 280R (2 *36GB) disks. The disk with the root filesystem needs to be replaced! Lots of H/W error messages!

We have the new disk - but how do we go about re-building it!

Is there any document or location where I can get detailed re-build instructions?

Any help will be appreciated greatly!
  #2 (permalink)  
Old 10-08-2004
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
..............

hope you got a mirror, so have a look at:
man luxadm (remove_device & insert_device)
man metareplace

not as difficult as it seems ;-)

greetings pressy
  #3 (permalink)  
Old 10-08-2004
sdharmap sdharmap is offline
Registered User
  
 

Join Date: Mar 2001
Posts: 17
Thanks for the quick response pressy!

No- the disks are not mirrored! This is development and we have only 2 disks!!

We do not have 'metareplace' but I did read the manual pages for 'luxadm' - Any idea where I can get more info/details?

I will look around for more info - Don't mean to be a slacker! but meanwhile it'll be of great help if you can provide more detailed instructions on 'how to do it'!

-- Our situation
Disk 0 -> root + some data
Disk 1 -> data

Disk2 -> New/replacement for Disk0
--

I was thinking something on these lines...

1. Replace Disk1 with Disk2
2. format - label- create partions on Disk2 similar to Disk0
3. ufsdump '/' to mount point under Disk2.
4. Replace Disk2 slot with Disk 1
5. shutdown
6. Replace Disk0 with Disk2
7. Bootup
8. Then what......?


Thanks!
  #4 (permalink)  
Old 10-09-2004
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
......

not a mirror... hmmmm .. that makes it difficult.... your idea to rebuilt the root disk is a good idea....
so lets have a try:

shutdown your server and replace disk1. make a reconfiguration boot, so that solaris know the new disk and i would do that all in single user mode (boot -rs)
yes you have to ajust the partitions... to get the same try:
prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2

the second part of ufsdump(M) is ufsrestore(M), so you can rebuild your data... now you have to install a bootblock, there must be a command called installblk (?), i don't know the path to your bootblock but when i will have time i will have a look on monday at my company...

after that step the system should run again......

if you need more info it will come on monday or thuesday so hold on ;-)

greetings pressy
  #5 (permalink)  
Old 10-11-2004
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
.......

got more information... ;-) the command was installboot(M)

the boot block is under:
/usr/platform/`uname -i`/lib/fs/ufs

to install it type:
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0


greetings pressy
  #6 (permalink)  
Old 10-11-2004
izy100 izy100 is offline
Registered User
  
 

Join Date: Nov 2002
Location: Singapore
Posts: 128
The rebuilding portion is easy. But do you know that 280R uses fiber channel disk? And FC disk has wwn name?

After doing all those pals here mention, if you didn't rename the boot device to the new wwn name, it's likely you can't boot up.
  #7 (permalink)  
Old 10-31-2004
networkfre@k networkfre@k is offline
Registered User
  
 

Join Date: Aug 2004
Location: standing in a Sun 25k, Vienna
Posts: 78
Smile

Yes , Pressy knows that the 280R uses FC-AL Disks..
Just look at his Profile: Solaris Cultist!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0