Forum Discussion
Viprion files on blades.
Hello,
I have a Viprion with 2 blades. When I am deleting ISO files on /shared/images they are coming back after a while. I am sure they arent used in any guest. I did the delete in CLI with a rm command.
I saw this in the LTM logs on the VCMP host after the delete command.
Dec 19 13:46:56 slot2/f5mechl2 notice vcmpd[13223]: 01510006:5: Adding BIGIP-13.1.1.2-0.0.4.iso to slot 1 map.
- John_Huttley_23Historic F5 Account
Hi,
Start tmsh then
delete sys software image
and tab for the image.
See also clsh
https://support.f5.com/csp/article/K16727
I don't recommend using clsh rm to delete isos. It's good for a chassis reboot though!
--John
- prsourenNimbostratus
I have the same problem and "clsh --slot=all rm -f /shared/images/..." does not work at all.
I want to keep the directory "/shared/images" on a 3-bladed chassis (viprion4800) nicely clean without the unnesseccary files like .md5 and .sig from pasttimes, but somehow the cluster keeps putting them all back ...
-rwxr-xr-x. 1 root root 59 Apr 8 2019 BIGIP-13.1.1.4-0.0.4.iso.md5
-rw-r--r--. 1 root webusers 59 Apr 28 2020 BIGIP-13.1.3.2-0.0.4.iso.md5
-rw-r--r--. 1 root webusers 59 Jul 17 2020 BIGIP-13.1.3.4-0.0.5.iso.md5
-rw-------. 1 root webusers 2097035264 Mar 23 2021 BIGIP-13.1.3.6-0.0.4.iso
-rw-------. 1 root webusers 59 Mar 23 2021 BIGIP-13.1.3.6-0.0.4.iso.md5
-rw-r--r--. 1 tomcat tomcat 2567514112 Feb 22 14:20 BIGIP-15.1.8.1-0.0.3.iso
-rw-r--r--. 1 root webusers 59 Feb 15 11:18 BIGIP-15.1.8.1-0.0.3.iso.md5
-rw-------. 1 root webusers 142895104 Nov 10 2020 EUD_CF-15.3.0.4.0.im
-rw-------. 1 root webusers 55 Nov 10 2020 EUD_CF-15.3.0.4.0.im.md5
-rw-r--r--. 1 root webusers 384 Apr 1 2019 Hotfix-BIGIP-13.1.1.4.0.114.4-ENG.iso.384.sig
-rw-r--r--. 1 root webusers 72 Apr 1 2019 Hotfix-BIGIP-13.1.1.4.0.114.4-ENG.iso.md5
-rw-r--r--. 1 root webusers 256 Apr 1 2019 Hotfix-BIGIP-13.1.1.4.0.114.4-ENG.iso.sig
-rw-r--r--. 1 root root 384 Apr 6 2020 Hotfix-BIGIP-13.1.3.2.0.107.4-ENG.iso.384.sig
-rw-r--r--. 1 root root 72 Apr 6 2020 Hotfix-BIGIP-13.1.3.2.0.107.4-ENG.iso.md5
-rw-r--r--. 1 root root 256 Apr 6 2020 Hotfix-BIGIP-13.1.3.2.0.107.4-ENG.iso.sig
-rw-------. 1 root webusers 72 Nov 25 2020 Hotfix-BIGIP-13.1.3.4.0.247.5-ENG.iso.md5
-rw-r--r--. 1 root webusers 384 Jul 17 2020 Hotfix-BIGIP-13.1.3.4.0.61.5-ENG.iso.384.sig
-rw-r--r--. 1 root webusers 71 Jul 17 2020 Hotfix-BIGIP-13.1.3.4.0.61.5-ENG.iso.md5
-rw-r--r--. 1 root webusers 256 Jul 17 2020 Hotfix-BIGIP-13.1.3.4.0.61.5-ENG.iso.sig
-rw-------. 1 root webusers 169893888 Mar 23 2021 Hotfix-BIGIP-13.1.3.6.0.64.4-ENG.iso
-rw-------. 1 root webusers 384 Dec 7 2022 Hotfix-BIGIP-13.1.3.6.0.64.4-ENG.iso.384.sig
-rw-r--r--. 1 tomcat tomcat 71 Dec 7 2022 Hotfix-BIGIP-13.1.3.6.0.64.4-ENG.iso.md5
-rw-------. 1 root webusers 256 Dec 7 2022 Hotfix-BIGIP-13.1.3.6.0.64.4-ENG.iso.sig
-rw-r--r--. 1 root webusers 487864320 Mar 15 01:11 Hotfix-BIGIP-15.1.8.1.0.139.3-ENG.iso
-rw-r--r--. 1 root webusers 72 Feb 24 10:14 Hotfix-BIGIP-15.1.8.1.0.139.3-ENG.iso.md5
-rw-r--r--. 1 root webusers 71 Feb 22 11:03 Hotfix-BIGIP-15.1.8.1.0.52.3-ENG.iso.md5How can I safely remove those obsolete files ?
- kristine_vAltostratus
I have the same issue. I've tried to delete these old .md5 files prior to software upgrade, yet it did not properly delete. After the upgrade reboot, I've checked again, and the issue persists. Any workaround that can be used for this? Many thanks!
Hi All,
I would highly recommend using the WINSCP software (one of my all-time favorite to transfer or administer files inside or to outside between windows and f5 Linux based file system , cut copy paste or delete files like we do in WINDOWS GUI )if you can download it for free and allowed to install it from where you can connect your F5 boxes suing MGMT IP, once connected to the F5 boxes using scp/sftp and in advance setting modify shell setting the default shell to bash or as per f5 articles in case you face connection error on these 2 protocols.
Remotely Access F5 Device Files Using WinSCP in GUI
Transferring files between Windows and F5 Linux based OS file system (using WinSCP)
https://my.f5.com/manage/s/article/K50364327
https://my.f5.com/manage/s/article/K22885182
Recommended Actions
- If the user accounts are local BIG-IP accounts authenticated locally (not via Remote Authentication), modify the Terminal Access to Advanced shell
Note: The Default admin account has only TMSH permissions by default
- If the user accounts are remote user accounts authenticated via remote authentication (Active Directory, LDAP, RADIUS, or TACACS+), use SCP command line program instead of SFTP as SCP is still allowed.
- If you use WinSCP, you can still use WinSCP GUI by following the steps below;
- In WinSCP, either hit New Site to create a new site, or click your existing site (to your BIG-IP) then hit Edit
- Under "File protocol" section, change it to "SCP"
- Click "Advanced" box
- In the Advanced Site Settings, and under "Environment" tree, click "SCP/Shell"
- For Shell, type in: bash
- Save this configuration or click Login to connect to the BIG-IP
Note: WinSCP provides Default, /bin/bash, /bin/ksh, sudo su - for Shell in the dropdown list but do NOT select /bin/bash from the dropdown list. /bin/bash is different from bash, and you would need to type in "bash" at Step 5.
Once connected using your cli logins and password, you can navigate to the following folder
/shared/images and can delete the files of your choice like you delete in windows explorer.
1) Save your session in WinSCP
2) In Edit -> Advanced -> "Environment -> SCP/Shell" -> in shell field - manually put only "bash" command (do not select "/bin/bash")
3) Save profilePlease rate or mark it as solution in case this address your queries regarding manual IP address checking to feature rich IP intelligence and geolocation-based ASM policy inclusiveness.
That will be helpful for others reading this blog.
HTH
🙏
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com