/build/static/layout/Breadcrumb_cap_w.png

Disk space on Kace 2000

If I export an image and then delete the image in the list of images, will I regain disk space? Our Kace 2000 box has less the 10GB of free space.

If the disk space is too little, will that make it impossible to boot to the Kace menu to deploy an image?

Thanks.

1 Comment   [ + ] Show comment
  • Thanks so much for the clear and detailed answer - jfrasier 10 years ago

Answers (1)

Answer Summary:
Posted by: genfoch01 10 years ago
Orange Senior Belt
1
When you export an image, it is written as a pkg file into the \\k2\restore share. This ironically can take up more space as the image will exist in the imagestore ( image list ) and as a package file in the restore share. So you would first want to copy the exported PKG and XML files off the restore share to some remote storage and then delete them from the restore share. Once that is complete you can delete the image from the system image list.

How much space you get back depends a lot on what type of image you deleted. If you deleted a WIM image ( Native to the K2000 not created with KNIT ) you will free up the exact space the image showed as being used on the image list page.   If your image was created with KNIT you will have to back up and delete the WIM image from the \\k2\\petemp\ImageStore\WIMNAME manually to go along with your exported image pkg file. If the Image was a Kimage,  (and you have more than one Kimage of the same architecture ) you may free up very little space. This is because Kimages use data deduplication so only one copy of a file is stored on the K2000 no matter how many Kimages (of that OS type ) you have. As an example the first Windows 7 x64 kimage you capture will take up the exact amount of space shown on the image list page. The second windows 7 x64 kimage you take will use space for only the files it contains that are different from the first image, though it will show the full size needed for deployment on the image list page.  If you choose to delete the first or second image, you will only be deleting the files contained in the image you are deleting that are not part of the image you have not deleted so the space returned will be much less than you might expect.

Once you have deleted a Kimage, its a good idea to run a file purge  (Settings & Maintenance > Appliance Maintenance >  Purge unused system image files). This essentially runs an audit on all files stored on the K2000 and deletes any file not associated with a current image. On 3.6 or better the purge runs each night automatically, on earlier versions it must be run manually. Depending on how long its been since the last purge ( a maximum of 24 hours for 3.6 ) and the number of images deleted it may take a couple hours to complete.

Also note the disk usage pie chart takes 15 minutes to update so if you delete a wim image and its not reflected in the disk utilization chart wait 15 -20 minutes and check it again.   

As to your second question, if the free disk space gets too small, certain functions may fail. You may find you can not run an export, download a USB image, import a new pkg, etc. If the free space goes to zero you will find logging stops and you will not be able to deploy images accurately and certainly wont have any logs of the deployment. It is best practice to keep 20GB of free space at all times to allow for functions (like exports) that need working space.


Comments:
  • The reason an export of an image is typically bigger than the image itself is because all pre/mid/post install tasks that are assigned to the image are exported along with the image.

    Corey
    Lead T3 Enterprise Solutions Consultant, K2000 - cserrins 10 years ago
    • That is certainly true and something I should have discussed. But a Kimage export ( without any tasks ) will take up more space than the image contained in the K2000 because the export includes all files while the image on the K2000 includes only files that are not common to other images. - genfoch01 10 years ago
    • I'm 8 months late to ask, but: do you have an estimate of how much larger the export of an image will be? I've got some K-images to export and then delete off the K2 and ~26 GB free. Most of the images I'm looking to export are in the 13-18 GB range. Are we talking MUCH bigger than the listed size?? I'm assuming the 26 GB will be enough free space to export, and then remove the files off the restore share, one at a time... - agibbons 9 years ago
      • The Kimage export list will show the size of the image. for example my win7 kimage shows 23GB in size. (note this is not the amount of space used on the K2 storage since it does data deduplication and i have more than one win7 image. ) However as the export runs, the K2 gathers all the needed files into a folder (total 23+ GB), then packs them into an archive and compresses that into a pkg file. So I have a 23GB kimage and 47GB of free space. While the export is running my free space drops to 17GB and finally ends with 32 GB of free space and a compressed pkg file of 15GB. So you should have about 1.5 * size of image(GB) in free space in order to export it. Note also I had NO tasks in this image. For WIM images I started with a 9GB image and 47 GB of free space. while it was exporting my free space dropped to 31GB before going up to 39GB and a 9GB pkg file in the restore share. so when exporting a wim image you should have 2* image size in free space ( not counting any tasks). - genfoch01 9 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ