On Wed, 4 Jan 2006, Vladas Urbonas wrote: > Hi all, sorry for bothering. > > My problem is as follows: > > 0. 3.8 GENERIC > 1. I am creating 1.5Gb all-zeroes file with dd > 2. vnconfig -ck /dev/svnd0c file.img > 3. fdisk -e /dev/rsvnd0c
use fdisk -i svnd0, much easier. > 4. dislabel -E /dev/rsvnd0c disklabel -E svnd0, delete extisting 'a' partition and recreate with default values. > 5. newfs /dev/rsvnd0c Use /dev/rsvnd0a > 6. mount /dev/svnd0c /mnt > 7. copying in files into /mnt > > And after this the file.img becomes like 800Gb on > the filesystem. > > df shows that /mnt size is 1.5 as expected. > > > Is it a sign of a bad disk (I have tried this on several > different partitions, with two different machines - still > the same), or I am overlooking something way to > obviuous. > > > > Would be grateful for any of your comments, suggestions. > > > Vladas