The sNewVolumeSetCap
structure contains information about to modify a volumeset.
typedef
struct _NEW_VOLUMESET_CAP { DWORD
structs_size; BYTE vol; char newVolname[16]; double newCapacity; BYTE newRaidlevel; BYTE newStripsize; BYTE newChannel; BYTE newId; BYTE newLun; BYTE newTag; BYTE newCache; BYTE
newSpeed; BYTE newChMask; BYTE newWriteprotect; BYTE newDirectio; }sNewVolumeSetCap, *pNewVolumeSetCap; |
structs_size
size of _VOLUMESET_CAP structure
vol
Volumeset number to be modified
newVolname
16 bytes volumeset name. if newVolname[0] == ‘\
newCapacity
New volumeset capacity size ( in GB ),
if newCapacity == 0, do not modify this field
newRaidlevel
Value |
Meaning |
0 |
Striping |
1 |
Mirror |
2 |
Raid level 3 |
3 |
Raid level 5 |
4 |
Raid level 6 |
5 |
Pass-through |
0xFF |
Do not modify this field |
newStripsize
Value |
Meaning |
0 |
4K bytes |
1 |
8K bytes |
2 |
16K bytes |
3 |
32K bytes |
4 |
64K bytes |
5 |
128K bytes |
6 |
256K bytes |
7 |
512K bytes |
8 |
1024K bytes |
0xFF |
Do not modify this field |
newChannel
Value |
Meaning |
0/1 |
SCSI channel |
0x80 |
SCSI channel mapping |
0xFF |
Do not modify this field |
newId
Value |
Meaning |
0~15 |
SCSI ID |
0xFF |
Do not modify this field |
newLun
Value |
Meaning |
0~7 |
SCSI LUN |
0xFF |
Do not modify this field |
newTag
Value |
Meaning |
0 |
Queue disabled |
1 |
Queue enabled |
0xFF |
Do not modify this field |
newCache
Value |
Meaning |
0 |
Cache disabled |
1 |
Cache enabled |
0xFF |
Do not modify this field |
newSpeed
Value |
Meaning |
|
IDE |
SCSI |
|
0 |
ATA33 |
Async |
1 |
ATA66 |
20 |
2 |
ATA100 |
40 |
3 |
ATA133 |
80 |
4 |
ATA150 |
160 |
0xFF |
Do not modify this field |
Do not modify this field |
newChMask
New channel mask for SCSI Channel Mapping, bit0 for ch#0, bit1
for ch#1…etc.,
This value
is valid only for newChannel == 0x80, If newChMask ==
0xFFFFFFFF, do not modify this field.
newWriteprotect
Value |
Meaning |
0 |
Write protection disabled |
1 |
Write protection enabled |
0xFF |
Do not modify this field |
newDirectio
Value |
Meaning |
0 |
Cached IO |
1 |
Direct IO |
0xFF |
Do not modify this field |
Requirements
Header |
arclib.h |
Include |
arclib.h |
See Also