Thanks a lot, Phil
...and a big sorry for my malformed mail.
It is really a 'sparse file', I have never heard before...
So we learn every day...
Greetings,
Thomas
On Thu, 17 Jul 2008, Philip Rowlands wrote:
On Wed, 16 Jul 2008, tstaps wrote:
I have a problem, that is testet only on one machine.
[ snip creating and mounting 5GB filesystem ]
Sorry, I have to delete some quoted text otherwise this reply will be
unreadable.
# cp /var/lib/xen/images/xc51small.hda .
# df -k .
Dateisystem 1K-Bl?cke Benutzt Verf?gbar Ben% Eingeh?ngt auf
/dev/mapper/vg_opt-lv_opt_image1
5160576 1087236 3811196 23% /opt/image1
^^^^^^^ ?
The figure highlighted is the total number of 1K blocks in the filesystem.
The total has not changed, but the used and available figures have, as would
be expected.
Perhaps I'm misreading the ascii-arrows; the change in filesystem usage is
945796 K, which is smaller than the 2GB you reported. The further examples
given make the same point.
Please check whether the original xc51small.hda is a sparse file, which would
explain the difference between size as reported by ls and du, and space
occupied on disk as reported by du and df.
Cheers,
Phil
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils