Displaying And Maintaining The Nand Flash Memory - H3C S5810 Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5810 Series:
Table of Contents

Advertisement

To do...
Restore the space of a storage
medium
Format a storage medium
When you format a storage medium, all the files stored on it are erased and cannot be restored. In
particular, if there is a startup configuration file on the storage medium, formatting the storage medium
results in loss of the startup configuration file.

Displaying and Maintaining the NAND Flash Memory

Featured with high storage capacity, low cost, and fast write speed, the NAND flash memory has
become a preferred memory of new products. The physical space of the NAND flash memory is
logically 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
It is common to have bad blocks when an NAND flash memory is shipped from the factory. Bad block
ratio varies with products of different vendors. The frequently used area of the memory goes bad easily.
Bad blocks cannot be used to store data, and the file 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 through command lines.
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, you can use the following two 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
Use the command...
fixdisk device
format device
Use the command...
display nandflash
badblock-location
fixdisk device
Use the command...
display nandflash
file-location filename
1-6
Remarks
Optional
Available in user view
Optional
Available in user view
Remarks
Required
Available in any view
Required
Available in user view
Remarks
Available in any view

Advertisement

Table of Contents
loading

Table of Contents