LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-12-2016, 11:18 AM   #1
Bindairdundat
LQ Newbie
 
Registered: May 2014
Posts: 14

Rep: Reputation: Disabled
Question lv_root issue. no space, but nothing taking it up!!!!


I am getting a weird issue with my lv_root... df reports that it is full,

[root@server /]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_server-lv_root
51475068 51458684 0 100% /
<snip>

however this tells me (apparently) different...

[root@server /]# du -cks * | sort -rn | head

5972854 total
2880304 usr
2120924 home
545984 var
269208 lib
62386 boot
39376 etc
27576 lib64
14740 sbin
7988 bin

I am interpreting that is 5GB in use?... but 50GB is full... what am I missing here?

Last edited by Bindairdundat; 09-12-2016 at 11:26 AM.
 
Old 09-12-2016, 01:01 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
A process is holding deleted files open, so they will show in df but not du. Easiest solution is to reboot. If that's difficult, you can use lsof to find what process(es) has deleted-but-still-open files, then restart just that process.
 
1 members found this post helpful.
Old 09-12-2016, 02:38 PM   #3
Bindairdundat
LQ Newbie
 
Registered: May 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
oh well, a reboot fixed it, but I was in the middle of reducing my home mount from 215 gb to 65 gb so I could give that space to lv_root...

buuuuut lvreduce cratered the file system.... yay...

I really appreciate the help

Last edited by Bindairdundat; 09-12-2016 at 03:26 PM.
 
Old 09-12-2016, 02:43 PM   #4
Bindairdundat
LQ Newbie
 
Registered: May 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Whew!!!.. doing an Lvextend for the same amount, and an e2fsck afterwards shows that it was just fine....

maybe using lvresize is a better options I hear...
 
  


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
Empty directory taking up space anon091 Linux - Newbie 2 08-28-2013 04:24 PM
what is taking up space on / partition CHIadam Linux - Newbie 8 06-07-2012 04:13 PM
What is taking up all the space on sda6? Leirith Linux - Server 9 04-17-2012 02:54 PM
Deleted files taking up space airwolf2 Linux - Newbie 2 12-09-2007 02:42 PM
Symbolic Links taking up space?! N2technology Linux - General 7 01-02-2002 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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