Knowledge Base : Add a disk to Areca raid on Solaris CLI

Get the Command Line Interface Module:

Download cli64.zip at http://www.areca.us/support/s_solaris/cli/x86_64/cli64.zip,http://www.areca.com.tw/support/s_solaris/solaris.htm

Add a disk:

At solaris host:

./cli64
 Copyright (c) 2004 Areca, Inc. All Rights Reserved.
 Areca CLI, Version: 1.82, Arclib: 280, Date: Nov 3 2008( Solaris )
 Controllers List
 ----------------------------------------
 Controller#01(PCI): ARC-1160
 Current Controller: Controller#01
 ----------------------------------------
CLI> disk info
Ch# ModelName Capacity Usage
 1 ST3500641AS 500.1GB Raid Set # 00
 2 ST3500641AS 500.1GB Raid Set # 00
 3 ST3500641AS 500.1GB Raid Set # 00
 4 ST3500641AS 500.1GB Raid Set # 00
 5 ST3500641AS 500.1GB Raid Set # 00
 6 ST3500641AS 500.1GB Raid Set # 00
 7 ST3500641AS 500.1GB Raid Set # 00
 8 ST3500641AS 500.1GB Raid Set # 00
 9 ST3500641AS 500.1GB Raid Set # 00
 10 ST3500641AS 500.1GB Failed
 11 ST3500641AS 500.1GB Raid Set # 00
 12 ST3500641AS 500.1GB Raid Set # 00
 13 ST3500641AS 500.1GB Raid Set # 00
 14 ST3500641AS 500.1GB Raid Set # 00
 15 ST3500641AS 500.1GB Raid Set # 00
 16 ST3500641AS 500.1GB Raid Set # 00
 GuiErrMsg<0x00>: Success.

How to replace a disk

CLI> set curctrl=1 password=0000
 GuiErrMsg<0x00>: Success.

CLI> disk info

Ch# ModelName Capacity Usage
1 ST3500641AS 500.1GB Raid Set # 00
2 ST3500641AS 500.1GB Raid Set # 00
3 ST3500641AS 500.1GB Raid Set # 00
4 ST3500641AS 500.1GB Raid Set # 00
5 ST3500641AS 500.1GB Raid Set # 00
6 ST3500641AS 500.1GB Raid Set # 00
7 ST3500641AS 500.1GB Raid Set # 00
8 ST3500641AS 500.1GB Raid Set # 00
9 ST3500641AS 500.1GB Raid Set # 00
10 ST3500418AS 500.1GB Free
11 ST3500641AS 500.1GB Raid Set # 00
12 ST3500641AS 500.1GB Raid Set # 00
13 ST3500641AS 500.1GB Raid Set # 00
14 ST3500641AS 500.1GB Raid Set # 00
15 ST3500641AS 500.1GB Raid Set # 00
16 ST3500641AS 500.1GB Raid Set # 00
GuiErrMsg<0x00>: Success.
 
CLI> rsf createhs drv=10
GuiErrMsg<0x00>: Success.
CLI> disk info
Ch# ModelName Capacity Usage
1 ST3500641AS 500.1GB Raid Set # 00
2 S500641AS 500.1GB Raid Set # 00
3 ST3500641AS 500.1GB Raid Set # 00
4 ST3500641AS 500.1GB Raid Set # 00
5 ST3500641AS 500.1GB Raid Set # 00
6 ST3500641AS 500.1GB Raid Set # 00
7 ST3500641AS 500.1GB Raid Set # 00
8 ST3500641AS 500.1GB Raid Set # 00
9 ST3500641AS 500.1GB Raid Set # 00
10 ST3500418AS 500.1GB HotSpare
11 ST3500641AS 500.1GB Raid Set # 00
12 ST3500641AS 500.1GB Raid Set # 00
13 ST3500641AS 500.1GB Raid Set # 00
14 ST3500641AS 500.1GB Raid Set # 00
15 ST3500641AS 500.1GB Raid Set # 00
16 ST3500641AS 500.1GB Raid Set # 00
GuiErrMsg<0x00>: Success.
CLI> rsf info
Name Disks TotalCap FreeCap DiskChannels Stateh
Raid Set # 00 15 7500.0GB 0.0GB 123456789GBCDEF Normal
GuiErrMsg<0x00>: Success.
CLI> vsf info
Name Raid Name Level Capacity Ch/Id/Lun State.
GuiErrMsg<0x00>: Success.
#ARC-1160-VOL#00 Raid Set
# 00 Raid1+0 250.0GB 00/00/00 Normal2 ARC-1160-VOL
#01 Raid Set
# 00 Raid6 6066.7GB 00/00/01 Normal.