t2000 raid HW: detach disk and reattach?

hello all,

on T2000, disk 0 and disk 1 are mirrored:

# raidctl -l

RAIDVolume RAIDRAIDDisk

Volume TypeStatus DiskStatus

c0t0d0 IMOK c0t0d0 OK

c0t1d0 OK

Now, i want to break the mirror, and the idea is to mount the second disk on other T2000, then re-create the mirror. So i did the following steps:

- delete the mirror

# raidctl -d c0t0d0

# raidctl

No RAID volumes found

- as format don't see the second disk, i used devfsadm -v -c disk to re-create links in /dev/dsk

- then i mount the second disk without problem

- finally, i reinserted the second disk in t2000 and tried to re-create raid volume:

AVAILABLE DISK SELECTIONS:

0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>

/pci@780/pci@0/pci@9/scsi@0/sd@0,0

1. c0t1d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>

/pci@780/pci@0/pci@9/scsi@0/sd@1,0

# raidctl -c c0t0d0 c0t1d0

Cannot create RAID volume, disk "c0t0d0" is mounted .

What's the matter with c0t0d0? Does it mean that, if you break the mirror, it is impossible to re-create it, except reinstalling OS? This problem seems to appear only in T2000

thanks in advance,

gerard

[1285 byte] By [latp2006a] at [2007-11-27 3:56:12]
# 1

Hello Gerard,

# raidctl -c c0t0d0 c0t1d0

Cannot create RAID volume, disk "c0t0d0" is mounted .

What's the matter with c0t0d0? Does it mean that, if you break the mirror, it is impossible to re-create it, except reinstalling OS? This problem seems to appear only in T2000.

As the error message clearly states, you can't mirror a disk after it is mounted.

Please review the following thread

http://forum.java.sun.com/thread.jspa?threadID=5165318

The poster didn't return. That's a pity and waste of time, but very common as you can see in the following thread

http://forum.java.sun.com/thread.jspa?threadID=5117369&messageID=9404322

I would recommend that you get Sun involved (maybe paid support) or carefully re-read the product documentation.

I agree that there has to be a procedure to replace a failed mirrored disk in a RAID volume without loosing the data.

Indeed there is a procedure. I took me just a few minutes to review the public documentation and locate the document:

[url=http://www.sun.com/products-n-solutions/hardware/docs/html/819-2549-12/ont ario-volume_man.html#37005]To Perform a Mirrored Disk Hot-Plug Operation[/url]

Michael

MAALATFTa at 2007-7-12 9:00:24 > top of Java-index,Sun Hardware,Servers - General Discussion...
# 2

sorry for this late reply.

Yes, i paid support, and that was support that helps me to have a workaround to this problem.

To re-create RAID1 HW, i have to:-

- go to prompt ok

{0} ok 0 delete-volume

The volume and its data will be deleted

Are you sure (yes/no)? [no] yes

Volume 0 has been deleted

In my case, my data were not deleted!

- just re-create volumes:

select /pci@780/pci@0/pci@9/scsi@0

0 1 create-im-volume

this works for me, even it is not supported...

thanks for help,

gerard

latp2006a at 2007-7-12 9:00:24 > top of Java-index,Sun Hardware,Servers - General Discussion...
# 3
Hello Gerard,thank you for the update !Michael
MAALATFTa at 2007-7-12 9:00:24 > top of Java-index,Sun Hardware,Servers - General Discussion...