LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-25-2010, 09:43 PM   #1
lacakid
LQ Newbie
 
Registered: Sep 2009
Distribution: Opensuse 11
Posts: 6

Rep: Reputation: 0
My Software RAID5 is saying No Space left on Device when it's not full


I have had a software raid running on OpenSuse / SUSE 10 & 11 for some time and I have about 8TB on it. I always run close to 100% and once in a while get there but always manage to delete a bunch and clear out about 30-100GB.
For some reason recently (last several months) I get:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md0 7813819904 7783541772 30278132 100% /space

but even though it shows 30GB

# cd /space

# touch foo

touch: cannot touch `FOO': No space left on device

I did an xfs_repair on it and I did a "df -i"

# xfs_repair /dev/md0

Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- agno = 8
- agno = 9
- agno = 10
- agno = 11
- agno = 12
- agno = 13
- agno = 14
- agno = 15
- agno = 16
- agno = 17
- agno = 18
- agno = 19
- agno = 20
- agno = 21
- agno = 22
- agno = 23
- agno = 24
- agno = 25
- agno = 26
- agno = 27
- agno = 28
- agno = 29
- agno = 30
- agno = 31
- process newly discovered inodes...
Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
- check for inodes claiming duplicate blocks...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- agno = 8
- agno = 9
- agno = 10
- agno = 11
- agno = 12
- agno = 13
- agno = 14
- agno = 15
- agno = 16
- agno = 17
- agno = 18
- agno = 19
- agno = 20
- agno = 21
- agno = 22
- agno = 23
- agno = 24
- agno = 25
- agno = 26
- agno = 27
- agno = 28
- agno = 29
- agno = 30
- agno = 31
Phase 5 - rebuild AG headers and trees...
- reset superblock...
Phase 6 - check inode connectivity...
- resetting contents of realtime bitmap and summary inodes
- traversing filesystem ...
- traversal finished ...
- moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done

=====================================================

#df -i

Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md0 121411920 299392 121112528 1% /space


Any Ideas? I should have 30GB free right?

Thanks,
Tom
 
Old 12-25-2010, 11:35 PM   #2
darkstarbyte
Member
 
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Rep: Reputation: 2
run

Code:
df -l
 
Old 01-01-2011, 07:13 PM   #3
lacakid
LQ Newbie
 
Registered: Sep 2009
Distribution: Opensuse 11
Posts: 6

Original Poster
Rep: Reputation: 0
df -l

/dev/md0 7813819904 7791349772 22470132 100% /space

It's not that I have space! It's like I am running out of inodes even though
the df -i is supposed to show that. I removed about 1000 files or maybe even
more that I didn't need and it works. The test I used was I did a:

# touch foo - File was created
# touch foo1 - got "File System Full"

deleted any file and was able to create "one" file so I
am guessing it was something to do with the inode table
and now that I have removed about 1000+ files it will
take a long time to get back to that plus I am changing
it.

Thanks anyways for your suggestion and help!

Tom
 
Old 01-01-2011, 07:15 PM   #4
lacakid
LQ Newbie
 
Registered: Sep 2009
Distribution: Opensuse 11
Posts: 6

Original Poster
Rep: Reputation: 0
Don't know what else to say........

Last edited by lacakid; 01-07-2011 at 02:00 AM.
 
  


Reply

Tags
raid5



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
SD card 35% full, no space left pickarooney Linux - Hardware 5 01-02-2008 01:11 PM
no space left on device cjupiter2 Linux - General 2 09-03-2007 07:56 PM
Getting a "No space left on device" message on a non-full partition... sugar2 Linux - Hardware 12 07-06-2007 01:43 AM
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 04:22 PM
No space left on device xfgao Red Hat 27 01-13-2005 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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