du discrepancies?

2001-06-14 Thread Brad Hubbard
There appears to be a discrepancy between the true state of affairs on my RAID partitions and what df reports; [root /]# sfdisk -l /dev/hda Disk /dev/hda: 38792 cylinders, 16 heads, 63 sectors/track Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0 Device Boot

Re: du discrepancies?

2001-06-14 Thread Neil Brown
On Friday June 15, [EMAIL PROTECTED] wrote: There appears to be a discrepancy between the true state of affairs on my RAID partitions and what df reports; [root /]# sfdisk -l /dev/hda Disk /dev/hda: 38792 cylinders, 16 heads, 63 sectors/track Units = cylinders of 516096 bytes, blocks

Re: du discrepancies?

2001-06-14 Thread Brad Hubbard
On Fri, 15 Jun 2001 13:25, Neil Brown wrote: hda1 has 768095 1K blocks. md/raid rounds down to a multiple of 64K, and then removes the last 64k for the raid super block, leaving 768000 1K blocks. ext2fs uses some of this for metad, and reports the rest as the available space. The