On Thursday 21 July 2005 22:10, Jörg Rennefeld wrote: > >On Thursday 21 July 2005 14:59, Jörg Rennefeld wrote: > >>Hi, > >> > >>I have the following problem: I can't create files bigger than 2GB on > >>the Host Disk from inside a UML. > >>Is the Hostfs driver limited to 2GB? I always get the error message: > >>file size limit exceeded
> >I'm gonna look, I guess that this may be true, but should be trivially > >fixable... > >However, the code seems correct, so a question: which UML release are you > >using? > I am using a UML release delivered with a Debian server project from a > german Computer Magazine. > After a recent Kernel update a "uname -r" inside the UML returns: > 2.4.31-bs2-pre11 > I also tried Kernel 2.6.12 both show a similar behavior. The command: > "dd if=/dev/zero of=test.img bs=1024 count 3000k" returns the message: > "File size limit exceeded". The file created by dd has exactly the size > 2147483647 bytes. Have you verified if the problem lays into UML or into the guest distribution? I.e. if the "dd" version you're using is not up-to-date, the program itself won't allow that (and until very recently, i.e. 2 months ago, wget has this problem - don't know if that has yet been fixed). And since you're talking about Debian, that seems likely. Strace the offending program, grep for "open" and verify that O_LARGEFILE is passed between the params. Or try doing that command on the root_fs directly, here's the road to do the test, which is done via creation of a sparse file: dd if=/dev/zero of=test.img bs=$((1024*1024)) seek=$((3*1024) count=1 If this doesn't work, then your guest fs has a broken dd (and probably glibc too) and you should upgrade. It's even possible that the host system itself is too outdated and hasn't support for this stuff - give all version information, please. Thanks... -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user