- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2020 07:48 PM - edited 07-05-2021 12:42 PM
ap: set
DEFAULT_ROUTER=10.0.0.1
ENABLE_BREAK=yes
IOS_STATIC_CONTROLLER_IP_ADDR=172.30.152.250
IOS_STATIC_DEFAULT_GATEWAY=172.30.8.254
IP_ADDR=192.168.0.1
MANUAL_BOOT=no
NETMASK=255.255.255.0
NEW_IMAGE=yes
RELOAD_REASON=58
ROM_PERSISTENT_UTC=1368658996
TERMLINES=0
ap: dir flash:
Directory of flash:/
2 -rwx 1048 <date> private-multiple-fs
3 -rwx 64 <date> sensord_CSPRNG0
4 -rwx 0 <date> ce
5 -rwx 64 <date> sensord_CSPRNG1
6 drwx 896 <date> ap3g2-k9w8-mx.152-4.JA1
52 drwx 0 <date> configs
53 drwx 0 <date> ap3g2-k9w7-mx.153-3.JAB
54 -rwx 287 <date> info
55 -rwx 257 <date> env_vars
56 drwx 2432 <date> ap3g2-k9w7-mx.153-3.JBB6
13 drwx 192 <date> ap3g2-rcvk9w8-mx
185856 bytes available (31812096 bytes used)
ap: delete /recursive /force flash:/ap3g2-k9w7-mx.153-3.JBB6
Are you sure you want to delete "/recursive" (y/n)?y
File "/recursive" not deleted -- permission denied
Are you sure you want to delete "/force" (y/n)?y
File "/force" not deleted -- permission denied
Are you sure you want to delete "flash:/ap3g2-k9w7-mx.153-3.JBB6" (y/n)?y
File "flash:/ap3g2-k9w7-mx.153-3.JBB6" not deleted -- is a directory
I cannot delete this directory, it stuck with "permission denied" and "is a directory"
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2020 08:02 PM
ap: delete /recursive /force flash:/ap3g2-k9w7-mx.153-3.JBB6
You are in ROMMON so the "rules" change.
The above means you are attempting to delete a folder called "/recursive".
In ROMMON, you can only delete individual files. You cannot delete folders.
In ROMMON, do the following:
delete flash:ap3g2-k9w7-mx.153-3.JBB6/ap3g2-k9w7-mx.153-3.JBB6
This should stop the AP from booting 15.3(3)JBB6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2020 08:02 PM
ap: delete /recursive /force flash:/ap3g2-k9w7-mx.153-3.JBB6
You are in ROMMON so the "rules" change.
The above means you are attempting to delete a folder called "/recursive".
In ROMMON, you can only delete individual files. You cannot delete folders.
In ROMMON, do the following:
delete flash:ap3g2-k9w7-mx.153-3.JBB6/ap3g2-k9w7-mx.153-3.JBB6
This should stop the AP from booting 15.3(3)JBB6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2020 08:43 PM
Thank you Leo for your helping
I don't have enough space so I would like to delete whole folder in 1 command instead of typing each command for each files.
because in folder there are many files. Do you have a way to fix it out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2020 09:33 PM
We can clean up the files/folders of the AP but it will be a lot easier to achieve this if the AP can boot into regular IOS (not ROMMON).
Is this AP meant to be running CAPWAP or autonomous IOS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2020 09:52 PM
This ap need to run autonomous but i find the way to clear space by boot regular IOS (CAPWAP)
And do a "delete /recursive /force flash:/ap3g2-k9w7-mx.153-3.JBB6" to clear folder.
then TFTP a replace autonomous sys. It works.
Thank you for helping, Leo.
