LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-14-2006, 09:32 AM   #1
Anne H
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Rep: Reputation: 0
ext3 - No space left on device


This is on a Red Hat Linux release 9 system. It is an ext3 filesystem.

[root@cerberus scr_cerb]# mkdir anne
mkdir: cannot create directory `anne': No space left on device
[root@cerberus scr_cerb]# touch anne
[root@cerberus scr_cerb]#

There are free inodes and free space:

[root@cerberus scr_cerb]# df -i /scr_cerb
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdb1 538656 329305 209351 62% /scr_cerb
[root@cerberus scr_cerb]# df -k /scr_cerb
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 735227752 488355612 210104980 70% /scr_cerb

I have done a fsck of the system which shows that it is clean. Other methods of creating files such as dd if=/dev/zero of=anne fail.

du agrees approximately with df, so there no discrepany concerning the amount of space actually used.

If you have any suggestions for anything else to check, or how to solve this problem, I would really appreciate it.
 
Old 02-14-2006, 10:27 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
wow ! That is strange !
Try dump2efs and see what are the numbers for:

Inode count:
Block count:
Reserved block count:
Free blocks:
Free inodes:

regards,
 
Old 02-14-2006, 11:30 AM   #3
Anne H
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks marozsas.

[root@cerberus projects_new]# dumpe2fs /dev/sdb1

dumpe2fs 1.32 (09-Nov-2002)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: fab5dfdb-baf8-4aa2-be27-915f3a61458e
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal filetype sparse_super
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 538656
Block count: 183835803
Reserved block count: 9191790
Free blocks: 61737003
Free inodes: 214352
First block: 0
Block size: 4096
Fragment size: 4096
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 96
Inode blocks per group: 3
Filesystem created: Wed Sep 21 14:03:37 2005
Last mount time: Mon Feb 13 16:39:06 2006
Last write time: Mon Feb 13 16:42:54 2006
Mount count: 6
Maximum mount count: 38
Last checked: Wed Sep 21 14:03:37 2005
Check interval: 15552000 (6 months)
Next check after: Mon Mar 20 13:03:37 2006
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal UUID: <none>
Journal inode: 8
Journal device: 0x0000
First orphan inode: 0


The inode numbers agree with df -k, and the block count agree with the total space.

However, the number of free blocks is off:
246948012 (61737003 * 4096 / 1024)

(246948012 vs 210180852):

[root@cerberus projects_new]# df -k /scr_cerb
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 735227752 488279740 210180852 70% /scr_cerb
[root@cerberus projects_new]#

However, du shows 540745960 used, as compared with df488279740 above. Someone told me due to sparse files, this discrepancy was ok.

Anne
 
Old 02-14-2006, 11:59 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
...uselesss...I was expecting to read a large number for Reserved block count.

Another idea: try to mount this filesystem as ext2, to check if the jornal has something to do. If you are successful, try to re-create the jornal.

see'ya,
 
Old 02-17-2006, 02:24 PM   #5
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Try df on all your partitions.
 
  


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
cp: No space left on device, but df does not agree! Correador Linux - General 5 04-18-2011 08:26 AM
no space left on device, but it has enough!!! help!!! sarah21 Red Hat 3 02-03-2005 08:37 PM
No space left on device xfgao Red Hat 27 01-13-2005 04:06 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 12:05 AM
ext3. size:26gb,space used-24gb...0 bytes left?? jago25_98 Linux - Software 4 12-09-2003 01:43 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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