Command Reference Guide
432 ● vfs check check-method discard auto 3Com Router 5000 Family and Router 6000 Family
Command Reference
vfs check check-method discard auto
Purpose Use the vfs check check-method discard auto command to specify to
discard the contents of corrupted files and then recycle the corresponding storage
space automatically.
Use the undo vfs check check-method discard auto command to disable
the function.
Syntax vfs check check-method discard auto
undo vfs check check-method discard auto
Parameters None
Example Specify to discard the contents of corrupted files and then recycle the corresponding
storage space.
[Router] vfs check check-method discard auto
Disable recycling storage space automatically.
[Router] undo vfs check check-method discard auto
View This command can be used in the following views:
■ System view
Description These two commands affect the vfs check file-system command in the
following ways:
■ If you enable this function by executing the vfs check check-method
discard auto command, the system recycles the corresponding storage space
after discards the contents of corrupted files when you execute the vfs check
file-system command. Otherwise, you need to execute the fixdisk
device-name command to recycle storage space.
■ If you disable this function by executing the undo vfs check check-method
discard auto command, the system does not recycle the corresponding
storage space after discarding the contents of corrupted files.
The automatic file fixing method is the default file system checking method.
This function does not delete corrupted files. It only discards the contents of
corrupted files and recycles the corresponding storage space. To delete a corrupted
file, use the delete command.
The setting of file discarding and space recycling remain valid during the course of file
system self test when the system restart.