wrong free space check?

Bug #66685 reported by Fabio Massimo Di Nitto
2
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-source-2.6.17 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Oct 18 06:16:23 apt-install: Queueing package installation-report for later insn
Oct 18 06:16:24 debootstrap: gpgv:
Oct 18 06:16:24 debootstrap: Signature made Wed Oct 18 02:22:35 2006 UTC using 5
Oct 18 06:16:24 debootstrap: gpgv:
Oct 18 06:16:24 debootstrap: Good signature from "Ubuntu Archive Automatic Sign"
Oct 18 06:16:24 debootstrap:
Oct 18 06:18:53 debootstrap: tar:
Oct 18 06:18:53 debootstrap: ./usr/share/zoneinfo/right/Etc/GMT-4
Oct 18 06:18:53 debootstrap: : No space left on device
Oct 18 06:19:00 base-installer: error: exiting on error base-installer/debootstd
Oct 18 06:19:13 main-menu[1723]: WARNING **: Configuring 'base-installer' faile
Oct 18 06:19:13 main-menu[1723]: WARNING **: Menu item 'base-installer' failed.
Oct 18 06:19:22 main-menu[1723]: INFO: Modifying debconf priority limit from 'h
Oct 18 06:19:22 debconf: Setting debconf/priority to medium

but:

~ # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 251.3M 96.0k 251.2M 0% /dev
tmpfs 251.3M 96.0k 251.2M 0% /.dev
/dev/mapper/raisuck-root 4.0G 10.1M 4.0G 0% /target
/dev/md/0 227.8M 4.0M 211.6M 2% /target/boot
/dev/mapper/raisuck-home 1024.0M 32.1M 991.9M 3% /target/home
/dev/mapper/raisuck-srv 1.4G 2.1M 1.3G 0% /target/srv
/dev/mapper/raisuck-tmp 959.7M 32.1M 917.3M 3% /target/tmp
/dev/mapper/raisuck-usr 4.0G 178.6M 3.6G 5% /target/usr
/dev/mapper/raisuck-var 4.0G 61.8M 3.9G 2% /target/var

~ # cat /proc/mounts
rootfs / rootfs rw 0 0
none /proc proc rw 0 0
tmpfs /dev tmpfs rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /.dev tmpfs rw 0 0
/dev/mapper/raisuck-root /target xfs rw 0 0
/dev/md/0 /target/boot ext3 rw,data=ordered 0 0
/dev/mapper/raisuck-home /target/home reiserfs rw 0 0
/dev/mapper/raisuck-srv /target/srv ext2 rw 0 0
/dev/mapper/raisuck-tmp /target/tmp ext3 rw,data=ordered 0 0
/dev/mapper/raisuck-usr /target/usr ext3 rw,data=ordered 0 0
/dev/mapper/raisuck-var /target/var xfs rw 0 0

NOTE that for each partition i did set possible different settings like large/large4/extend attrs/user_quota etc.. in different combinantions. I only made sure that /boot and /tmp are plain ext3

Fabio

Revision history for this message
Colin Watson (cjwatson) wrote :

/target # touch foo
/target # rm foo
/target # cd usr
/target/usr # touch foo
touch: foo: No space left on device
/target/usr # df
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 257312 120 257192 0% /dev
tmpfs 257312 120 257192 0% /.dev
/dev/mapper/raisuck-root 4184064 10336 4173728 0% /target
/dev/md/0 233255 4127 216684 2% /target/boot
/dev/mapper/raisuck-home 1048540 32840 1015700 3% /target/home
/dev/mapper/raisuck-srv 1351250 13 1279148 0% /target/srv
/dev/mapper/raisuck-tmp 982728 32911 939332 3% /target/tmp
/dev/mapper/raisuck-usr 4193472 182856 3800904 5% /target/usr
/dev/mapper/raisuck-var 4184064 63328 4120736 2% /target/var
/target/usr # mount
[...]
/dev/mapper/raisuck-usr on /target/usr type ext3 (rw,data=ordered)

Kernel bug, IMO. 'strace touch foo' says:
[...]
open("foo", O_RDWR|O_CREAT|O_LARGEFILE, 0666) = -1 ENOSPC (No space left on dev)

Revision history for this message
Kjell Braden (afflux) wrote :

Can you please test if this is still a problem in 2.6.24?

Changed in linux-source-2.6.17:
status: New → Won't Fix
Changed in linux:
status: New → Incomplete
Revision history for this message
Kjell Braden (afflux) wrote : expired

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in linux:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.