ProCurve / ProVision-Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Switch HP 5311 (JG975A) Shows wrong flash size

SOLVED
Go to solution
Rodrigo_Octavia
Occasional Advisor

Switch HP 5311 (JG975A) Shows wrong flash size

Hello people,

Yesterday I had a problem when I update the firmware of this switch (JG975A). I've updated a few times (one firmware per reboot) and deletes each older firmware.

After, I checked that the flash size does not decrease when I delete files..

 

So now, I don' have space to update more.

Could you help me? (print attached)

Thanks in advanced

4 REPLIES
parnassus
Honored Contributor
Solution

Re: Switch HP 5311 (JG975A) Shows wrong flash size


Because the simple delete command actually only moves (trashes) file(s) on bin...without really emptying the bin itself (so you don't free up space on flash until you flush the bin).

Try delete /unreserved or reset recycle-bin commands. The first delete without passing the deleted file into the bin (so you can recover the file from the bin, if necessary), the second one will flush the bin.

To delete definitely a file you previously deleted...first undelete if (to recover from bin) then apply the delete /unreserved command against that recovered file.

To view all file(s) (Trash included) use the dir /all flash:/ command.

Rodrigo_Octavia
Occasional Advisor

Re: Switch HP 5311 (JG975A) Shows wrong flash size

Thansk a lot! works perfect.

Edit: "To view all file(s) (Trash included) use the dir /all flash:/ command."

                                     dir /all flash:/.trash

parnassus
Honored Contributor

Re: Switch HP 5311 (JG975A) Shows wrong flash size

Ops...a nasty typo:

The first delete without passing the deleted file into the bin (so you can recover the file from the bin, if necessary), the second one will flush the bin.

Correct:

The first delete without passing the deleted file into the bin (so you can't recover the file from the bin, if necessary), the second one will flush the bin.

Basically delete /unreserved deletes file(s) in a way they can't be recovered since recycle-bin is not involved at all.

parnassus
Honored Contributor

Re: Switch HP 5311 (JG975A) Shows wrong flash size

Yep...too fast in writing.