[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#270728: largefile4 with 10% reserved broke /var



Package: partman-basicfilesystems
Severity: normal
Tags: d-i

I did an install where /var was an ext2 partition, of size 2.8 gb (the
size picked by partman-auto/multi-user-system on this ~30 gb drive). I
told it to reserve 10% of the disk and use the largefile4 block size.
This resulted in something weird; during debootstrap, dpkg failed to
unpack files into /var with errors about it being out of space. But once
debootstrap failed, only about 28 mb of /var was used; there were
gigabytes free. 

I tried turning off largefile4, and debootstrap runs ok. Likewise, if I
leave largefile4 on, and set reseved to 2% or 1%, debootstrap runs. But
there seems to be something bad about the combination of largefile4 and
10% reseved disk, I can reproduce the problem with that.

The error messages from dpkg were of this ilk:

tar: ./postrm: Cannot open: No space left on device

unable to create updated files list file for package net-tools: No space
left on device

dpkg: error while cleaning up:
 unable to create /var/lib/dpkg/updates/tmp.i: No space left on device
Segmentation fault

After this failure, I tried dding 1 gb of /dev/null to
/var/lib/dpkg/foo, and it went off without a hitch. Weird!

(Installing using 8 sept sid_d-i netinst iso with 2.4.27 kernel.)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=en_US, LC_CTYPE=en_US

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: