LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2011, 01:07 AM   #1
adarshmca
LQ Newbie
 
Registered: Dec 2010
Posts: 28

Rep: Reputation: 0
Hard Disk Show Wrong Info


Dear all,

I have a back up hard disk on which my backup is stored daily

Today I check the hard disk status by :-

Terminal > df -h

/dev/sdc1 294G 175G 104G 63% /mnt

But my hard disk contains only 92 GB data , Don't know why It shows wrong info , I checked my .Trash & lost_found folder, they are empty too


Terminal > cd /mnt
Terminal > du -sh *
16K lost+found
46G Backup-2011-12-25_22h10m.tar.bz2
46G Backup-2011-12-29_22h10m.tar.bz2


Any Comments on the issue


Thanks
 
Old 12-30-2011, 11:51 AM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,694

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
There are a few web pages on the differences.

From one of them.

"that is the difference between disk usage (du) and free blocks displayer (df)

if a file makes use of 2KB of 1 MB block
du will display that the file had used only 2KB

but df would display that 1 MB had been used as its displaying only the free blocks available,
even if 1 byte is used in 1MB free block, the free block is no more a free block and its used."

http://www.unix.com/unix-dummies-que...isk-space.html

Other conditions also exist that change the values.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] partition and installation on wrong hard disk raybiz44 Linux - Newbie 1 03-10-2011 09:18 AM
Filled hard disk with wrong CP command... buccaneere Linux - Software 37 02-21-2009 11:30 AM
iPod show wrong disk space robf1225 Linux - Software 0 05-16-2006 01:47 PM
Hard disk not bootable after GRUB's wrong operations linuxgaga Linux - Hardware 4 04-16-2006 11:00 AM
What's wrong with my hard disk?: prad Linux - General 3 03-05-2003 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration