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 02-21-2010, 01: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-21-2010, 11:11 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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
some incorrect output from "apt-cache unmet" kevinbenko Debian 2 05-18-2016 08:25 AM
[SOLVED] printk incorrect output from ntohs(tcp_hdr(skb)->source) yaplej Linux - Kernel 6 07-13-2012 01:50 PM
Incorrect Mouse, Incorrect Keymap, and Trapped in X Kenji Miyamoto Debian 8 08-24-2005 02:42 PM
vsftp 1.1.2 on redhat 7.1 -- 530 incorrect login issue triggerfish Linux - Networking 12 10-29-2003 12:43 AM
vsftpd 1.1.2 on redhat 7.1 -- 530 incorrect login issue triggerfish Linux - Software 4 08-17-2003 07:58 PM

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

All times are GMT -5. The time now is 04:22 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