- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Switch HP Flash Free Space Problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2017 07:04 AM
09-20-2017 07:04 AM
Switch HP Flash Free Space Problem
Hi
I try to upgrade the firmware of a Switch A5120 but it wasn´t not possyble due free space but the problem is that the free space does not match with the size of the files in the flash.
With the size of the files i the flash the free space should be about 3000K and not 3 K
I send a displ version of the device
<OCESWBOGCL85P10R1A>displ ver
HP Comware Platform Software
Comware Software, Version 5.20.99, Release 2221
Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P.
HP A5120-48G-PoE+ EI Switch with 2 Interface Slots uptime is 138 weeks, 4 days, 16 hours, 12 minutes
HP A5120-48G-PoE+ EI Switch with 2 Interface Slots with 1 Processor
128M bytes SDRAM
16384K bytes Flash Memory
Hardware Version is REV.B
CPLD Version is 007
Bootrom Version is 607
[SubSlot 0] 48GE+4SFP+POE Plus Hardware Version is REV.B
[SubSlot 1] 2 SFP+ Hardware Version is REV.A
[SubSlot 2] 2 GE Hardware Version is REV.B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2017 02:52 PM
09-20-2017 02:52 PM
Re: Switch HP Flash Free Space Problem
pedrojhd1218 wrote: With the size of the files i the flash the free space should be about 3000K and not 3K
Try issuing a dir /all CLI Command to display all files (hidden files and folders too), not only non hidden ones as the simple dir CLI Command does.
When you issue a simple delete filename CLI Command the deleted file goes to the flash recycle-bin folder (which is hidden); deleting that way, with the usual delete, is just moving files...not really erasing them from the flash (indeed you can issue the undelete filename CLI Command to recover deleted file).
When instead you issue a delete /unreserved filename the file is definitely erased and no undelete action is possible.
To definitely empty the recycle-bin hidden folder perform a reset recycle-bin (it requires confirmation(s)) or a reset recycle-bin /force (it doesn't require confirmation(s)).
So try to empty the flash recycle-bin to grow flash free space and see if, doing that, you achieve what is needed to safely upgrade your Switch Boot ROM (btm) and System (bin) firmware images.
I'm not an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2017 02:29 PM
09-21-2017 02:29 PM
Re: Switch HP Flash Free Space Problem
hi parnassus
You were righ, I put dir /all and it show me a hiden file ([default.diag]) but i´m not able to delete it
<OCESWBOGCL85P10R1A>dir /all
Directory of flash:/
0 -rw- 13464233 Sep 16 2017 11:38:53 a5120ei-cmw520-r2221.bin
1 drw- - Apr 26 2000 12:00:27 seclog
2 -rwh 6212 Apr 13 2014 08:44:48 private-data.txt
3 -rw- 24570 Mar 24 2017 17:36:29 startup.cfg
4 -rw- 151 Mar 24 2017 17:36:06 system.xml
5 -rwh 4 Apr 26 2000 07:02:24 snmpboots
6 -rwh 951 Apr 26 2000 12:37:16 dsakey_v3
7 -rwh 735 Feb 08 2014 10:06:27 hostkey_v3
8 -rw- 2096984 Apr 09 2014 09:27:15 [default.diag]
15240 KB total (3 KB free)
<OCESWBOGCL85P10R1A>delete /unreserved flash:/[default.diag]
% Execution failure
<OCESWBOGCL85P10R1A>delete /unreserved flash:/default.diag
% Execution failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 12:17 AM - edited 09-22-2017 12:22 AM
09-22-2017 12:17 AM - edited 09-22-2017 12:22 AM
Re: Switch HP Flash Free Space Problem
What dir /all .trash command currently reports?
The file [filename] (filename file among [] square brackets) means that the filename file was already moved into the .trash hidden recycle-bin folder so it can't be deleted again since it was deleted yet.
If so you have two options to free up space:
- First restore (using undelete filename command) the deleted file [filename] - restoring that file will move it back on its original position from its actual position on the recycle-bin folder - and then finally delete it using the delete /unreserved filename command (that is erasing it without trashing it again into the recycle-bin, no restore will be possible).
- Permanently reset the actually non void recycle-bin with the above suggested reset recycle-bin /force command.
I'm not an HPE Employee