linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 15% used but "No space left on Device"
@ 2003-11-16 18:13 Andrew Hogue
       [not found] ` <3FB7CE28.6090100@eglifamily.dnsalias.net>
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Hogue @ 2003-11-16 18:13 UTC (permalink / raw)
  To: linux-raid

Hi,

I just set up 2 hard disks as a striped raid-0 on my system.  They are
Serial-ATA 250GB each.  I'm using linux kernel 2.4.22 and the ext2
filesystem.

The problem I'm encountering happens after using up about 65GB on the
raid.  If I do any file-io, i.e. cat > anything.txt , it tells me that
there is "no space left on device".

I do a df -h and it says that I'm using only 15% of the raid, and that
there is 370G free.  I do a df -i to check the inode usage and it says
that I'm only using 1% of the inodes.

Any ideas?

Thanks,

-- Andrew


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 15% used but "No space left on Device"
       [not found] ` <3FB7CE28.6090100@eglifamily.dnsalias.net>
@ 2003-11-16 23:21   ` Andrew Hogue
  2003-11-17  4:19     ` Dan Egli
  2003-11-19 14:23     ` Chris Hirsch
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Hogue @ 2003-11-16 23:21 UTC (permalink / raw)
  To: linux-raid, Dan Egli

Hi again,

Okay, so I ran fsck on the disk and it said that it had errors.  So I
"corrected" them all and everything was fine.

However, now I'm getting a different message that seems related to this
problem.

I have a set of images on this device that I'm trying to encode into a
movie.  So I run my program on it, which simply reads in an image then
adds it to the video file etc...

This is a very large list of images, about 23000 images.

Now, for some reason it works fine up to a point then dies with a bus
error.  I check the dmesg log and low and behold I get the following
message:

attempt to access beyond end of device
09:00: rw=0, want=707399196, limit=488396800

Weird.  I try using display on that file and sometimes it dies and
sometimes it doesn't.  Very unpredictable.

Why would the system 'think' that I'm trying to access outside of my disk
when the file exists and is the correct size?

Any ideas?

Thanks,

-- Andrew




On Sun, 16 Nov 2003, Dan Egli wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrew Hogue wrote:
> | Hi,
> |
> | I just set up 2 hard disks as a striped raid-0 on my system.  They are
> | Serial-ATA 250GB each.  I'm using linux kernel 2.4.22 and the ext2
> | filesystem.
> |
> | The problem I'm encountering happens after using up about 65GB on the
> | raid.  If I do any file-io, i.e. cat > anything.txt , it tells me that
> | there is "no space left on device".
> |
> | I do a df -h and it says that I'm using only 15% of the raid, and that
> | there is 370G free.  I do a df -i to check the inode usage and it says
> | that I'm only using 1% of the inodes.
> |
> | Any ideas?
> |
> | Thanks,
> |
> | -- Andrew
> |
>
> I think depsite what df -i says you are out of inodes. I had a similiar
> problem once. something as simple as dd if=/dev/zero of=myfile count=1
> would fail with out of space. df -i said I was using 2% of the inodes. I
> think df -i reads the total inode count from the partition header, so if
> for whatever reason the system has lost track of inodes the df -i count
> would not reflect that.
>
> Best think I can suggest is to backup the contents, re-run mkfs.ext2 (or
> .ext3 if you want journaling), then copy the files back. That is what I
> did and it worked grand from then on.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQE/t84ntwT22Jak4/4RAsBeAJ9G0Q0edGQ+Jl5f641S4gFyzX+ONwCeNvEd
> +lqE235yoOJV5Q3YcXuCkqs=
> =ic+l
> -----END PGP SIGNATURE-----
>
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 15% used but "No space left on Device"
  2003-11-16 23:21   ` Andrew Hogue
@ 2003-11-17  4:19     ` Dan Egli
  2003-11-19 14:23     ` Chris Hirsch
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Egli @ 2003-11-17  4:19 UTC (permalink / raw)
  To: Andrew Hogue; +Cc: linux-raid

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Hogue wrote:
| Hi again,
|
| Okay, so I ran fsck on the disk and it said that it had errors.  So I
| "corrected" them all and everything was fine.
|
| However, now I'm getting a different message that seems related to this
| problem.
|
| I have a set of images on this device that I'm trying to encode into a
| movie.  So I run my program on it, which simply reads in an image then
| adds it to the video file etc...
|
| This is a very large list of images, about 23000 images.
|
| Now, for some reason it works fine up to a point then dies with a bus
| error.  I check the dmesg log and low and behold I get the following
| message:
|
| attempt to access beyond end of device
| 09:00: rw=0, want=707399196, limit=488396800
|
| Weird.  I try using display on that file and sometimes it dies and
| sometimes it doesn't.  Very unpredictable.
|
| Why would the system 'think' that I'm trying to access outside of my disk
| when the file exists and is the correct size?
|
| Any ideas?


Yes, but not one you will like. When you "corrcted" the errors, you made
changes that, while LOOKING correct, actually damaged the file(s). That
is part of why I said you should backup the array before doing anything.

- --- Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/uExotwT22Jak4/4RArEiAKCAHgcR74D5K17q+61z71Oui/QvswCgtNgP
cAw4nw918oqUsVzAhThksHM=
=8AJV
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 15% used but "No space left on Device"
  2003-11-16 23:21   ` Andrew Hogue
  2003-11-17  4:19     ` Dan Egli
@ 2003-11-19 14:23     ` Chris Hirsch
  1 sibling, 0 replies; 4+ messages in thread
From: Chris Hirsch @ 2003-11-19 14:23 UTC (permalink / raw)
  To: linux-raid


>attempt to access beyond end of device
>09:00: rw=0, want=707399196, limit=488396800
>
>Weird.  I try using display on that file and sometimes it dies and
>sometimes it doesn't.  Very unpredictable.
>
>Why would the system 'think' that I'm trying to access outside of my disk
>when the file exists and is the correct size?
>  
>
Just to warn you I saw this exact error message...I'm running a RAID-1 
on a RH 8 box. Eventually the entire partition corrupted itself and I 
lost it all...so you may want to make sure you have a good backup of 
that partition. I haven't had the time to figure out exactly what went 
wrong. I was doing a RAID-1,LVM,ReiesrFS.

On that same note I have like 4 other partitions on that same RAID-1 and 
I haven't seen any other problems...so I was thinking it was was either 
LVM or ReiserFS or me :-)

Chris

-- 
A:      To be or not to be.                                               
Q:      What is the square root of 4b^2?


http://ccicolorado.org
Exceptional Dogs for Exceptional People - Help Out Today!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-19 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-16 18:13 15% used but "No space left on Device" Andrew Hogue
     [not found] ` <3FB7CE28.6090100@eglifamily.dnsalias.net>
2003-11-16 23:21   ` Andrew Hogue
2003-11-17  4:19     ` Dan Egli
2003-11-19 14:23     ` Chris Hirsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).