LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-01-2012, 12:48 PM   #1
m_kane
Member
 
Registered: Jan 2009
Posts: 31

Rep: Reputation: 2
ext4 disk full but really not?


I was called to maintain my customer's linux server today. Situation is critical, as server acts as samba server for about twenty workstations, and all work files are stored to server.

Server has adaptec raid card and raid5 configured, there is six 2TB drives giving total 10TB. Raid drive is mounted to /srv/data

But problem is, that separate system disk (320GB) is full, and samba and other services don't work correctly. But I can't find where data is lying.

Server has opensuse 11.3 OS, and I ran disk analyzer, what shows data size inside folders. It only shows about 20GB use. But df reports 100% disk usage, and I can't even modify any file, for example fstab, because os reports that disk is totally full.

I removed any files from /var/log and /tmp to free at least some megabytes, but it did not help at all. I just can't find where data is hidden. I unmounted all mounts (especially /srv/data to find, if there is data under mount points, but nothing.

I did ran fsck.ext4, and it did find some orphaned files. I did reboot and then it ran file check in boot, but that did not help either.

Can ext4 get corrupted that way, that it reports disk free size so wrong?
Or what else could be happened?

Note that server is not in any local use, it even has not display connected normally. So this can't be caused by user.
 
Old 03-01-2012, 02:01 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
At first I thought it was the deleted open file issue but a reboot would have solved that and you say you did one.

The issue may be that you've run out of inodes rather than space. Try running "df -i" to see what your inode usage is.

Another idea is that you're using only a subset of the 320 GB drive (e.g. 1 partition of only 20 GB rather than the entire drive). It would be helpful to output the following:

df -h

fdisk -l for any disk shown in the df -h output (or vgdisplay -v for any Volume Group then fdisk -l of PVs shown in that).
 
  


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
Disk capacity discrepancy in ext4 jcd29 Linux - Newbie 6 07-11-2011 08:06 PM
Cannot copy and past to a ext4 Disk kujirasan Fedora 4 02-03-2011 07:49 PM
migrated from ext3-disk to a ext4 disk - now linux wont boot zilogZ80 Linux - Newbie 4 02-05-2010 03:19 AM
[SOLVED] Formatting hard drive with ext3/ext4 while getting full rwx permissions PasBern Linux - Newbie 10 12-30-2009 12:16 PM

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

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