Справочник Пользователя для American Megatrends MAN-STOR-ITX27-CLI

Скачать
Страница из 60
Chapter One: Overview of CLI 
 
3
Volume Configuration 
 
Initial volume configuration can be done in three stages. 
 
1. RAID Disk Creation 
 
At the base level is the RAID CONTROLLER. 
 
CLI> list   –-type or –t controller 
raid <Enter> 
 
Example: list –t controller raid 
 
This will list the available RAID controllers in the system. By default, Software MD will be shown as a RAID 
controller with controller number “0”. If Hardware RAID controllers present, then they will take precedence 
over Software MD. 
 
CLI> list   –-type or -t PD 
--controllerno or -n 0 
raid <Enter> 
 
Example: list –t pd –n 0 raid 
 
This will list the PD’s that are available for configuration in controller number zero. PD’s can be grouped 
through a RAID level to form a Logical disk – LD. 
 
CLI>create  –-type or -t LD 
–-stripesize or -p 64 
–-diskname or -d /dev/sda (use –d 1 or –d 2…15 on a 3U) 
–-diskname or –d /dev/sdb 
–-diskname or –d /dev/sdc 
–-diskname or –d /dev/sdd 
--raidlevel or –r 0 
--controllerno or –n 0 
--cachemode or –m 3 
raid <Enter> 
 
Example: create –t ld –p 64 –d 1 –d 2 –r 1 –n 0 –m 2 raid 
 
This will create a RAID 1 Logical Disk – LD with 64K-chunk size and two disks on a 3U.  
 
Example: create –t ld –p 64 –d /dev/sda –d /dev/sdb –d  
/dev/sdc –r 5 –n 0 –m 1 raid 
 
This command will crate a RAID 5 Logical disk – LD with 64 k chunk size and three disks on a 1U box. 
 
CLI> list   –-type or –t LD 
raid <Enter> 
 
Example: list –t ld raid 
 
This will list the available RAID LD’s present in the system.