# Uploading large ISO files fails

**URL:** <https://forums.suse.com/t/uploading-large-iso-files-fails/43764>\
**Category:** SUSE Virtualization\
**Created:** [August 1, 2024, 9:28am UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764 "2024-08-01T09:28:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![langeman69](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/langeman69/32/11433_2.png) [@langeman69](https://forums.suse.com/u/langeman69)\
**Post date:** [August 1, 2024, 9:28am UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/1 "2024-08-01T09:28:37Z")

</div>

I gave Harvester a try, keep it simple for now with a one-node install. Well, it all looks very promissing but I bumped into a problem uploading large ISO files using the webUI:

- Uploading rather small images seems OK. Fedora Workstation 40 Live image, RockyLinux 9.4 minimal are all rather small around 2GB.
- Uploading “full” images like Rocky-9.4-x86\_64-dvd.iso (and equivalent like AlmaLinux, RHEL etc.) always ends with a corrupted iso. These images are all larger than 10GB.
- Checking the ISO before the actual install always ends with a Media check error:

 ![Schermafdruk van 2024-08-01 10-04-32](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/f/fa7f1f3eb0cf00f77ce549da2e46143bef51cbdc.png)

- Downloading from an URL or local disk image does not make a difference…
- I’m using Harvester 1.3.1

Am I missing something or do I hit a bug (feature…)?

Thanks!

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [August 1, 2024, 5:13pm UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/2 "2024-08-01T17:13:00Z")

</div>

It’s been a problem in the past with earlier versions of Harvester and should be long fixed.

Are you also see corrupt files when downloaded locally then uploaded? If so, after downloading locally are you checking the MD5/SHA checksum(s)?

A trick I still use is Python’s HTTP Server module to serve local files via HTTP (python -m http.server) which cuts out any network issues.

---

<div class="post-metadata">

**Author:** ![bpedersen2](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/bpedersen2/32/9899_2.png) [@bpedersen2](https://forums.suse.com/u/bpedersen2)\
**Post date:** [August 2, 2024, 9:17am UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/3 "2024-08-02T09:17:54Z")

</div>

Another thing could be: These are installer images, not runtime images. For spinning up a vm you need a live/cloud image, not the distribution installer DVD image.

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [August 2, 2024, 11:04am UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/4 "2024-08-02T11:04:22Z")

</div>

I knew this rang a little bell when replying yesterday - I now remember commenting on a GitHub issue about this which I just found - [[BUG] CD-ROM device should not need size · Issue #2189 · harvester/harvester · GitHub](https://github.com/harvester/harvester/issues/2189#issuecomment-1673587089)

It’s supposed to be fixed but I suspect not - I think you’ll need to increase the size of the image volume to match the ISO attached to your VM (screenshot in my GH comment).

---

<div class="post-metadata">

**Author:** ![langeman69](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/langeman69/32/11433_2.png) [@langeman69](https://forums.suse.com/u/langeman69)\
**Post date:** [August 3, 2024, 11:00am UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/5 "2024-08-03T11:00:15Z")

</div>

> [@smflood](#):
>
> corrupt files wh

Thanks for the replu. Well, since it seems I cannot upload without curruption, I cannot download afterward… Sugestion?

---

<div class="post-metadata">

**Author:** ![langeman69](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/langeman69/32/11433_2.png) [@langeman69](https://forums.suse.com/u/langeman69)\
**Post date:** [August 3, 2024, 11:01am UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/6 "2024-08-03T11:01:43Z")

</div>

Thanks, but I don’t agree. Using de AlmaLinux minimal ISO, (or Rockey or whatever), which are \< 2GB, installing all works fine.

---

<div class="post-metadata">

**Author:** ![langeman69](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/langeman69/32/11433_2.png) [@langeman69](https://forums.suse.com/u/langeman69)\
**Post date:** [August 3, 2024, 11:28am UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/7 "2024-08-03T11:28:09Z")

</div>

Mmmm, it feels like you’re correct. After uploading the image, Harvester will tell itś 10GB, the real size (du -h \<image.iso\>) is 11GB.  
Now, I cannot find a way to change the size before or after upload…

Uploading a 15 GB (preallocated) qcow2 image seems to work well.

That leaves the question: does Harvester have a problem uploading ISOs \> 10 GB…?

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [August 6, 2024, 5:45pm UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/8 "2024-08-06T17:45:53Z")

</div>

No Harvester doesn’t have a problem uploading ISOs \> 10GB, the issue is using those larger ISOs.

When creating a VM which uses a larger ISO you just need to remember to increase the size of the CD-ROM image volume to “match” the actual size of the ISO - see the second screen shot in my linked GitHub comment above.

---

<div class="post-metadata">

**Author:** ![langeman69](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/langeman69/32/11433_2.png) [@langeman69](https://forums.suse.com/u/langeman69)\
**Post date:** [August 9, 2024, 10:25am UTC](https://forums.suse.com/t/uploading-large-iso-files-fails/43764/9 "2024-08-09T10:25:30Z")

</div>

OK, it’s a bit awkward, uploading a 11 GB image which will show up as a 10 GB image. Nevertheless, changing the volume size matching the real size of the ISO did the job. It all works, thanks a lot!
