LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-21-2010, 02:03 PM   #1
shadeb
LQ Newbie
 
Registered: Feb 2010
Distribution: Debian Sid
Posts: 1

Rep: Reputation: 0
df issue: incorrect output


Hi there,

I just shrink my /home (lvm2 / ext3) and next to a reboot df give me this ouput:

df -h
Quote:
/dev/mapper/vg-home 281G 265G 2.2G 100% /home
df
Quote:
/dev/mapper/vg-home 294155264 276968816 2244244 100% /home
so for my debian 265 + 2.2 = 281 ?
the home is suppose to be set to 285 Go and the lv for the home to 285.17 Go

Do you have any idea about how to fix that? Or if I missed something when I shrink my home.
 
Old 02-22-2010, 12:11 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
If you allow for 5% of the original value to be reserved by the filesystem to handle fragmentation etc, the figures come out pretty close; I get 277,203,256.8 you got 276,968,816
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] printk incorrect output from ntohs(tcp_hdr(skb)->source) yaplej Linux - Kernel 6 07-13-2012 02:50 PM
some incorrect output from "apt-cache unmet" kevinbenko Debian 1 06-03-2008 03:15 PM
Incorrect Mouse, Incorrect Keymap, and Trapped in X Kenji Miyamoto Debian 8 08-24-2005 03:42 PM
vsftp 1.1.2 on redhat 7.1 -- 530 incorrect login issue triggerfish Linux - Networking 12 10-29-2003 01:43 AM
vsftpd 1.1.2 on redhat 7.1 -- 530 incorrect login issue triggerfish Linux - Software 4 08-17-2003 08:58 PM


All times are GMT -5. The time now is 02:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration