[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: filesizes/diskusage with ls, du, df only on xen-images
From: |
Philip Rowlands |
Subject: |
Re: filesizes/diskusage with ls, du, df only on xen-images |
Date: |
Thu, 17 Jul 2008 11:09:27 +0100 (BST) |
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