SPARC T4 RAID Setup (ZT)

http://www.confignotes.com/2013/09/sparc-t4-raid-setup/

How to configure a RAID volume with the internal Hard Drives on Oracle/SUN SPARC T4-1 and T4-2.

The RAID setup procedure below was tested in SPARC T4-1. This procedure also works on Netra SPARC T4-1 and T4-2.

1. At the Oracle ILOM prompt, disable auto-boot:

-> set /HOST/bootmode script=”setenv auto-boot? false” 
Set ‘script’ to ‘setenv auto-boot? false
2. Boot the system to OpenBoot PROM ({0} ok Prompt):

-> start /SYS 
Are you sure you want to start /SYS (y/n)? y 
Starting /SYS

-> start /SP/console 
Are you sure you want to start /SP/console (y/n)? y

Serial console started. To stop, type #. 
… 
auto-boot? = false 
{0} ok

 

3. View the preconfigured aliases:

{0} ok devalias

…..

scsi0 should be the alias for /pci@400/pci@1/pci@0/pci@4/scsi@0 
and 
scsi1 should be the alias for /pci@400/pci@2/pci@0/pci@4/scsi@0

……

4. Select scsi0 (HDD attached to SCSI0):

{0} ok select scsi0

Note: To Unselect a device: 
{0} ok unselect-dev

5. View HDDs attached to scsi0:

{0} ok show-children

FCode Version 1.00.61, MPT Version 2.00, Firmware Version 9.00.00.00

Target 9 
Unit 0 Disk HITACHI H109030SESUN300G A31A 585937500 Blocks, 300 GB 
SASDeviceName ….. PhyNum 0 
Target a 
Unit 0 Disk HITACHI H109030SESUN300G A31A 585937500 Blocks, 300 GB 
SASDeviceName ….. PhyNum 1

6. Create RAID 1, Mirror RAID for example:

{0} ok 9 a create-raid1-volume 
Target 9 size is 583983104 Blocks, 298 GB 
Target a size is 583983104 Blocks, 298 GB 
The volume can be any size from 1 MB to 285148 MB 
What size do you want? [285148] 
Volume size will be 583983104 Blocks, 298 GB 
Enter a volume name: [0 to 15 characters] RAID1Demo 
Volume has been created

7. Verify new RAID1 Volume:

{0} ok show-volumes 
Volume 0 Target 381 Type RAID1 (Mirroring) 
Name RAID1Demo WWID 0c88478f6c67b46b 
Optimal Enabled Volume Not Consistent Background Init In Progress 
2 Members 583983104 Blocks, 298 GB 
Disk 0 
Primary Optimal 
Target 9 HITACHI H109030SESUN300G A31A PhyNum 0 
Disk 1 
Secondary Optimal 
Target a HITACHI H109030SESUN300G A31A PhyNum 1

FCode Commands:

show-children Lists all connected physical drives and logical volumes. 
show-volumes Lists all connected logical volumes in detail. 
create-raid0-volume Creates a RAID 0 volume (minimum two targets). 
create-raid1-volume Creates a RAID 1 volume (exactly two targets). 
create-raid1e-volume Creates a RAID 1e volume (minimum three targets). 
delete-volume Deletes a RAID volume. 
activate-volume Re-activate a RAID volume after the motherboard has been replaced.

Usage Example: 0 delete-volume, where 0 is volume 0

转载于:https://www.cnblogs.com/cqubityj/p/3414383.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值