No space left on device

From: Mihai Osian (zzz_at_zzz.com)
Date: 04/25/05


Date: Mon, 25 Apr 2005 14:12:17 +0200


  I have a Mepis/Debian Linux with kernel 2.6.4, which started recently
to complain about "no space left on device". However, "df"
says that here is plenty of space. "du -sx /" confirms the disk usage
reported by "df", and fdisk gives about the same total partition size
(9373927+ blocks).
  The filesystem is ReiserFS 3.6. The logs are truncated but the last
few entries are just programs screaming for disk space.

  Is there some limitation of ReiserFS that I should know about ? Anyone
has an idea about what's wrong ?

Mihai
=======================================================

mike@63[~]$ uname -a
Linux mepis 2.6.4 #1 Tue Apr 20 11:51:51 EDT 2004 i686 GNU/Linux

mike@63[~]$ dd bs=1M count=100 if=/dev/zero of=./a
dd: writing `./a': No space left on device
66+0 records in
65+0 records out
68550656 bytes transferred in 0.621173 seconds (110356780 bytes/sec)

mike@63[~]$ pwd
/home/mike

mike@63[~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 9373632 7635268 1738364 82% /
tmpfs 128160 0 128160
0% /dev/shm
/dev/hda1 54416 8264 43343 17% /boot
/dev/hdb5 156242112 155252704 989408 100% /mnt/hdb5

mike@63[~]$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hda3 0 0 0 - /
tmpfs 32040 2 32038 1% /dev/shm
/dev/hda1 14056 40 14016 1% /boot
/dev/hdb5 0 0 0 -
/mnt/hdb5

mike@63[~]$ mount
/dev/hda3 on / type reiserfs (rw,noatime,notail)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,mode=0622,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda1 on /boot type ext3 (ro)
/dev/hdb5 on /mnt/hdb5 type vfat (rw,nosuid,nodev,umask=000)
automount(pid1463) on /mnt/auto type autofs
(rw,fd=5,pgrp=1463,minproto=2,maxproto=4)

mike@63[~]$ debugreiserfs /dev/hda3

<-------------debugreiserfs, 2002------------->
reiserfsprogs 3.x.1b

Filesystem state: consistency is not checked after last mounting

Reiserfs super block in block 16 on 0x303 of format 3.6 with standard
journal
Count of blocks on the device: 2343481
Number of bitmaps: 72
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved]
blocks): 434591
Root block: 624398
Filesystem is NOT cleanly umounted
Tree height: 4
Hash function used to sort names: "r5"
Objectid map size 754, max 972
Journal parameters:
        Device [0x0]
        Magic [0x42c49779]
        Size 8193 blocks (including 1 for journal header) (first block 18)
        Max transaction length 1024 blocks
        Max batch size 900 blocks
        Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0x0
sb_version: 2
inode generation number: 2192979
UUID: 396f7f86-2d3a-4ebc-8b29-02b019d0d5f1
LABEL:
Set flags in SB:

mike@63[~]$ rm a
mike@63[~]$ sudo du -sx /
Password:
7538216 /



Relevant Pages

  • [opensuse] No space left (but there is some!!)
    ... Filesystem state: consistent ... Reiserfs super block in block 16 on 0xfd00 of format 3.6 with standard journal ... Free blocks (count of blocks - used [journal, bitmaps, data, reserved] ... Journal parameters: ...
    (SuSE)
  • resize_riserfs on Suse 8.1
    ... Since the filesystem must be unmounted, I try and do it from the ... Filesystem state: consistent ... Reiserfs super block in block 16 on 0x307 of format 3.6 with standard ... Free blocks (count of blocks - used [journal, bitmaps, data, reserved] ...
    (alt.os.linux.suse)
  • Re: [opensuse] No space left (but there is some!!)
    ... Filesystem state: consistent ... Reiserfs super block in block 16 on 0xfd00 of format 3.6 with standard journal ... Free blocks (count of blocks - used [journal, bitmaps, data, reserved] ... Journal parameters: ...
    (SuSE)
  • ReiserFS issues, was Re: file recover on reiserfs partition
    ... used before the hardware is replaced (such as a failing drive on a RAID array ... implementation of reiserfs ... I've not seen such destructive behavior with any other filesystem ... get last night's work before you rebuild the RAID array? ...
    (comp.os.linux.setup)
  • RIPLinux CD/USB boot/rescue system!
    ... The bootable CD image `RIP-15.1.iso' can be written to a CD disk, ... The kernel also has LVM1/2, RAID, and Ethernet/Cable/DSL networking support. ... It includes the CD/DVD UDF filesystem packet writing tools (cdrwtool, ... a Linux reiserfs and reiser4 filesystem. ...
    (comp.os.linux.announce)