[Voyage-linux] check/repair fs
Gustin Johnson
(spam-protected)
Tue Jun 23 12:46:49 HKT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Rawlins - Think Blue wrote:
> Sean,
>
> Thanks for your suggestion, when running 'du -c' from / I get an enormous
> list of files and then the bottom total is: '685472 total'
>
I use "du -Pacmx --max-depth=1 . |sort -g"
This will force the output to be in MB, and then sort and total the
results. I have an alias in my .bashrc for this as it is kinda
cumbersome to type every time.
> This is on a 2GB disk so it would seem that this 100% utilized disk space
> isn't right and perhaps indicates a corruption issue, would you concur?
Not really, it says that your disk is full. There are a hundred
possible causes, and corruption is not the most likely (but still possible).
>
> Cheers,
>
> Rob
>
> -----Original Message-----
> From: Sean [mailto:knife at toaster.net]
> Sent: 22 June 2009 21:59
> To: Robert Rawlins - Think Blue
> Cc: voyage-linux at voyage.hk
> Subject: Re: [Voyage-linux] check/repair fs
>
> You can use the du command. It will tell you the size of all of the
> files and directories in a directory.
>
> Robert Rawlins - Think Blue wrote:
>> -->
>>
>> Hello Guys,
>>
>> I've got a system which went down here, when getting it back up and
>> running the disk usage is at 100% which seems really odd. I want to
>> check for corruption but obviously can't do this as the partition is
>> mounted. Is there any way to ensure a check/repair next time the
>> system reboots before the partition is mounted?
>>
>> Otherwise, is there any good way to find what is eating all my disk
>> space? I'm wondering is something is creating a huge log or db
>> somewhere on the system which I'm not aware of, If I can track down
>> the file that might help.
>>
>> Cheers,
>>
>> Rob
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpAXi0ACgkQwRXgH3rKGfOaawCdGXbaGJNx9OjNeDAeoDrIYbEn
CdUAnjrghfddFH6wbg6X5rRI2YHj/yZ9
=SBwI
-----END PGP SIGNATURE-----
More information about the Voyage-linux
mailing list