R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

26
Task Command
Remarks
Partition a storage medium fdisk device [ partition-number ]
By default, only one partition cf0:/
is available on a CF card.
Displaying and maintaining the NAND flash memory
The following matrix shows the feature and firewall compatibility:
Feature F1000-A-EI/S-EI
F1000-E
F5000 Firewall module
Displaying and maintaining the
NAND flash memory
Yes No No No
The physical space of the NAND flash memory is divided into multiple blocks, each of which is
subdivided into multiple pages. The NAND flash memory is erased on a block basis and read on a page
basis; the memory spaces are allocated on a page basis.
Displaying and repairing bad blocks
Bad block ratio varies with products of different vendors. Bad blocks cannot be used to store data, and
the system has to skip the bad blocks when it allocates storage spaces to files. You can get the locations
of bad blocks and repair them at the command line interface.
To display and repair bad blocks:
Task Command
Remarks
Display the number and location
of bad blocks in the NAND flash
memory.
display nandflash badblock-location
[ | { begin | exclude | include }
regular-expression ]
Available in any view
Repair bad blocks. fixdisk device Available in user view
Checking files
After files are written to the NAND flash memory, use the following commands together to check the
content of these files.
To check files:
Task Command
Remarks
Display the space distribution of
the specified file in the NAND
flash memory.
display nandflash file-location
filename [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display data on the specified
physical page.
display nandflash page-data
page-value [ | { begin | exclude |
include } regular-expression ]
Performing batch operations
A batch file comprises a set of executable commands. Executing a batch file is the same as executing the
commands one by one. However, execution of a batch file does not guarantee successful execution of