On Wed, Jun 11, 2014 at 8:16 PM, <[1]sf...@users.sourceforge.net> wrote:

     Jeremy Lin:

   > I'm looking to use the 'fallocate' command under an aufs mount (within a
   > Docker container), but this doesn't seem to work currently. Is there any
   > technical reason that the fallocate() syscall isn't available from aufs
   (on
   > backing filesystems that support that syscall, of course)? If not, are
   > there any plans to add support?

     Would you test this patch?
     You need to re-build whole kernel.
     J. R. Okajima

   Hi J. R.,
   I applied your patch to the 3.13.0-29-generic kernel on Ubuntu 14.04. I
   ran some tests with /usr/bin/fallocate in a Docker 1.0 container, using 1-5
   GB files. Everything seems to work fine. In particular, when the Docker
   storage is on an ext4 partition, fallocate works as expected, and when I run
   with the Docker storage on an ext3 partition, fallocate returns "Operation
   not supported" as expected. Thanks!
   Jeremy

References

   1. mailto:sf...@users.sourceforge.net
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems

Reply via email to