This widget could not be displayed.
Comware Based
1859568 Members
7034 Online
110403 Solutions
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.

Re: 5500 free flash

 
greg24
Regular Advisor

5500 free flash

Hi,



I tried to update my 5500 yesterday only to find out I don't have enough free space in flash. I kept getting error writing local file when I did the ftp command. I did a dir and found an old firmware version. I did a delete s4b03_01_06s56.app (or similar filename) and then did a dir again. The flash wasn't freed. I did a save and then rebooted and the flash still says 4106KB free which isn't enough for the upgrade. What did I need to do to free the flash?



Thanks,



5 REPLIES 5
Fred_Mancen_1
Super Advisor

Re: 5500 free flash

Hi Greg.



Did you deleted the file using the command "delete ? The 5500 switches still stores the deleted files in the recycle bin after this command; you need to issue the command "reset recycle-bin" in the user view.



To delete a file without store it in the recycle bin the command is "delete /unreserved ".



HTH

Regards,
Fred Mancen
greg24
Regular Advisor

Re: 5500 free flash

I didn't empty the recycle bin.



Thanks,



MDella
Advisor

Re: 5500 free flash

Ok, I just had the following... I forgot to use the /unreserved option...

 

Note: This is actually for an A7500 (JD240B) switch, not the 5500, but its comware, is its the same issue

 

When I look, its in the recycle bin (sort of) but I have no idea how to actually delete it out of there as none of the previous delete commands work... Clues? (and yes, I know I can't make that big an upgrade... sigh)

 

<LHR-CORE-SW>dir /all flash:/
Directory of flash:/

   0     -rw-  31456820  Sep 04 2010 15:51:55   s7500e-cmw520-r6605p03.app
   1     -rwh    864024  Sep 04 2010 16:29:42   io_mon.txt
   2     -rw-       490  Sep 19 2010 13:08:19   patchstate
   3     -rwh         4  Sep 19 2010 13:08:57   snmpboots
   4     -rwh      3496  Nov 14 2013 23:05:49   private-data.txt
   5     -rw-      3669  Nov 14 2013 23:06:06   startup.cfg
   6     -rw-       151  Nov 14 2013 23:06:00   system.xml
   7     -rw-  33336923  Nov 15 2013 19:33:16   [7500-cmw520-r6708p03-us.app]

64389 KB total (254 KB free)

<LHR-CORE-SW>

MDella
Advisor

Re: 5500 free flash

Ok, I managed to answer my own question. I'm so used to the manual being useless that its not my first resource anymore... but in this case...

 

<LHR-CORE-SW>reset recycle-bin
Clear flash:/~/7500-cmw520-r6708p03-us.app ?[Y/N]:y
Clearing files from flash may take a long time. Please wait...
...................................................................................................................................................................................................................................................................
%Cleared file flash:/~/7500-cmw520-r6708p03-us.app...
<LHR-CORE-SW>

 

Peter_Debruyne
Honored Contributor

Re: 5500 free flash

I know it is not an intuitive command, but manual seems clear to me:

Look for Fundamentals configuration guide on support site.

 

This is a sample direct link to the pdf:

 

http://h20565.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.process/?spf_p.tpst=kbDocDisplay_ws_BI&spf_p.rid_kbDocDisplay=docDisplayResURL&javax.portlet.begCacheTok=com.vignette.cachetoken&spf_p.rst_kbDocDisplay=wsrp-resourceState%3DdocId%253Demr_na-c02987056-2%257CdocLocale%253Den_US&javax.portlet.endCacheTok=com.vignette.cachetoken

 

Look on page 97-98 (File operations, deleting files, recover files and empty recycle-bin).

 

Hope this helps.

 

I do agree that the HP support site should better organize their docs, by release/date/modules etc. Right now all wireless module config guides are stored together with the chassis config guides, which I personally find confusing.

 

Best regards,Peter.