Disk name
Normally the disk will reside in a disk enclosure, In dish self disk should be like 2a.17 depending on the type of disk enclosure.
Disk Types
Data : Holds data stored within the RAID group
Spare : Does not hold usable data but is available to be added to a RAID group in an aggregate,
Disk Commands
Display
> disk show
> disk show <disk_name>
disk_list
> sysconfig -r
> sysconfig -d
// list all unnassigned/assigned disks
disk show -n
disk show -a
Adding (assigning)
Add a specific disk to pool1 the mirror pool
disk assign <disk_name> -p 1
// Assign all disk to pool 0, by default they are assigned to pool 0 if the "-p"
// option is not specified
> disk assign all -p 0
Remove (spin down disk)
Reassign
> disk reassign -d <new_sysid>
Maintanence
> disk maint start -d <disk_list>
> disk maint abort <disk_list>
> disk maint list
> disk maint status
Note: you can test the disk using maintain mode
swap a disk
> disk swap
> disk unswap
Note: it stalls all SCSI I/O until you physically replace or add a disk,
can used on SCSI disk only.
Statisics
disk_stat <disk_name>
Simulate a pulled disk
disk simpull <disk_name>
Simulate a pushed disk
Normally the disk will reside in a disk enclosure, In dish self disk should be like 2a.17 depending on the type of disk enclosure.
- 2a = SCSI adapter
- 17 = 17th disk in the row
Disk Types
Data : Holds data stored within the RAID group
Spare : Does not hold usable data but is available to be added to a RAID group in an aggregate,
also known as a hot spare
Parity : Store data reconstruction information within the RAID group
dParity : Stores double-parity information within the RAID group, if RAID-DP is enabled
These are type of disks in filler
Parity : Store data reconstruction information within the RAID group
dParity : Stores double-parity information within the RAID group, if RAID-DP is enabled
These are type of disks in filler
DISK TYPE
|
RAID-DP
|
RAID4
|
ATA/BSAS/SATA
Maximum
|
16
|
7
|
FC/SAS
Maximum |
28
|
14
|
ATA/BSAS/SATA
Default |
14
|
4
|
FC/SAS
Default
|
16
|
7
|
ATA/BSAS/SATA
Minimum |
3
|
2
|
FC/SAS
Minimum
|
3
|
2
|
Disk Commands
Display
> disk show
> disk show <disk_name>
disk_list
> sysconfig -r
> sysconfig -d
// list all unnassigned/assigned disks
disk show -n
disk show -a
Adding (assigning)
Add a specific disk to pool1 the mirror pool
disk assign <disk_name> -p 1
// Assign all disk to pool 0, by default they are assigned to pool 0 if the "-p"
// option is not specified
> disk assign all -p 0
Remove (spin down disk)
> disk remove <disk_name>
> disk reassign -d <new_sysid>
Replace
> disk replace start <disk_name> <spare_disk_name>
> disk replace stop <disk_name>
Note: when data copying from the one disk to another disk (like failed disk to spare disk), you can stop this process using the stop command
Zero spare disks
> disk zero spares
fail a disk
> disk fail <disk_name>
Scrub a disk
> disk scrub start
> disk scrub stop
Sanitize
Note: the release modifies the state of the disk from sanitize to spare.
Sanitize requires a license.
> disk sanitize start <disk list>
> disk sanitize abort <disk_list>
> disk sanitize status
> disk sanitize release <disk_list>
> disk replace start <disk_name> <spare_disk_name>
> disk replace stop <disk_name>
Note: when data copying from the one disk to another disk (like failed disk to spare disk), you can stop this process using the stop command
Zero spare disks
> disk zero spares
fail a disk
> disk fail <disk_name>
Scrub a disk
> disk scrub start
> disk scrub stop
Sanitize
Note: the release modifies the state of the disk from sanitize to spare.
Sanitize requires a license.
> disk sanitize start <disk list>
> disk sanitize abort <disk_list>
> disk sanitize status
> disk sanitize release <disk_list>
Maintanence
> disk maint start -d <disk_list>
> disk maint abort <disk_list>
> disk maint list
> disk maint status
Note: you can test the disk using maintain mode
swap a disk
> disk swap
> disk unswap
Note: it stalls all SCSI I/O until you physically replace or add a disk,
can used on SCSI disk only.
Statisics
disk_stat <disk_name>
Simulate a pulled disk
disk simpull <disk_name>
Simulate a pushed disk
disk simpush -l
disk simpush <complete path of disk obtained from above command>
Example
> disk simpush -l
The following pulled disks are available for pushing:
v0.16:NETAPP__:VD-1000MB-FZ-520:14161400:2104448
> disk simpush v0.16:NETAPP__:VD-1000MB-FZ-520:14161400:2104448
Please write your valuable comments, About This Blogspot.
disk simpush <complete path of disk obtained from above command>
Example
> disk simpush -l
The following pulled disks are available for pushing:
v0.16:NETAPP__:VD-1000MB-FZ-520:14161400:2104448
> disk simpush v0.16:NETAPP__:VD-1000MB-FZ-520:14161400:2104448
Please write your valuable comments, About This Blogspot.
No comments:
Post a Comment