lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 24 Oct 2007 11:05:27 -0700
From:	"James Ausmus" <james.ausmus@...il.com>
To:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Possible 2.6.23 regression - Disappearing disk space

Since updating my laptop to 2.6.23, occasionally all of my free disk
space on my root partition will just go away, with no files accounting
for the space, with no odd messages in dmesg or my syslog. If I
reboot, I immediately have the proper amount of free space again. Here
is the output of a du -sx * on /, and the output of the df command
when the problem is occuring, followed by the same info after a fresh
reboot (literally just did the command in the failed state, then
immediately rebooted and ran the same commands again) - any thoughts
as to what might be happening?

As a note - when I first see the issue, I have exactly 0 free space
available on root, as per df - I then delete some random things in
order to have enough free space to operate, which is why in my first
df you see 55M available

Prior to reboot (with issue occurring):

charles / # du -sx *
8814    bin
0       boot
132     dev
392     emul
105869  etc
1718345 home
0       lib
4858    lib32
72358   lib64
4       media
72374   mnt
2027054 opt
0       proc
126411  root
15596   sbin
0       sys
28237   tmp
20887995        usr
1098215 var

charles / # df

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda4             37020624  36964772     55852 100% /
udev                     10240       132     10108   2% /dev
shm                    1028712        24   1028688   1% /dev/shm
/dev/sdc2             73246080  20255824  52990256  28% /media/linux

charles / #

du -sx totals: 26,166,654

Post reboot:

charles / # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda4             37020624  24449440  12571184  67% /
udev                     10240       132     10108   2% /dev
shm                    1028712         0   1028712   0% /dev/shm
/dev/sdg2             73246080  20255824  52990256  28% /media/linux
charles / # du -sx /

charles / # du -sx *
8814    bin
0       boot
132     dev
392     emul
105869  etc
1719241 home
0       lib
4858    lib32
72358   lib64
4       media
72374   mnt
2027054 opt
0       proc
126406  root
15596   sbin
0       sys
28249   tmp
20887995        usr
1040963 var

charles / # df

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda4             37020624  24452848  12567776  67% /
udev                     10240       132     10108   2% /dev
shm                    1028712        24   1028688   1% /dev/shm
/dev/sdg2             73246080  20255824  52990256  28% /media/linux

charles / #

charles / # uname -a
Linux charles 2.6.23-gentoo #1 SMP PREEMPT Tue Oct 16 11:34:08 PDT
2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
AuthenticAMD GNU/Linux

charles / # mount
/dev/sda4 on / type reiserfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
nfsd on /proc/fs/nfs type nfsd (rw,noexec,nosuid,nodev)
/dev/sdg2 on /media/linux type reiserfs (rw,nosuid,nodev)
/media/linux/usr/portage/distfiles on /usr/portage/distfiles type none
(rw,noexec,nosuid,nodev,bind)



As you can see, the du -sx * gives virtually identical used space
(which adds up to about 26G, in both instances), but df thinks that
there is no free space available, and I can't write anything to disk
(I get a disk full error).

Attached is output from lspci -v, and zcat /proc/config.gz

Thanks!

-James

Download attachment "config" of type "application/octet-stream" (42338 bytes)

View attachment "lspci.txt" of type "text/plain" (9311 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ