|
From: Casandra H Q. <cx...@us...> - 2020-02-14 19:05:38
|
`rmimage` only remove the files under `rootimgdir=` attribute for the diskless/netboot image. `rmdef -t osimage imagename ` should remove the image created by the `copycds` what kind of error message did u see when u run `rmdef` command? Casandra Qiu ................................................................... Casandra Hong Qiu Phone: (845) 433-9291, t/l 293-9291 Office: Building 8, 3-B-04 cx...@us... From: Andrew Loftus <al...@il...> To: xCAT Users Mailing list <xca...@li...> Date: 02/14/2020 01:50 PM Subject: [EXTERNAL] Re: [xcat-user] Delete old osimages No, I didnt' try the -f flag because it didn't seem like the right approach. If copycds always creates an "install" image and rmdef doesn't support removing the "install" image, then "rmosdistro" will never run without the -f flag. That seems broken to me. That aside, it seems like rmosdistro with the -f flag did what I expected. On Fri, Feb 14, 2020 at 11:07 AM Mark Gurevich <gur...@us...> wrote: Have you tried "rmosdistro -f" to force remove ? Mark Gurevich Poughkeepsie Development Lab HPC Software Development - xCAT "If we knew what it was we were doing, it would not be called research, would it?" --Albert Einstein Inactive hide details for Andrew Loftus ---02/14/2020 12:00:33 PM---Is there a way to clean up old osimages (created from copycAndrew Loftus ---02/14/2020 12:00:33 PM---Is there a way to clean up old osimages (created from copycds)? I tried "rmosdistro" but that fails From: Andrew Loftus <al...@il...> To: xCAT Users Mailing list <xca...@li...> Date: 02/14/2020 12:00 PM Subject: [EXTERNAL] [xcat-user] Delete old osimages Is there a way to clean up old osimages (created from copycds)? I tried "rmosdistro" but that fails with the message that it is referenced by osimages. I tried "rmimage" to remove the osimages but that fails with the message that it will only delete certain image files. Cheers, --Andy_______________________________________________ xCAT-user mailing list xCA...@li... https://lists.sourceforge.net/lists/listinfo/xcat-user _______________________________________________ xCAT-user mailing list xCA...@li... https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=PU6QxvdruVN3eMibKaWnyHexHezXNsUPsSXd-hu8FIs&s=JlZNLgF32z5II2KMLNZC-qGOyPeNyLKWiT32XW2Ii8g&e= |