Thread: No sense error
View Single Post
Old 25 June 2003, 04:20   #4
Chuckles
The Ancient One
 
Join Date: Feb 2002
Location: Kansas City/USA
Age: 62
Posts: 685
Taking a look at the information in your post, the size you picked for your hardfile looks like it was intended to be 50 megabytes, but the definition of a megabyte in computerese is not 1,000,000 bytes, just as the definition of 1 kilobyte is not 1,000 bytes. Since computers tend to prefer to work with the computerese versions of kilobytes and megabytes, 1 kilobyte = 1,024 bytes while 1 megabyte = 1,024 x 1,024 or 1,048,576 bytes. A 50 megabyte partition would thus be 50 times that, or 52,428,800 bytes long. I've had similar problems occur when dealing with emulated hard drives with other emulators. The block size you specified is 512 (which is normal), but the entire hardfile size should be a multiple of that to avoid having what theoretically should be an available block of 512 bytes at the end the hardfile, when there are less than 512 bytes remaining. A hardfile that is created with a size such as yours may work just fine for a long time, but it's a ticking bomb - eventually the OS will try to allocate that last block to some file, and when it does you're likely to see an error such as the one you received.
Chuckles is offline  
 
Page generated in 0.07523 seconds with 9 queries