Operating System - HP-UX
1752806 Members
5510 Online
108789 Solutions
New Discussion

sasmgr split the root mirror

 
Shahul
Esteemed Contributor

sasmgr split the root mirror

Hi,

I have this server, I would like to know how to break the root disk mirror. Please see the server information below.

Server1:/root#model
ia64 hp server rx2660
Server1:/root#uname -a
HP-UX Server1 B.11.23 U ia64 unlimited-user license

Installed these software
# SAS-COMMON B.11.23.0903 Serial SCSI Common product
SAS-COMMON.SAS-COMMON-RUN B.11.23.0903 Serial SCSI Common User Space files
# SAS-SASD B.11.23.1003 PCI-X/PCI-E Serial SCSI (SASD) Driver
SAS-SASD.SAS-SASD-KRN B.11.23.1003 Serial SCSI Driver (SASD) Kernel Module
SAS-SASD.SAS-SASD-RUN B.11.23.1003 Serial SCSI Driver (SASD) User Space Files

Server1:/root#sasmgr get_info -D /dev/sasd0 -q raid

Tue Oct 5 12:14:23 2010

---------- LOGICAL DRIVE 1 ----------

Raid Level : RAID 1
Volume sas address : 0xb01035519e71d09
Device Special File : /dev/rdsk/c0t0d0
Raid State : OPTIMAL
Raid Status Flag : ENABLED
Raid Size : 139898
Rebuild Rate : 0.00 %
Rebuild Progress : 100.00 %

Participating Physical Drive(s) :

SAS Address Enc Bay Size(MB) Type State

0x500000e01bbc24a2 1 8 140014 SECONDARY ONLINE
0x500000e01bbea992 1 7 140014 PRIMARY ONLINE
1 REPLY 1
S. Ney
Trusted Contributor

Re: sasmgr split the root mirror

This is how we did it on an rx6600, the procedure should be the same:
sasmgr get_info -D /dev/sasd1 -q phy=all (just to verify where the disks were located)
sasmgr get_info -D /dev/sasd1 -q target=all
Target SAS Address : 0x73c108c56c36fac (this was the RAID disk)
Target Health : ONLINE
IPort SAS Address : None
Previous IPort SAS Address : None
Target Type : RAID Device
Target Topology : DIRECT
Protocol Capability of Target : SSP
Target Slot : 0xffff
Target Enclosure ID : 0xe0000001ce407180
Target Enclosure Type : UNKNOWN

Target SAS Address : 0x5000c500128ac159
Target Health : ONLINE
IPort SAS Address : 0x500605b0009deab6
Previous IPort SAS Address : 0x0
Target Type : SCSI Device
Target Topology : DIRECT
Protocol Capability of Target : SSP
Target Slot : 0x6
Target Enclosure ID : 0x1
Target Enclosure Type : Direct Attached SGPIO
*********************************************************************
***** HBA Specific information *****
*********************************************************************
Information for target (0x73c108c56c36fac)
Target State : READY

Information for target (0x5000c500128ac159)
Target State : READY


root@lightning:/> sasmgr get_info -D /dev/sasd1 -q lun=all
LUN dsf Hardware Path SAS Address
------------------------------------------------------------------
/dev/rdsk/c0t0d0 0/4/1/0.0.0.0.0 0x5000c500128ac159
/dev/rdsk/c0t1d0 0/4/1/0.0.0.1.0 0x73c108c56c36fac


*********************************************************************

sasmgr delete -D /dev/sasd1 -q raid -q raid_vol=all

WARNING: This is a DESTRUCTIVE operation.
This might result in failure of current I/O requests.
Do you want to continue ?(y/n) [n]...
RAID Volume 7 deleted successfully.
after system reboot re-run the sasmgr info commands. Also verify with ioscan -funC disk