Find Big Files or Big Directories
malarie at processia.com
Wed Jul 28 20:07:42 UTC 2010
I have run the command in du -shc / and here is the result:
Root#: du -shc applications-merged bin boot dev etc home lib opt root sbin selinux srv sys tmp usr var
There is also a 2nd disk mounted on / in /backup is it possible that this disk might be the source of all the data?
Also fdisk -l /dev/sdb1 returns this:
root at olympe:/# fdisk /dev/sdb1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x6423dc3f.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
The number of cylinders for this disk is set to 29658.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
From: ubuntu-users-bounces at lists.ubuntu.com [mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Tim Henderson
Sent: 28 July 2010 15:17
To: Ubuntu user technical support,not for general discussions
Subject: Re: Find Big Files or Big Directories
>> I have 2 disks that syncs every night. The problem occurs with /dev/sdb1.
>> *Output of df -h*
>> /dev/sdb1 224G 197G *17G 93%* /
>> Output of the command du -m /var/www/Nuxeo | sort -n | tail -15
>> 15559 . ß I don't know why only 15GB is reported..
the `du` command does not account for hidden files or directories unless
then are within a nested dir.
Try `du -shc /var/www` for the actual usage by the 'www' dir. Also look
for hidden files in the 'Nuxeo' dir, this may account for the "missing"
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users