not enough space in device

  • permata
  • Newbie
  • Newbie
  • permata
  • Posts: 6
  • Loc: Kuala Lumpur

Post 3+ Months Ago

Hi,

Can anyone help me on this...

I'm having problem writing/saving to one of my partition. It says "not enough space". But strangely I only use 49% of the partition. FYI the size of that partition is 4.3GB.

BTW I'm using Red Hat 7.5 with upgraded kernel.

Please advise.... TQ

kvin
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Run df -k and post the results.

Cheers.
  • permata
  • Newbie
  • Newbie
  • permata
  • Posts: 6
  • Loc: Kuala Lumpur

Post 3+ Months Ago

This is the result after df -k. TQ

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda1 3700068 1020868 2491244 30% /
/dev/sdb1 6807332 3159552 3301984 49% /data
/dev/sda2 4032124 1540224 2287072 41% /home
none 256796 0 256796 0% /dev/shm
/dev/sdb2 2016044 129060 1784572 7% /var
/dev/sdc1 4411616 1752700 2434812 42% /data1
/dev/sdc2 4403756 1883716 2296336 46% /data2
  • Rico16135
  • Novice
  • Novice
  • Rico16135
  • Posts: 26
  • Loc: Arlington, Texas

Post 3+ Months Ago

I'm guessing the issue is with /data. Does this problem occur when trying to move or copy a very large file to this partition. How big is that partition anyhoo.
  • permata
  • Newbie
  • Newbie
  • permata
  • Posts: 6
  • Loc: Kuala Lumpur

Post 3+ Months Ago

Well it used to happen with /data but I manage to reduce the size by backing up few files. It will happen again everytime it reaches 52% utalization. Same goes to /data1.

BTW the data that being saved is a small text record which everytime a user access it will start saving a log.

It seams to me that Linux doesnt seams to allow me to write on any partation once it reaches above 50%

BTW the size for /data is 6.6GB & /data1 is 4.4GB.

Please advise
  • Rico16135
  • Novice
  • Novice
  • Rico16135
  • Posts: 26
  • Loc: Arlington, Texas

Post 3+ Months Ago

The only possible reason I can come up with is user quotas. I can't recall the program name, but there is a program that limits a users available disk usage. Perhaps that is a clue to your problem. I'll try and research it a bit more.
  • Rico16135
  • Novice
  • Novice
  • Rico16135
  • Posts: 26
  • Loc: Arlington, Texas

Post 3+ Months Ago

could you please post your contents of /etc/fstab? If it is a disk quota problem, then there will be an entry in your fstab.
  • Rico16135
  • Novice
  • Novice
  • Rico16135
  • Posts: 26
  • Loc: Arlington, Texas

Post 3+ Months Ago

what is the output of "quotacheck -avug"
  • permata
  • Newbie
  • Newbie
  • permata
  • Posts: 6
  • Loc: Kuala Lumpur

Post 3+ Months Ago

This is what inside my /etc/mtab

/dev/sda1 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/sdb1 /data ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda2 /home ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/sdb2 /var ext3 rw 0 0
/dev/sdc1 /data1 ext2 rw 0 0
/dev/sdc2 /data2 ext2 rw 0 0

This is what inside my /etc/fstab

LABEL=/ / ext3 defaults 1 1
LABEL=/data /data ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/var /var ext3 defaults 1 2
/dev/sda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/sdc1 /data1 auto defaults 1 2
/dev/sdc2 /data2 auto defaults 1 2

And this is what I get after running "quotacheck -avug"

quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.


Please advise

TQ
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Hmm. Odd that. Might be that ext3 is still using file space of deleted files until they are deallocated.
  • permata
  • Newbie
  • Newbie
  • permata
  • Posts: 6
  • Loc: Kuala Lumpur

Post 3+ Months Ago

mmm is there a way to solve this... or any tools that can help me repair this.....

TQ
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Well, if it's ext3 issue, that was a bug IIRC. You may want to do some due diligence and hunt down that information.
The ext3 mailing list could help; https://listman.redhat.com/mailman/listinfo/ext3-users/

Some blocks are allocated for the super user too, though it should not be that much, (with ext3). I tcould just be a jfs issue; do you really need a journaling file system? If not, try reverting back to ext2.

Good luck.
  • scr3am
  • Newbie
  • Newbie
  • scr3am
  • Posts: 8
  • Loc: Netherlands

Post 3+ Months Ago

Could you check your inodes.

df -i

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: No registered users and 89 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.