empty hard drive, 50% used (no files??)

Karan Grover woodenrat at gmail.com
Wed Apr 21 12:26:39 UTC 2010


Did you mount and unmount any filesystems over those partitions. This might
be one reason of the problem. Also check ls -al output on the system.  It
may show if there are any hidden files.

Rather than doing an rm -rf try reformatting the drive. It wil let you
acquire all the space.

Karan Grover




On Wed, Apr 21, 2010 at 5:11 PM, Marius Gedminas <marius at pov.lt> wrote:

> On Wed, Apr 21, 2010 at 01:24:07AM -0700, Tom Sparks wrote:
> > I have empty hard drive, but 42,584 MB is being used
> > I have run sudo rm -rf *.* on the drive,
>
> That command makes no sense: it removes all files that have a dot in the
> middle of the name.  Many files in Linux don't have dots.
>
> > same result
> >
> > # Total Space: 64,001 MB
> > # Space Used: 42,584 MB
> > # Space Free: 21,416 MB
> >
> > what can i do?
>
> Check with du /media/yourharddisk whether there are hidden files.
>
> Unmount the disk and check the filesystem with fsck: maybe the free
> space numbers are incorrect.
>
> HTH,
> Marius Gedminas
> --
> Undergraduates owe their happiness chiefly to the fact that they are no
> longer at school...The nonsense which was knocked out of them at school is
> all gently put back at Oxford or Cambridge
>                -- Sir Max Beerbohm (1872-1956)
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iD8DBQFLzuRhkVdEXeem148RAu0nAJ9jHVvqfpMpc72uXGVaILccrT7LqACgg7Bj
> s/3EJdG7xN+sOMhg2Uthev4=
> =R4we
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100421/74bd5c76/attachment.html>


More information about the ubuntu-users mailing list