public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* negative diskspace usage
@ 2005-01-21 14:11 Wichert Akkerman
  2005-01-22 21:23 ` Andries Brouwer
  0 siblings, 1 reply; 9+ messages in thread
From: Wichert Akkerman @ 2005-01-21 14:11 UTC (permalink / raw)
  To: linux-kernel

After cleaning up a bit df suddenly showed interesting results:

Filesystem            Size  Used Avail Use% Mounted on
/dev/md4             1019M  -64Z  1.1G 101% /tmp

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md4               1043168 -73786976294838127736   1068904 101% /tmp

This is on a ext3 filesystem on a 2.6.10-ac10 kernel.

Wichert.

-- 
Wichert Akkerman <wichert@attingo.nl> | Technical Manager
Phone: +31 620 607 695                | Attingo, airport internet services
Fax:   +31 30 693 2557                | http://www.attingo.nl/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: negative diskspace usage
@ 2005-01-22  8:37 ndiamond
  2005-01-22 10:09 ` Wichert Akkerman
  0 siblings, 1 reply; 9+ messages in thread
From: ndiamond @ 2005-01-22  8:37 UTC (permalink / raw)
  To: linux-kernel

Wichert Akkerman wrote:

> After cleaning up a bit df suddenly showed interesting results:
> 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md4             1019M  -64Z  1.1G 101% /tmp
> 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/md4               1043168 -73786976294838127736   1068904 101% /tmp

It looks like Windows 95's FDISK
command created the partitions.
After that it doesn't matter which
operating systems you connect the
drive to when formatting the
partitions and writing files and
cleaning whatever you want to clean.
The partition boundaries still remain
where Windows 95 put them, and you
have overlapping partitions.

After backing up whatever files you
can still access (and don't trust
the contents of the files either),
zero out the MBR and start over.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: negative diskspace usage
@ 2005-05-03 11:31 Dave Gilbert (Home)
  0 siblings, 0 replies; 9+ messages in thread
From: Dave Gilbert (Home) @ 2005-05-03 11:31 UTC (permalink / raw)
  To: aebr, wichert, linux-kernel

Hi,
   Just a 'me too'.

Configuration:  2.6.11.3 (SuSE 9.2 tree)
   3ware 9000 hardware raid setup as RAID5,
just over 1.5T total, with a 1.5T partition with ext3
created with mke2fs 1.27 (debian installation).
(A rather slow 1.4GHz Athlon and 512MB of RAM on
the box I'm using to test this RAID).

We'd been running bonnie on the partition for a while and
also created a test file that filled the partition;
then I rm'd that 1.5TB file - this took a while; this took
a long while - probably over an hour, doing a df as it was going showed
the amount of space used dropping.

So then I start to copy stuff onto it and do a df and find it showing
the -64Z on the free. (df (fileutils) 4.1), I've got some stuff 
unbzip'ing on it and it now seems to be showing sensible sizes on it again.

If anyone wants me to try stuff I can since this RAID isn't in service yet.

Dave

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-05-03 11:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-21 14:11 negative diskspace usage Wichert Akkerman
2005-01-22 21:23 ` Andries Brouwer
2005-01-23 22:56   ` Wichert Akkerman
2005-01-23 23:26     ` Andries Brouwer
2005-01-24  9:07       ` Wichert Akkerman
  -- strict thread matches above, loose matches on Subject: below --
2005-01-22  8:37 ndiamond
2005-01-22 10:09 ` Wichert Akkerman
2005-01-22 20:41   ` Norbert van Nobelen
2005-05-03 11:31 Dave Gilbert (Home)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox