ISO image with many files and directories created with IMAPI2 is corrupted
-
Thursday, February 24, 2011 3:33 PM
Hello,
I am doing a POC on using IMAPI2 to create ISO files on BD for archiving purposes of millions of small files and directories.
When I created a BD-R iso image from 350K directories and 350K files it worked fine and I was able to mount the image (using daemon tools) and access the files.
But when I created an image from a larger number of directories and files (560K dirs and 1 million files), after mounting the image I couldn't access the files and I got an error message saying the file may be corrupted.
Are there any restrictions on the files or directories number on a BD-R Iso image?
Really need your help here...
Thanks
All Replies
-
Thursday, February 24, 2011 10:55 PM
There are some restrictions imposed by the filesystem you choose; in particular, ISO-9660 is surprisingly restrictive on the depth of directories (8 max).
I don't know the specific limits of UDF, but it wouldn't surprise me to discover that you've exceeded the number of files or directories, possibly as a consequence of maximum path length (1023 bytes in some versions).
Answering policy: see profile. -
Monday, February 28, 2011 3:49 PM
Hi,
The image I am trying to create is a BD-R UDF 2.5.
I am using test data with directory depth of 6 and short directory names and files, the maximum path lenght is less than 100 bytes.
I have tried validating the iso image with the 'philips UDF verifier' and the verfier exited on an error which implies that the resulting image created by the IMAPI2 is corrupted.
I have read several documents on UDF and from what I understand there is no limit on the files or directory numbers on an image.
Any idea why the IMAPI2 fails to create a valid image on my test (500K directories and 1 million files)?
Thanks
Tal


