Raidctl - Sun T5240 Solaris 10 Problem


 
Thread Tools Search this Thread
Operating Systems Solaris Raidctl - Sun T5240 Solaris 10 Problem
# 1  
Old 04-28-2010
Raidctl - Sun T5240 Solaris 10 Problem

I tried using raidctl earlier today to use my 2 disks in a RAID1 setup and I totally destroyed my OS install. I'm sure I did something funky and it freaked out. No big deal...right?

This is what I was seeing after a reboot.

Quote:
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
Corrupt label - bad geometry

Label says 286718976 blocks; Drive says 286607360 blocks
I decided to just reinstall the OS. It let me go through all of the setup stuff and when it wanted to start installing the OS files I got this message.

Quote:
One or more disks are found, but one of the
following problems exists:

Hardware failure
Unformatted disk.
The server then dropped me to a # command line. I ran format command and saw only one disk showing as a volume, which I believe is what I needed to do for RAID1 setup anyway (create a volume). So I ran format selected the volume and format again to wipe the drive and its been formatting for over 4 hours and all i keep seeing is an incrementing number that started at 0/0/0 but it has taken 4 hours to get from 0/0/0 to 23,000ish/0/0. Is this normal? Have I totally destroyed the disks? Should I be doing something else? I have read a ton of posts and I'm pretty lost at this point. I'm going to let the drive format overnight but I'm scared it will still be doing this in the morning or something crazy.

Any help would be great... Smilie

Last edited by kingdbag; 04-28-2010 at 08:29 PM..
# 2  
Old 04-28-2010
I would download a SPARC version of Linux and try to use the one of its disk tools to format the disk and then installing Solaris. I would also double check to make sure raidctl supports your RAID controller before attempting another hardware mirror. Is there any reason you are shying away from RAID1 using a zpool or SVM volume?
# 3  
Old 04-29-2010
just let us know how you configured the raid. boot to single user from the solaris dvd and at the shell post the output of:

Code:
# raidctl -l

and
Code:
# raidctl -l <volumename>

# 4  
Old 04-29-2010
Well I think I got it working now, so I will just post what I had to do for anyone else who needs it.

I came in this morning and the server was still scrolling the numbers like I posted above about my format command. It got to like 47000/12/112 and I decided to just power down the server and take my chances. I've never seen those numbers scroll like that on a Solaris format before. I have no clue what the heck that was, but it obviously wasn't formatting since I let it do it's thing for about 18 hours.

Power cycled and it brought me back to -> prompt (which was odd)

Quote:
start SYS
start /SP/console
at ok prompt

Quote:
boot cdrom -s
Once I got to single user mode I checked to see if my drives still said formatted and they did which was good. I then deleted my raid volume.

Quote:
raidctl -d c1t0d0
It said successfully deleted but when I did a format I was expecting to see both disk show up as they normally would but it still said it was in a raid volume (i have on idea why). I just decided to try and create the raid over again...

Quote:
raidctl -c -r 1 c1t0d0 c1t1d0
It said successfully created and when I went in to format it... it was there as it was before. But this time it let me format>type>0 and it also then me format>label>yes before I deleted the raid it wouldn't let me label the drive saying the VTOC was all messed up.

Quote:
format>type>0
format>label>yes
I forgot to check the raid and make sure it said RAID1 and it was sync'd but I got kind of excited it let me label the volume and just rebooted like an ass. I would def check the raid before continuing to make sure its setup the way you want it.

Quote:
raidctl -l
raidctl -S
I then rebooted and started boot cdrom - nowin

Quote:
reboot
at -> prompt

Quote:
start /SP/console
at ok

Quote:
boot cdrom - nowin
Install worked now and everything seems to be running fine...

Quote:
bash-3.00# raidctl -l c1t0d0
Volume Size Stripe Status Cache RAID
Sub Size Level
Disk
----------------------------------------------------------------
c1t0d0 136.6G N/A OPTIMAL OFF RAID1
0.0.0 136.6G GOOD
0.1.0 136.6G GOOD
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Bizarre Sun T5240 behavior

Hi - I have a T5240 with 7 LDOMS configured. One night, network comm was broken somehow. Nobody was doing anything on the machine at the time. Here is what I saw in messages: WARNING: nxge3 : nxge_dma_mem_alloc: ddi_dma_mem_alloc kmem alloc failed WARNING: nxge3 : nxge_alloc_rx_buf_dma:... (2 Replies)
Discussion started by: pyroman
2 Replies

2. Solaris

SUN SPARC rebooting problem, after Solaris 10 installation

Hi All, I had install the solaris 10 into the SUNFIRE V890 server, after installed, it keep rebooting. I wish to enter the OK mode again, and install back the Solaris 10. i had try the "break" button and "stop+A" button, but all fail. kindly advice... (4 Replies)
Discussion started by: SmartAntz
4 Replies

3. UNIX for Dummies Questions & Answers

Problem in GUI based program on Sun Solaris

Hello! I am trying to run a program which has used Xlib for its graphical user interface on Solaris through Common Desktop Environment(CDE). All I get is my three required widows open but all blank.They suppose to show some symbols, pictures ad buttons.In the command terminal the following... (1 Reply)
Discussion started by: asif92
1 Replies

4. Solaris

SUN T5240 vs M3000

Hi, We are planning to buy new server for our data center. Sun T5240 or M3000 which one have better performance, we are going to create many dt sessions in this server. So, i need your suggestions. RJS (4 Replies)
Discussion started by: rajasekg
4 Replies

5. UNIX for Advanced & Expert Users

Solaris 10 Raidctl

Hello World: Recently I ran into an issue where a collegue had installed a Sun T5140 with twin 136GB disks in them. However, he forgot to execute the raidctl command first to mirror c1t0d0 to c1t1d0 boo hoo:) So along I come and try to mirror the disks by booting to sigle user... (1 Reply)
Discussion started by: rambo15
1 Replies

6. Solaris

raidctl on SUN T5240

Setting up a T5240 with two disks c1t0d0 and c1t1d0. I am trying to use raidctl but when I issue. raidctl -l I get Controller 1 Disk: 0.0.0 Disk: 0.1.0 So I try raidctl -c '0.0.0 0.1.0' -r 1 1 and I get "Array in use." I try (4 Replies)
Discussion started by: photon
4 Replies

7. Solaris

Problem after Install SUN solaris x86

after install solaris x86 on my computer success, but it can't boot. When the machine start, and i choose option 1 - default, it shows "W" on screen and system restart . Anyone can help me. My computer : dual core - 1gb ram - x86 (7 Replies)
Discussion started by: quan0509
7 Replies

8. UNIX for Dummies Questions & Answers

Sun Solaris 10: How do I create a bootup disc? The Sun website confuses me

Hey there, I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies

9. Solaris

boot problem in Installation i86 sun solaris

Hello everybody, I installed sun solaris i86 , the programme installation install the "Mini Root" and after that he doing shutdown. the camputer coming up and he can't boot. how i can to resuled this problem ??? Thenk you in advence..... (2 Replies)
Discussion started by: yanly
2 Replies
Login or Register to Ask a Question