![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1332355.1 : How to use the HW Raid capability on the M3000 SPARC64 VII+ systems
In this Document
Oracle Confidential PARTNER - Available to partners (SUN). Applies to:Sun SPARC Enterprise M3000 Server - Version Not Applicable and laterInformation in this document applies to any platform. GoalHardware RAID is supported only on M3000 servers with SPARC64 VII+ processors. One way to identify the processors your server is to run the showhardconf(8) command. SPARC64 VII+ processors have a clock speed of 2.86 GHz.
The Status column displays the status of each physical disk. Each member disk might be GOOD, indicating that it is online and functioning properly, or it might be FAILED, indicating that the disk has hardware or configuration issues that need to be addressed.
SolutionCreating Hardware RAID VolumesBefore creating any HW volume, it's worth checking if any HW volume already exists. Creating a Hardware Mirrored VolumeCreate the Hardware Volume from Solaris # format
Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c0t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 3. c0t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@3,0
# raidctl
Controller: 0 Disk: 0.0.0 Disk: 0.1.0 Disk: 0.2.0 Disk: 0.3.0 # raidctl -S 0 "LSI_1068E" 0.0.0 GOOD 0.1.0 GOOD 0.2.0 GOOD 0.3.0 GOOD
# raidctl -c c0t0d0 c0t1d0
Creating RAID volume will destroy all data on spare space of member disks, proceed (yes/no)? yes Volume c0t0d0 is created successfully!
scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0):
Physical disk 0 created. scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Physical disk 1 created. scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Volume 0 created. scsi: WARNING: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Volume 0 is degraded scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Physical disk (target 1) is |out of sync||online| scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Volume 0 is |enabled||degraded|
# raidctl -S
0 "LSI_1068E" c0t0d0 2 0.0.0 0.1.0 1 SYNC 0.0.0 GOOD 0.1.0 GOOD 0.2.0 GOOD 0.3.0 GOOD # raidctl -l c0t0d0 Volume Size Stripe Status Cache RAID Sub Size Level Disk ---------------------------------------------------------------- c0t0d0 136.6G N/A SYNC OFF RAID1 0.0.0 136.6G GOOD 0.1.0 136.6G GOOD # format Searching for disks... c0t0d0: configured with capacity of 136.49GB AVAILABLE DISK SELECTIONS: 0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 2. c0t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@3,0
# raidctl -S
0 "LSI_1068E" c0t0d0 2 0.0.0 0.1.0 1 OPTIMAL 0.0.0 GOOD 0.1.0 GOOD 0.2.0 GOOD 0.3.0 GOOD # raidctl -l c0t0d0 Volume Size Stripe Status Cache RAID Sub Size Level Disk ---------------------------------------------------------------- c0t0d0 136.6G N/A OPTIMAL OFF RAID1 0.0.0 136.6G GOOD 0.1.0 136.6G GOOD
scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0):
Physical disk (target 1) is |online| scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Volume 0 is |enabled||resyncing||optimal| scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Volume 0 is |enabled||optimal|
Jun 21 06:35:51 Volume 0 is |enabled||degraded|
Jun 21 06:35:51 Volume 0 is |enabled||resyncing||degraded| Jun 21 07:35:54 Volume 0 is |enabled||resyncing||optimal| Jun 21 07:35:54 Volume 0 is |enabled||optimal|
# format
Searching for disks... c0t0d0: configured with capacity of 136.49GB AVAILABLE DISK SELECTIONS: 0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 2. c0t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@3,0 Specify disk (enter its number): 0 selecting c0t0d0 [disk formatted] Disk not labeled. Label it now? yes FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> type AVAILABLE DRIVE TYPES: 0. Auto configure 1. Quantum ProDrive 80S 2. Quantum ProDrive 105S ... 19. LSILOGIC-LogicalVolume-3000 20. SUN146G 21. other Specify disk type (enter its number)[19]: 0 c0t0d0: configured with capacity of 136.49GB <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> selecting c0t0d0 [disk formatted] format> disk AVAILABLE DISK SELECTIONS: 0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 2. c0t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@3,0 Specify disk (enter its number)[0]: # newfs /dev/rdsk/c0t0d0s6 newfs: construct a new file system /dev/rdsk/c0t0d0s6: (y/n)? y Warning: 816 sector(s) in last cylinder unallocated /dev/rdsk/c0t0d0s6: 286248144 sectors in 46590 cylinders of 48 tracks, 128 sectors 139769.6MB in 2912 cyl groups (16 c/g, 48.00MB/g, 5824 i/g) super-block backups (for fsck -F ufs -o b=#) at: 32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920, Initializing cylinder groups: .......................................................... super-block backups for last 10 cylinder groups at: 285281056, 285379488, 285477920, 285576352, 285674784, 285773216, 285871648, 285970080, 286068512, 286166944 # mkdir /RAID # mount /dev/dsk/c0t0d0s6 /RAID # df -k /RAID Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s6 140957482 139793 139408115 1% /RAID
Create the Hardware Volume from OBP Note : Using the FCode utility may require to set the following variable : {0} ok setenv fcode-debug? true
{6} ok show-devs
/os-io /ramdisk-root [output omitted] /pci@0,600000/pci@0/pci@2/network@0,1 /pci@0,600000/pci@0/pci@2/network@0 /pci@0,600000/pci@0/pci@1/network@0,1 /pci@0,600000/pci@0/pci@1/network@0 /pci@0,600000/pci@0/pci@0/scsi@0 /pci@0,600000/pci@0/pci@0/scsi@0/disk /pci@0,600000/pci@0/pci@0/scsi@0/tape [output omitted] /packages/SUNW,probe-error-handler
{0} ok select /pci@0,600000/pci@0/pci@0/scsi@0
{0} ok show-children
MPT Version 1.05, Firmware Version 1.31.00.00 Target 0 Unit 0 Disk FUJITSU MBD2147RC 3702 286739329 Blocks, 146 GB SASAddress 500000e1163fc8b2 PhyNum 0 Target 1 Unit 0 Disk FUJITSU MBD2147RC 3702 286739329 Blocks, 146 GB SASAddress 500000e1163fca22 PhyNum 1 Target 2 Unit 0 Disk HITACHI H103014SCSUN146GA160 286739329 Blocks, 146 GB SASAddress 5000cca00a025429 PhyNum 2 Target 3 Unit 0 Disk HITACHI H103014SCSUN146GA160 286739329 Blocks, 146 GB SASAddress 5000cca00a02209d PhyNum 3 Target 4 Unit 0 Removable Read Only device TEAC DV-W28S-V J.0B SATA device PhyNum 4
{0} ok show-volumes
No volumes to show
{0} ok 0 1 create-im-volume
Target 0 size is 286607360 Blocks, 146 GB Target 1 size is 286607360 Blocks, 146 GB The volume can be any size from 1 MB to 139945 MB What size do you want? [139945] Volume size will be 286607360 Blocks, 146 GB PhysDisk 0 has been created for target 0 PhysDisk 1 has been created for target 1 Volume has been created
{0} ok show-volumes
Volume 0 Target 0 Type IM (Integrated Mirroring) Degraded Enabled Resync In Progress 2 Members 286607360 Blocks, 146 GB Disk 0 Primary Online Target 8 FUJITSU MBD2147RC 3702 Disk 1 Secondary Online Out Of Sync Target 1 FUJITSU MBD2147RC 3702 {0} ok show-children MPT Version 1.05, Firmware Version 1.31.00.00 Target 0 Volume 0 Unit 0 Disk LSILOGICLogical Volume 3000 286607360 Blocks, 146 GB Target 2 Unit 0 Disk HITACHI H103014SCSUN146GA160 286739329 Blocks, 146 GB SASAddress 5000cca00a025429 PhyNum 2 Target 3 Unit 0 Disk HITACHI H103014SCSUN146GA160 286739329 Blocks, 146 GB SASAddress 5000cca00a02209d PhyNum 3 Target 4 Unit 0 Removable Read Only device TEAC DV-W28S-V J.0B SATA device PhyNum 4
{0} ok unselect-dev
{0} ok boot Boot device: /pci@0,600000/pci@0/pci@0/scsi@0/disk@2,0:a File and args: SunOS Release 5.10 Version Generic_142909-17 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. # raidctl -l c0t0d0 Volume Size Stripe Status Cache RAID Sub Size Level Disk ---------------------------------------------------------------- c0t0d0 136.6G N/A SYNC OFF RAID1 0.0.0 136.6G GOOD 0.1.0 136.6G GOOD Manage a Hardware Mirrored Volume of the Default Boot Deviceraidctl blocks the creation of a hardware RAID volume if any of the member disks currently have a file system mounted. {0} ok boot net -s
# raidctl
Controller: 0 Disk: 0.0.0 Disk: 0.1.0 Disk: 0.2.0 Disk: 0.3.0
# format
Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c0t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 3. c0t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@3,0
# raidctl -c c0t2d0 c0t3d0
Creating RAID volume will destroy all data on spare space of member disks, proceed (yes/no)? y Volume c0t2d0 is created successfully! # raidctl -l c0t2d0 Volume Size Stripe Status Cache RAID Sub Size Level Disk ---------------------------------------------------------------- c0t2d0 136.6G N/A SYNC OFF RAID1 0.2.0 136.6G GOOD 0.3.0 136.6G GOOD
# format
Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c0t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 Specify disk (enter its number): 2 selecting c0t2d0 [disk formatted] FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> type AVAILABLE DRIVE TYPES: 0. Auto configure ... Specify disk type (enter its number)[20]: 0 c0t2d0: configured with capacity of 136.49GB <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> selecting c0t2d0 [disk formatted] format> label Ready to label disk, continue? yes
{0} ok boot net - install
# format
Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c0t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 3. c0t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@3,0
{0} ok show-devs
/pci@1,700000 ... /pci@0,600000/pci@0/pci@0/scsi@0 /pci@0,600000/pci@0/pci@0/scsi@0/disk /pci@0,600000/pci@0/pci@0/scsi@0/tape ... {0} ok select /pci@0,600000/pci@0/pci@0/scsi@0
{0} ok show-children
MPT Version 1.05, Firmware Version 1.31.00.00 Target 0 Unit 0 Disk FUJITSU MBD2147RC 3702 286739329 Blocks, 146 GB SASAddress 500000e1163fc8b2 PhyNum 0 Target 1 Unit 0 Disk FUJITSU MBD2147RC 3702 286739329 Blocks, 146 GB SASAddress 500000e1163fca22 PhyNum 1 Target 2 Unit 0 Disk HITACHI H103014SCSUN146GA160 286739329 Blocks, 146 GB SASAddress 5000cca00a025429 PhyNum 2 Target 3 Unit 0 Disk HITACHI H103014SCSUN146GA160 286739329 Blocks, 146 GB SASAddress 5000cca00a02209d PhyNum 3 Target 4 Unit 0 Removable Read Only device TEAC DV-W28S-V J.0B SATA device PhyNum 4
{0} ok show-volumes
No volumes to show
{0} ok 2 3 create-im-volume Target 2 size is 286607360 Blocks, 146 GB Target 3 size is 286607360 Blocks, 146 GB The volume can be any size from 1 MB to 139945 MB What size do you want? [139945] Volume size will be 286607360 Blocks, 146 GB PhysDisk 0 has been created for target 2 PhysDisk 1 has been created for target 3 Volume has been created
{0} ok show-volumes
Volume 0 Target 2 Type IM (Integrated Mirroring) Degraded Enabled Resync In Progress 2 Members 286607360 Blocks, 146 GB Disk 1 Primary Online Target 8 HITACHI H103014SCSUN146GA160 Disk 0 Secondary Online Out Of Sync Target 3 HITACHI H103014SCSUN146GA160
{0} ok boot net - install
# format
Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c0t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 Specify disk (enter its number): ^D # raidctl Controller: 0 Volume:c0t2d0 Disk: 0.0.0 Disk: 0.1.0 Disk: 0.2.0 Disk: 0.3.0 # raidctl -l c0t2d0 Volume Size Stripe Status Cache RAID Sub Size Level Disk ---------------------------------------------------------------- c0t2d0 136.6G N/A SYNC OFF RAID1 0.2.0 136.6G GOOD 0.3.0 136.6G GOOD # df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t2d0s0 136825259 4434702 131022305 4% /
Jun 21 10:12:50 Volume 2 is resyncing
Jun 21 11:16:54 Volume 2 is |enabled||resyncing||optimal| Jun 21 11:16:54 Volume 2 is |enabled||optimal|
# df -k
Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t2d0s0 136825259 4434702 131022305 4% / # raidctl -l Controller: 0 Volume:c0t2d0 Disk: 0.0.0 Disk: 0.1.0 Disk: 0.2.0 Disk: 0.3.0 # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c0t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0
{0} ok select /pci@0,600000/pci@0/pci@0/scsi@0
{0} ok show-volumes Volume 0 Target 2 Type IM (Integrated Mirroring) Optimal Enabled 2 Members 286607360 Blocks, 146 GB Disk 1 Primary Online Target 8 HITACHI H103014SCSUN146GA160 Disk 0 Secondary Online Target 3 HITACHI H103014SCSUN146GA160
{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 {0} ok show-volumes No volumes to show
{0} ok unselect-dev
{0} ok boot /pci@0,600000/pci@0/pci@0/scsi@0/disk@2,0: Boot device: /pci@0,600000/pci@0/pci@0/scsi@0/disk@2,0: File and args: SunOS Release 5.10 Version Generic_142909-17 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. # raidctl -l Controller: 0 Disk: 0.0.0 Disk: 0.1.0 Disk: 0.2.0 Disk: 0.3.0 # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c0t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@2,0 3. c0t3d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@3,0 Deleting a Hardware RAID VolumeDelete the Hardware Volume from Solaris 1. Check the current configuration and status # raidctl -l c0t0d0
Volume Size Stripe Status Cache RAID Sub Size Level Disk ---------------------------------------------------------------- c0t0d0 136.6G N/A OPTIMAL OFF RAID1 0.0.0 136.6G GOOD 0.1.0 136.6G GOOD
# raidctl -d c0t0d0
Deleting RAID volume c0t0d0 will destroy all data it contains, proceed (yes/no)? yes Array or disk in use. # umount /RAID
bash-3.00# raidctl -d c0t0d0
Deleting RAID volume c0t0d0 will destroy all data it contains, proceed (yes/no)? yes Volume c0t0d0 is deleted successfully! With the following console logs : scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Volume 0 deleted. scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Physical disk 0 deleted. scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Physical disk 1 deleted.
# raidctl
Controller: 0 Disk: 0.0.0 Disk: 0.1.0 Disk: 0.2.0 Disk: 0.3.0
# format
Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 Specify disk (enter its number): 0 selecting c0t0d0 [disk formatted] FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> type AVAILABLE DRIVE TYPES: 0. Auto configure ... Specify disk type (enter its number)[19]: 0 c0t0d0: configured with capacity of 136.71GB <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> selecting c0t0d0 [disk formatted] format> disk AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 Specify disk (enter its number)[0]: 1 selecting c0t1d0 [disk formatted] format> type AVAILABLE DRIVE TYPES: 0. Auto configure ... Specify disk type (enter its number)[19]: 0 c0t1d0: configured with capacity of 136.71GB <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> selecting c0t1d0 [disk formatted] format> disk AVAILABLE DISK SELECTIONS: 0. c0t0d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <FUJITSU-MBD2147RC-3702 cyl 14087 alt 2 hd 24 sec 848> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0
{6} ok show-devs
/os-io /ramdisk-root [output omitted] /pci@0,600000/pci@0/pci@2/network@0,1 /pci@0,600000/pci@0/pci@2/network@0 /pci@0,600000/pci@0/pci@1/network@0,1 /pci@0,600000/pci@0/pci@1/network@0 /pci@0,600000/pci@0/pci@0/scsi@0 /pci@0,600000/pci@0/pci@0/scsi@0/disk /pci@0,600000/pci@0/pci@0/scsi@0/tape [output omitted] /packages/SUNW,probe-error-handler
{0} ok select /pci@0,600000/pci@0/pci@0/scsi@0
{0} ok show-volumes
Volume 0 Target 0 Type IS (Integrated Striping) Optimal Enabled 2 Members 573214720 Blocks, 293 GB Disk 1 Member 0 Online Target 8 FUJITSU MBD2147RC 3702 Disk 0 Member 1 Online Target 1 FUJITSU MBD2147RC 3702
{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
{0} ok show-volumes
No volumes to show {0} ok show-children MPT Version 1.05, Firmware Version 1.31.00.00 Target 0 Unit 0 Disk FUJITSU MBD2147RC 3702 286739329 Blocks, 146 GB SASAddress 500000e1163fc8b2 PhyNum 0 Target 1 Unit 0 Disk FUJITSU MBD2147RC 3702 286739329 Blocks, 146 GB SASAddress 500000e1163fca22 PhyNum 1 Target 2 Unit 0 Disk HITACHI H103014SCSUN146GA160 286739329 Blocks, 146 GB SASAddress 5000cca00a025429 PhyNum 2 Target 3 Unit 0 Disk HITACHI H103014SCSUN146GA160 286739329 Blocks, 146 GB SASAddress 5000cca00a02209d PhyNum 3 Target 4 Unit 0 Removable Read Only device TEAC DV-W28S-V J.0B SATA device PhyNum 4
Activate a Hardware RAID Volume after the MBU replacementThe MBU is hosting the RAID controller so when it's replaced, it's no longer possible to boot off any existing RAID volume until the volume is re-activated from OBP via the OBP command 'activate-volume'. {0} ok probe-scsi-all /pci@0,600000/pci@0/pci@0/scsi@0 MPT Version 1.05, Firmware Version 1.31.00.00 Target 4 Unit 0 Removable Read Only device TEAC DV-W28S-V J.0B SATA device PhyNum 4 {0} ok show-volumes show-volumes ?
{0} ok show-devs
/pci@1,700000 ... /pci@0,600000/pci@0/pci@0/scsi@0/disk ... {0} ok select /pci@0,600000/pci@0/pci@0/scsi@0 {0} ok show-volumes Volume 0 Target 82 Type IM (Integrated Mirroring) Optimal Enabled Inactive 2 Members 585805824 Blocks, 299 GB Disk 1 Primary Online Target 0 FUJITSU MBD2300RC 3702 Disk 0 Secondary Online Target 1 FUJITSU MBD2300RC 3702
{0} ok 0 activate-volume
Volume 0 is now activated {0} ok show-volumes Volume 0 Target 0 Type IM (Integrated Mirroring) Degraded Enabled Resync In Progress 2 Members 585805824 Blocks, 299 GB Disk 1 Primary Online Target 8 FUJITSU MBD2300RC 3702 Disk 0 Secondary Online Out Of Sync Target 1 FUJITSU MBD2300RC 3702
{0} ok 1 activate-volume
Volume 1 is now activated {0} ok 0 activate-volume Volume 0 is now activated
{0} ok unselect-dev
{0} ok probe-scsi-all /pci@0,600000/pci@0/pci@0/scsi@0 MPT Version 1.05, Firmware Version 1.31.00.00 Target 0 Volume 0 Unit 0 Disk LSILOGICLogical Volume 3000 585805824 Blocks, 299 GB Target 4 Unit 0 Removable Read Only device TEAC DV-W28S-V J.0B SATA device PhyNum 4 {0} ok boot Boot device: disk:a File and args: SunOS Release 5.10 Version Generic_142909-17 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. # raidctl -S 0 "LSI_1068E" c0t0d0 2 0.0.0 0.1.0 1 SYNC 0.0.0 GOOD 0.1.0 GOOD # raidctl -l c0t0d0 Volume Size Stripe Status Cache RAID Sub Size Level Disk ---------------------------------------------------------------- c0t0d0 279.3G N/A SYNC OFF RAID1 0.0.0 279.3G GOOD 0.1.0 279.3G GOOD Aug 18 21:07:02 m3000 scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Aug 18 21:07:02 m3000 Physical disk (target 1) is |online| Aug 18 21:07:02 m3000 scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Aug 18 21:07:02 m3000 Volume 0 is |enabled||resyncing||optimal| Aug 18 21:07:02 m3000 scsi: /pci@0,600000/pci@0/pci@0/scsi@0 (mpt0): Aug 18 21:07:02 m3000 Volume 0 is |enabled||optimal| bash-3.00# raidctl -l c0t0d0 Volume Size Stripe Status Cache RAID Sub Size Level Disk ---------------------------------------------------------------- c0t0d0 279.3G N/A OPTIMAL OFF RAID1 0.0.0 279.3G GOOD 0.1.0 279.3G GOOD Attachments This solution has no attachment |
||||||||||||||||||||||||||||||||||||
|