Under Construction
Deleting Virtual I/O Server Backups
If backups of virtual I/O servers are made regularly and stored on one (or more) HMCs, the file systems on the HMCs will fill up very quickly if there are a large number of virtual I/O servers. To avoid full file systems, older backups on the HMCs should therefore be deleted regularly to free up space. Otherwise, the /data file system on the HMCs may fill up. Virtual I/O server backups can be displayed using the commands “vios lsviosbk” and “hmc lsviosbk“:
LPAR-Tool
$ hmc lsviosbk hmc01
NAME TYPE SIZE SYS_NAME VIOS_NAME LAST_MODIFIED
cfgbackup.tar.gz viosioconfig 0.007 ms21 ms21-vio1 06/28/2024 08:53:00
cfgbackup.tar.gz viosioconfig 0.007 ms21 ms21-vio2 06/28/2024 08:53:24
…
fullbackup.tar vios 5457.793 ms19 ms19-vio2 06/28/2024 10:50:42
fullbackup.tar vios 5467.441 ms19 ms19-vio1 06/28/2024 10:35:12
$
HMC-CLI
hscroot@hmc01:~> lsviosbk
name=cfgbackup.tar.gz,type=viosioconfig,sys_name=ms21,mtms=9009-22A*8927C81,vios_name=ms21-vio1,vios_id=1,vios_uuid=7F173D16-A5AE-4106-AEFC-87E481802BF4,last_modified=06/28/2024 08:53:00,size=0.007
name=cfgbackup.tar.gz,type=viosioconfig,sys_name=ms21,mtms=9009-22A*8927C81,vios_name=ms21-vio2,vios_id=2,vios_uuid=4557E963-FD5D-461C-A499-41F0639146E7,last_modified=06/28/2024 08:53:24,size=0.007
…
name=fullbackup.tar,type=vios,sys_name=ms19,mtms=8284-22A*8981AEY,vios_name=ms19-vio2,vios_id=2,vios_uuid=3BE07C6C-EF71-4573-A1AA-B3C385E22D44,last_modified=06/28/2024 10:50:42,size=5457.793
name=fullbackup.tar,type=vios,sys_name=ms19,mtms=8284-22A*8981AEY,vios_name=ms19-vio1,vios_id=1,vios_uuid=2587AFD6-4C4F-4F6E-BFD7-29A2FC16576F,last_modified=06/28/2024 10:35:12,size=5467.441
hscroot@hmc01:~>
To delete backups that are no longer needed, either the command “vios rmviosbk” or the command “hmc rmviosbk” can be used.
When using the command “vios rmviosbk”, you must specify the virtual I/O server and at least the name of a backup to be deleted.