Displaying And Maintaining The Nand Flash Memory; Performing Batch Operations - H3C S5500-HI Series Fundamentals Configuration Manual

Hide thumbs Also See for S5500-HI Series:
Table of Contents

Advertisement

Displaying and maintaining the NAND flash memory

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.
Follow these steps to display and repair bad blocks:
To do...
Display the number and location
of bad blocks in the NAND flash
memory
Repair bad blocks
Checking files
After files are written to the NAND flash memory, use the following commands together to check the
content of these files.
Follow these steps to check files:
To do...
Display the space distribution of
the specified file in the NAND
flash memory
Display data on the specified
physical page

Performing batch operations

A batch file consists of a set of executable commands. Executing a batch file is the same as executing the
commands in the batch file one by one.
You can edit a batch file on your PC, and then download or upload it to the device. If the extension of
the file is not .bat, use the rename command to change it to .bat.
Follow these steps below to execute a batch file:
To do...
Enter system view
Execute a batch file
Use the command...
display nandflash badblock-location
[ | { begin | exclude | include }
regular-expression ]
fixdisk device
Use the command...
display nandflash file-location
filename [ | { begin | exclude |
include } regular-expression ]
display nandflash page-data
page-value [ | { begin | exclude |
include } regular-expression ]
Use the command...
system-view
execute filename
103
Remarks
Required
Available in any view
Required
Available in user view
Remarks
Available in any view
Remarks
Required

Advertisement

Table of Contents
loading

Table of Contents