Opened 17 years ago
Closed 17 years ago
#1434 closed defect (worksforme)
Host system reported that the file size limit - Reported incorrectly
Reported by: | David Crenshaw | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 1.5.6 |
Keywords: | file size limit VM execution suspended | Cc: | dccrens@… |
Guest type: | other | Host type: | other |
Description
I am running Ubuntu 7.10 on a Dual Core X6800 with 4GB Ram. I am running a WinXp SP2 client with a C: Drive VDI of 100GB and a D: Drive VDI of 100GD; both are dynamic disks.
The Ubuntu host is running all partitions/file systems as ext3. All partitions are at least 300GB with the two partitions that hold the VDI files having over 200GB free space on each.
I keep getting the following error. Usually happens when running a file sharing program on the WinXp guest.
"Host system reported that the file size limit has been exceeded. VM execution is suspended. You need to move the file to a filesystem which allows bigger files."
Given the amounts of space I have dedicated to the VDIs and base file systems; and the fact I am using ext3; how can this be? Is this a bug in the software?
Attachments (1)
Change History (6)
by , 17 years ago
comment:1 by , 17 years ago
comment:2 by , 17 years ago
This also happens when using Windows XP's "update" feature to install OS patches and updates.
comment:3 by , 17 years ago
Hi dccrens, the problem comes from your partition on /dev/sdb2. For some reason it has a block size of 1KB which allows a maximum file size of 16GB (plus some bytes). I'm pretty sure that /data/dccrensdata/WinSP2Ddrive.vdi has this size. The partition on /dev/sda7 has a block size of 4KB (which is the default) allowing a maximum file size of 2TB, see http://en.wikipedia.org/wiki/Ext2 . We will try to improve the error message in future releases and warn the user already when starting a VM. You should be able to reformat /dev/sdb2 with
mke2fs -j -Olarge_file -b 4096
Make sure you backup that partition first as all data will be lost when formatting.
comment:4 by , 17 years ago
Frank, You hit it o the money. Surprisingly I had two file systems that had block sizes of 1024. Both of these partitions were "converted" using (GPARTED) from NTFS partitions when I installed Ubuntu some time ago. Somehow they must have defaulted to a smaller block size.
I moved the VDI files to another partition; used mke2fs -j -b 4096 on each partition (after unmounting it); remounted the partitions; moved the VDI files back and restarted VirtualBox. No more problems.
We can call this one resolved. Thanks again.
Frank, This is the output you were looking for. One file is on /home (/dev/sda7) and one is on /data (/dev/sdb2). The dumpe2fs output is below. I also uploaded the log file from today.
Hope this helps. I would really like to get this solved. Regards Dave