sparsify: Add a note about sparsify on tmpfs.

This commit is contained in:
Richard W.M. Jones
2012-04-18 10:50:32 +01:00
parent 4542401fee
commit b0b5fdc69f

View File

@@ -271,6 +271,14 @@ to point to another directory that has enough space.
This defaults to C</tmp>.
Note that if C<$TMPDIR> is a tmpfs (eg. if C</tmp> is on tmpfs, or if
you use C<TMPDIR=/dev/shm>), tmpfs defaults to a maximum size of
I<half> of physical RAM. If virt-sparsify exceeds this, it will hang.
The solution is either to use a real disk, or to increase the maximum
size of the tmpfs mountpoint, eg:
mount -o remount,size=10G /tmp
=back
For other environment variables, see L<guestfs(3)/ENVIRONMENT VARIABLES>.