Working with releasing a container’s cache buffers, Working with releasing a container’s cache, Buffers 9-25 – HP NetRAID-4M Controller User Manual
Page 233

9-25
Modifying Containers
column indicates None, which means no file system resides on
container 0.
HPN0> container list
Executing: container list
Cluster Num Total Oth Stripe Scsi Partition
Dr Partner Label Type Size Ctr Size Usage C:ID:L Offset:Size
-- ------- ----- ------ ------ --- ------ ------- ------ -------------
0 0 Volume 100MB None 2:01:0 64.0KB: 100MB
To enable a container’s NVRAM write-back cache, use the
container set cache
command with the /write_cache_enable
switch, as in the following example. In the example, the
/write_cache_enable=TRUE
switch enables the write-back cache on
container 0. The /unprotected=FALSE switch enables the NVRAM
write-back cache only if a battery is present and its status is Ok.
HPN0> container set cache /write_cache_enable=TRUE
/unprotected=FALSE 0
Executing: container set cache /write_cache_enable=TRUE
/unprotected=FALSE 0
After running the
container set cache
command to enable a
container’s NVRAM write-back cache, use the
container show
cache
command to display information about the container’s
cache, as in the following example. In the example, the Write Cache
Setting
item indicates ENABLE WHEN PROTECTED, which
means that the container’s NVRAM write-back cache is enabled if a
battery is present and its status is OK.
HPN0> container show cache 0
Executing: container show cache 0
Global Container Read Cache Size
: 81920
Global Container Write Cache Size
: 27729920
Read Cache Setting
: ENABLE
Write Cache Setting
: ENABLE WHEN PROTECTED
Write Cache Status
: Active, protected
Working with Releasing a Container’s Cache Buffers
The CLI allows you to release the cache buffers associated with a
container.