Disk controller reassignment


 
Thread Tools Search this Thread
Operating Systems Solaris Disk controller reassignment
# 1  
Old 06-07-2013
Wrench Disk controller reassignment

Hi

The scenario in the oracle t4-1 hardware with solaris 10 is as follows:

1. The initial install on the server was performed with an incorrect disk layout.
2. New disks were ordered and slot into the server.
3. The disks are allocated a controller and a disk number based on the disk or replacement disk WWN.
4. This allocation is dependent on the disk not on the slot.
5. The install on the server requires the slots and the controller and the disk allocation to be different than the original install
6. The disk allocation is at a lower level than the operating system and despite several installs of the operating system and attempts to manual configure/unconfigure the disks this has not been possible

I need to reassign the controller numbers for my disks.

Currently, they are like this:
Code:
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t5000CCA03C3B0B70d0 <HITACHI-H106030SDSUN300G-A2B0 cyl 46873 alt 2 hd 20 sec 625>  solaris
          /scsi_vhci/disk@g5000cca03c3b0b70
       1. c0t5000CCA03C3F98F8d0 <SUN600G cyl 64986 alt 2 hd 27 sec 668>
          /scsi_vhci/disk@g5000cca03c3f98f8
       2. c0t5000CCA03C34EB5Cd0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
          /scsi_vhci/disk@g5000cca03c34eb5c
       3. c0t5000CCA03C407F48d0 <SUN600G cyl 64986 alt 2 hd 27 sec 668>
          /scsi_vhci/disk@g5000cca03c407f48
       4. c0t5000CCA03C374828d0 <SUN600G cyl 64986 alt 2 hd 27 sec 668>
          /scsi_vhci/disk@g5000cca03c374828
       5. c0t5001517BB2856A03d0 <ATA-INTELSSDSA2BZ30-0362 cyl 35769 alt 2 hd 128 sec 128>
          /scsi_vhci/disk@g5001517bb2856a03
       6. c0t5001517BB285698Bd0 <ATA-INTELSSDSA2BZ30-0362 cyl 35769 alt 2 hd 128 sec 128>
          /scsi_vhci/disk@g5001517bb285698b
       7. c0t5001517BB2856946d0 <ATA-INTELSSDSA2BZ30-0362 cyl 35769 alt 2 hd 128 sec 128>
          /scsi_vhci/disk@g5001517bb2856946
Specify disk (enter its number): ^C

but I would like them to be like this:
Code:
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t5000CCA03C3B0B70d0 <HITACHI-H106030SDSUN300G-A2B0 cyl 46873 alt 2 hd 20 sec 625>  solaris
          /scsi_vhci/disk@g5000cca03c3b0b70
       1. c0t5000CCA03C34EB5Cd0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
          /scsi_vhci/disk@g5000cca03c34eb5c
       2. c0t5000CCA03C3F98F8d0 <SUN600G cyl 64986 alt 2 hd 27 sec 668>
          /scsi_vhci/disk@g5000cca03c3f98f8
       3. c0t5000CCA03C407F48d0 <SUN600G cyl 64986 alt 2 hd 27 sec 668>
          /scsi_vhci/disk@g5000cca03c407f48
       4. c0t5000CCA03C374828d0 <SUN600G cyl 64986 alt 2 hd 27 sec 668>
          /scsi_vhci/disk@g5000cca03c374828
       5. c0t5001517BB2856A03d0 <ATA-INTELSSDSA2BZ30-0362 cyl 35769 alt 2 hd 128 sec 128>
          /scsi_vhci/disk@g5001517bb2856a03
       6. c0t5001517BB285698Bd0 <ATA-INTELSSDSA2BZ30-0362 cyl 35769 alt 2 hd 128 sec 128>
          /scsi_vhci/disk@g5001517bb285698b
       7. c0t5001517BB2856946d0 <ATA-INTELSSDSA2BZ30-0362 cyl 35769 alt 2 hd 128 sec 128>
          /scsi_vhci/disk@g5001517bb2856946
Specify disk (enter its number): ^C

i.e. i want to swap around the position of disk 1 and disk 2.

Does anyone know how to do this?
# 2  
Old 06-07-2013
I'm not at all sure that I understand what you are trying to do having re-read your post twenty times.

Why do you care what order the drives are?

Is this the scenario? You installed a server and then decided that the disk drives needed changing for some reason? You put a completely new set of drives in the server and restored the original installation from backup but it won't run???? Is that it?

Also, what are the filesystems? ufs, zfs or what?
# 3  
Old 06-07-2013
Hi hicksd8,

Thanks for the reply.
Its a zfs server and the factory install was done using an incorrect disk configuration (two 600gb disks and two 300gb disks). By the time the server got to me, I needed to reinstall solaris with the correct number of disks, so i added three 300gbSSD disks (for a sybase db) and another 600gb disk for the hotspare pool.

However the solaris install puts the root disk on disk0 (300gb) but at the end of the solaris sys-unconfig, the svm defines disk1 (600gb) as the root mirror.
Ideally, i need my 300gb root disk mirrored to another 300gb disk.

I've moved around the disks physically and tried cfgadm, but no luck.
Do you have any ideas?
# 4  
Old 06-07-2013
So are you restoring data from the original installation or is this a completely new build with the new disks?

NOTE TO MODERATORS: Can you please move this thread to mainstream Solaris forum. The OP is in hardware but it's actually a configuration issue. We need members with the right skills to see this.
# 5  
Old 06-07-2013
Hi,

Its a completely new build...
# 6  
Old 06-07-2013
@hicksd8
Quote:
I'm not at all sure that I understand what you are trying to do having re-read your post twenty times.
You are not alone Smilie

@kerrygold
Is it zfs mirror?
Why don't you just detach submirror, and attach other 300GB disk?
Please post output from
Code:
# zpool status rpool

# 7  
Old 06-08-2013
Hey, I just had another thought on this.

You say that the platform is a T4-1 and this box usually has a built-in hardware raid controller. You seem to be saying that the 'factory' install mirrored the first two slots, which is normal for factory setup.

Does your box have a built-in hardware raid controller?

If so, could that be the reason the first two slots are mirrored??

If so, you can break that mirror with the raid tools and create another mirror of your choice.

I may be completely wrong on this but you need to check it out.
(Google "T4-1 RAID")
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sun Fire v440 Hard disk or controller broken? WARNING: /pci@1f,700000/scsi@2/sd@0,0 (sd1)

Hi, I have a Sun Fire V440 server that fails to boot up correctly. A lot of services are not started and the sytems acts really slow to commands. During boot I can see the following Error: WARNING: /pci@1f,700000/scsi@2/sd@0,0 (sd1): SCSI transport failed: reason 'reset': retrying... (15 Replies)
Discussion started by: oliwei
15 Replies

2. Solaris

Changed disk controller -> drops into GRUB?!

I changed disk controller. Unplugged every disk, inserted another controller card, an IBM M1015. The disks are recognized in BIOS, and the controller card's BIOS shows up. But after that, I drop into GRUB and a prompt. That is all. How shall I solve this problem? I am thinking of booting from... (2 Replies)
Discussion started by: kebabbert
2 Replies

3. SCO

Change Disk controller in SCO 6.0.0

So today I tried to upgrade a customer from a Proliant with an HPSAS controller to an Intel server with a MEGASAS controller. First, I downloaded the megasas driver from SCO and installed it on the old system. Then I created a new Microlite Edge emergency boot cd with the new driver on it. I... (2 Replies)
Discussion started by: jgt
2 Replies

4. Solaris

Help needed to find out the disk controller for veritas disks

hi all i am using vxvm 5.1 on my sun blade 150 which is running with solaris 5.10. When i give the command "vxdisk list" it gives the following output # vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online... (2 Replies)
Discussion started by: kingston
2 Replies

5. SCO

SCO 5.0.7 no root disk controller found error during install

I'm "attempting" to install SCO 5.0.7 on an HP ML370 G4 server and am ready to bash the keyboard with head now. I keep getting the error message "WARNING hd: no root disk controller found" when running the bootable install cd. I have a raid 5 array with an online spare created using 4 36.3 GB... (2 Replies)
Discussion started by: FrictionBurn
2 Replies

6. HP-UX

[Joy Share] - Replace an unknown status controller on HP FC60 disk array

Replace an unknown status controller on HP FC60 disk array Author:JoyOnline JoyChangLu@gmail.com Trouble description: The users detected that the status of controller at A is unknown. Analysis and diagnostic: Physical observed all leds on enclosure of disk array is normal. The... (4 Replies)
Discussion started by: JoyOnLine
4 Replies

7. SCO

Warning HD: no root disk controller was found

hi... i hav a problem to install sco unix while installing sco unix 5.0.5 in acer altos with hardware raid am getting error "Warning HD: no root disk controller was found system error 5: while getting fs type flushing controller: DAC960PRL cache done." i hav use the following... (18 Replies)
Discussion started by: mselvaprakash
18 Replies

8. Solaris

changing controller name

Dear Solarizer, If i have a disk let say like this c1t0d0s0 How to change the controller to be come example : c3t0d0s0 Thanxs For your replay Regads, tpx (3 Replies)
Discussion started by: tpx99
3 Replies

9. Solaris

Controller target disk?

Hi, I am a newbie to Solaris. I want to know how to find out the controller target and disk number on a SunFire V890 box that has 6X72GB disks. The probe-scsi output is as shown below: /pci@8,600000/SUNW,qlc@2 LiD HA LUN --- Port WWN --- ----- Disk description ----- 0 0 0 ... (1 Reply)
Discussion started by: sudhir_shet
1 Replies

10. UNIX for Advanced & Expert Users

Controller Naming

Hello all, How does the Solaris identifies the controller subscript ? ( like c0txdxs0 or c1txdxsx ?? ) I have a unix box ( Ultra 30) running with 2.5.1. When I connected an external hard disk to the on-board scsi port, it got identified as c0t1dxsx... (... (1 Reply)
Discussion started by: shibz
1 Replies
Login or Register to Ask a Question