LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-20-2005, 11:55 AM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
df -h not reporting correct amoutn, help...


hello, this is again something to do with my stupidity in trying to run debian-unstable, boy is it, anyways i wanted to backup my /home/user directory to my laptop before i attempted to install a new distro or put debian-sarge back on it to get rid of xorg and the issues it is causing with my system.

so to make sure i have the storage space on my laptop i run df -h my home partition has 1.2G used and over 20G free. kewl no big deal

here is the big deal... when i run the exact same command on the workstation i get the followign:

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3             6.5G  3.9G  2.3G  63% /
tmpfs                 507M  4.0K  507M   1% /dev/shm
/dev/hda4             115G  9.5G  100G   9% /home
/dev/hda2              20G  6.0G   14G  31% /home/ray/wind
now with that being the case, how is it that i am still coping over files and my laptop is now at:

[edited to add] this was the first df -h i ran on the laptop before i started the scp

Code:
ray@laptop:~/oldhome$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             5.5G  3.7G  1.6G  70% /
tmpfs                 126M     0  126M   0% /dev/shm
/dev/hda1             228M   11M  206M   5% /boot
/dev/hda4              22G  1.2G   20G   6% /home

below is the current one...

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             5.5G  3.7G  1.6G  70% /
tmpfs                 126M     0  126M   0% /dev/shm
/dev/hda1             228M   11M  206M   5% /boot
/dev/hda4              22G   17G  4.3G  80% /home

ok i am no math wiz, but 1.2 + 9.5 do not equal 17+ WTF is going on here?

Last edited by Lleb_KCir; 07-20-2005 at 11:57 AM.
 
Old 07-20-2005, 12:08 PM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
ok figured it out. df was reporting correctly, i had forgotten i had hda3 mounted to home in a directory. impressive that scp not only copied the home dir on that partition, but started digging into the windows partition and was coping windows over too *grins*

do not need all of that, so adjusted my fstab on the workstation and am trying agian.
 
Old 07-21-2005, 03:38 PM   #3
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
ok now i am a bit pissed.

i have # out all mounted external storage be it a windows share, a windows partition, what ever and that leaves the /home on my workstation at 9.5G used.

i scp -r user@IP:/home/user /home/user/oldhome

let it run

now my 22G /home partition on my laptop is FULL. WTF is going on, how in the world does 1.2 + 9.5 = more then 10.7.

nothing in logic tells me that 1.2+9.5 will ever be more then 10.7.. i could see the df -h reading it as much as maybe 11G, but no way in h3ll should it be reading 22G...

someone please tell me exactly what in the world is going on, and how do i prevent this from happening again. i only want the 9.5G registered by the df -h on the workstation copied over NOTHING MORE.

/pissed
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reporting bugs in 10.1? RedDwarf Mandriva 1 02-01-2005 10:34 AM
Error reporting in c george_mercury Programming 2 11-20-2004 06:22 PM
df not reporting correct size. mdarby Slackware 2 11-10-2004 07:36 AM
version reporting jag7720 Linux - Security 1 07-13-2004 05:42 AM
sshd reporting antken Linux - Networking 8 06-08-2003 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:01 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
Open Source Consulting | Domain Registration