LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-18-2015, 04:57 AM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
consumed space bigger than total disc space?


Hello!
Today try look to one server, who work as backuppc under Debian, and see very strange for me, thing, who i cannot understand.
there is 5.4 Tb partition on /

and i see in/var/lib/backuppc/compname some folder, where do "ctrl+space" in midnight commander show about 1042 - 1057 Gb in some folders - summary there shows more use space, than is in that disc itself.

how can it be possible?
FS is ext3

go inside one of that folder - "select all" - the same summary size, about a
1,076,752M bytes in 15713 files

how it is possible? there is several folders like that, with summary size about 25880G ( ~25 Tb? )?


oh yes - on df -h and so all is correct - consumed space is less than total, but if look at that folders, and count wasted space....

Last edited by WiseDraco; 02-18-2015 at 06:27 AM.
 
Old 02-18-2015, 06:39 AM   #2
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
Sparse files, hard file links, soft dir links, submounted/binded partitions?

Check and comapre results:
Code:
du -s /your/dir
du -s -l /your/dir
du -s --apparent-size /your/dir
 
2 members found this post helpful.
Old 02-18-2015, 06:54 AM   #3
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
1178564068

27168420656

1177198517


that means, there is a hardlinks?

submounted \ binded partitions, as i understands, is easy to see via "mount" command...?
 
Old 02-18-2015, 07:04 AM   #4
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by WiseDraco View Post
1178564068

27168420656

1177198517


that means, there is a hardlinks?
So it looks.

Quote:
Originally Posted by WiseDraco View Post
submounted \ binded partitions, as i understands, is easy to see via "mount" command...?
Yes.

You may find them by this command (I'm not sure it is 100% correct):
Code:
find /your/dir -type f -and -not -links 1

Last edited by Labinnah; 02-18-2015 at 07:17 AM. Reason: Find code
 
1 members found this post helpful.
Old 02-18-2015, 11:20 AM   #5
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by WiseDraco View Post
1178564068

27168420656

1177198517

that means, there is a hardlinks?
Backuppc (and rsnapshot) uses hard links to provide multiple snapshot-style full backups. The space required is the sum of one full backup plus all the differentials since that full. But hard links create the illusion that each of the subsequent snapshots occupies at least the same amount of space as the first.

Information about Backuppc hard links here.
 
1 members found this post helpful.
Old 02-18-2015, 12:15 PM   #6
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 619

Rep: Reputation: 299Reputation: 299Reputation: 299
If my wife emptied her handbag, the volume of stuff coming out would be bigger than the space inside the handbag .... it's the same thing .... :-)
 
1 members found this post helpful.
Old 02-19-2015, 01:12 AM   #7
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by gezley View Post
Backuppc (and rsnapshot) uses hard links to provide multiple snapshot-style full backups. The space required is the sum of one full backup plus all the differentials since that full. But hard links create the illusion that each of the subsequent snapshots occupies at least the same amount of space as the first.

Information about Backuppc hard links here.
ok, thanks for info. i be hear abou dduplication in backuppc, but i thinking, it is backuppc internal mechanism, who provides it, not on filesystem level.
thanks for enlightening, also a thanks to Labinnah for help
 
  


Reply



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
list sub-directories and disk space consumed hugheskc@yahoo.com Linux - Newbie 5 05-18-2013 02:04 AM
problem with xserver resolution: screen is bigger than useable space konqi Linux - Desktop 2 01-18-2010 07:07 AM
Division of Logical Memory Space in to User Space and Kernel Space shreshtha Linux - Newbie 2 01-14-2010 09:59 AM
Available hard disk space reducing(consumed) extremely fast kagara Linux - Software 1 09-16-2008 07:37 AM
how can i find space consumed by this user izrafel Linux - General 3 06-15-2007 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:49 AM.

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
Open Source Consulting | Domain Registration