How to ensure sufficient storage space during a device upgrade


In the device storage space, there are often two system software files with file name extension *.cc, and only one of the two files is in use. You can delete the other idle system software file to release the storage space. Perform the following operations to delete the idle system software file:
Run the display startup command to check the currently running system software file.
Run the delete /unreserved filename command to delete the idle system software file.

When /unreserved is not specified in the delete command, run the reset recycle-bin command to permanently delete the idle system software file from the recycle bin. In this manner, you can release storage space.

Other related questions:
During AR upgrade, the memory space is insufficient
Root cause: When you use the delete command to delete the file, the file is not directly deleted from the storage medium. Instead, the file is moved to the recycle bin and still occupies the memory space. Solution: If the remaining storage space is smaller than the size of the file to be copied during the upgrade, check the directories of the storage, delete useless files, and clear the recycle bin to enlarge the memory space. If the space is insufficient, you can press Ctrl+B to enter the BootLoad menu, delete the existing version, copy the new version, and upgrade the device. In this way, you can solve the problem of insufficient memory space.

How to release the storage space
Run the reset recycle-bin, delete /unreserved, or rmdir command to delete outdated and unnecessary files to release the storage space. NOTICE: Exercise caution when you run these commands because files cannot be restored after being deleted. Run the reset recycle-bin command in the recycle bin to empty the recycle bin to release the storage space. reset recycle-bin Squeeze flash:/sheader.txt?[Y/N]:y %Cleared file flash:/sheader.txt. Squeeze flash:/123.txt?[Y/N]:y %Cleared file flash:/123.txt. After you run this command, the device displays a message each time before it deletes a file or a directory, asking whether you want to delete it. You can select Y or N to confirm the deletion. Before clearing the recycle bin, you can run the dir /all command to view information about all the files and directories in the storage medium, including files in the recycle bin. Files in the recycle bin are marked by [ ]. Run the delete /unreserved command on the storage medium to delete unnecessary files permanently to release the storage space. delete /unreserved flash:/test/test.txt Warning: The contents of file flash:/test/test.txt cannot be recycled. Continue? [Y/N]:y Info: Deleting file flash:/test/test.txt...succeeded. After you run this command, directories are not deleted. Run the rmdir command on the storage medium to delete unnecessary directories permanently to release the storage space. rmdir test Remove directory flash:/test?[Y/N]:y %Removing directory flash:/test...Done!

Procedures for upgrading multiple subracks during a WDM device upgrade
Analysis: Run the :swdl-rvrv-bdlist command to obtain the number of boards to be loaded. When the number of boards exceeds 70, divide the boards into batches and perform the package loading batch by batch. The number of boards in each batch of package loading should be less than 70. Dividing methods: 1. The boards in the same subrack cannot be divided into two loading batches. 2. The number of boards in each batch cannot exceed 70. 3. Run the :swdl-add-excludebd:bid:0,0,0 command (only if the current NE version is OptiX OSN 6800 V100R004C04SPC800 or later) to isolate the boards except the first batch. Then run the :swdl-set-autoswdl:disable command to disable the automatic matching function on the NE. 4. For the first batch, perform a complete package loading upgrade. 5. Run the sftm-rtrv-state:swdl command to check the NE status. If MAIN_STATE and SUB_STATE of the NE are NORMAL, you can perform the package loading for the second batch. 6. Run the :swdl-del-excludebd:bid:0,0,0 command to de-isolate the boards on the second batch. 7. Perform the package loading on the second batch of boards until all the boards are upgraded. 8. After the upgrades on all batches are complete, you need to run the :swdl-set-autoswdl:enable command to enable the automatic matching function for package loading on the NE. Root cause: When the board data volume is too large or a loading operation is being performed, the package loading may exceed the timeout period, causing an upgrade failure. Answer: Please refer to the handling process. Suggestion and conclusion: None

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top