reset recycle-bin
Sometimes new engineers, not familiar with Huawei devices, complain that there is not enough space in flash to upload a new software by FTP. The reason of it is that files from flash haven’t been deleted permanently from the memory. They use “delete name of file” command to delete files. Actually this command causes that deleted file is moved to recycle bin and “dir” command does not display it in flash, but it still occupies memory of flash. To display all files stored in flash you should use “dir /all” command.
<labnario>dir Directory of flash:/ 1 -rw- 12017319 Jan 19 2012 17:30:51 labnario.bin 2 -rw- 12017553 Aug 12 2008 18:02:39 ar28-vrp340-r0201p20.bin 3 -rw- 9018 Dec 05 2011 16:22:11 config.cfg 31877 KB total ( 7843 KB free)
Look what will happen if we use “delete labnario.bin” command:
<labnario>delete labnario.bin Delete flash:/labnario.bin?[Y/N]:y ... %Delete file flash:/labnario.bin...Done.