openSUSE 11.2 kernel upgrade causes bootchart to fill root

Howzit Folks?

I did a kernel upgrade in openSUSE 11.2 which caused bootchart to fill the root partition or so it would appear as when I rebooted I started getting messages on the console saying bootchartd could not write because the device was full. Aaaarrrrgggghhhh!!! >:(

Let me begin by describing my system:

Partition table:
fdisk -l /dev/sda

Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00083a53

Device Boot Start End Blocks Id System
/dev/sda1 1 2612 20980858+ 7 HPFS/NTFS
/dev/sda2 2613 15666 104856255 7 HPFS/NTFS
/dev/sda3 * 15667 15927 2096482+ 83 Linux
/dev/sda4 15928 60801 360450405 f W95 Ext’d (LBA)
/dev/sda5 15928 59756 352056411 8e Linux LVM
/dev/sda6 59757 60801 8393931 82 Linux swap / Solaris

Relevant fstab entries:
/dev/sda3 on / type ext3 (rw,acl,user_xattr)
/dev/mapper/vg1-home on /home type ext3 (rw,acl,user_xattr)
/dev/mapper/vg1-opt on /opt type ext3 (rw,acl,user_xattr)
/dev/mapper/vg1-srv on /srv type ext3 (rw,acl,user_xattr)
/dev/mapper/vg1-tmp on /tmp type ext3 (rw,acl,user_xattr)
/dev/mapper/vg1-usr on /usr type ext3 (rw,acl,user_xattr)
/dev/mapper/vg1-var on /var type ext3 (rw,acl,user_xattr)
/dev/loop0 on /srv/ftp/openSUSE-11.2-x86_64/DVD type iso9660 (ro)

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 2.0G 2.0G 0 100% /
udev 3.9G 1.4M 3.9G 1% /dev
/dev/mapper/vg1-home 119G 104G 8.5G 93% /home
/dev/mapper/vg1-opt 5.0G 1.3G 3.4G 28% /opt
/dev/mapper/vg1-srv 5.0G 195M 4.5G 5% /srv
/dev/mapper/vg1-tmp 1008M 316M 642M 33% /tmp
/dev/mapper/vg1-usr 20G 8.5G 11G 45% /usr
/dev/mapper/vg1-var 1008M 655M 303M 69% /var
/dev/loop0 4.4G 4.4G 0 100% /srv/ftp/openSUSE-11.2-x86_64/DVD

du -h --max-depth=1 /
0 /proc
12K /mnt
283M /tmp
1.2G /opt
14M /sbin
0 /sys
4.0K /media
4.0K /selinux
4.5G /srv
4.0K /winsys
622M /var
8.3G /usr
104G /home
1.4M /dev
8.1M /bin
258M /lib
18M /lib64
44M /boot
16K /lost+found
24M /root
42M /etc
119G /

du -hx --max-depth=1 /
0 /proc
12K /mnt
16K /tmp
4.0K /opt
14M /sbin
0 /sys
4.0K /media
4.0K /selinux
4.0K /srv
4.0K /winsys
4.0K /var
4.0K /usr
4.0K /home
0 /dev
8.1M /bin
258M /lib
18M /lib64
44M /boot
16K /lost+found
24M /root
42M /etc
405M /

As you can see from the partition table I have 2GB allocated for the / partition and according to the df command there is 0 free space but du -hx shows / is only using 405MB. What’s happened to the almost 1.6GB that should be available? :open_mouth:

I’m absolutely stumped :\ any help appreciated.

Cheers
Aztrix

got the same problem here.

found a workaround: go to single user mode, unmount tmp, cd into tmp and suddenly there are all these bootchart directories, remove them and you are ok for a while :wink: seems like bootcharts start writing into /tmp before the tmp-partition gets mounted and somehow manages to keep on writing in the now hidden files…

any way to turn bootchart off or solve this problem otherwise?

ARUN

apersaud wrote:
> any way to turn bootchart off or solve this problem otherwise?

does a default install of openSUSE include bootchart? i don’t have a
running copy of 11.2 here, but i think bootchart is a program your
machine’s administrator added…perhaps without your knowledge…

i’d guess the default installation of bootchart includes documentaion
on how to set it up (i doubt the default install setup includes the
filling of tmp as you describe)…and, the documentation probably
tells you how to avoid the problem, or turn off bootchart…

try, at a terminal command line:


man bootchart

if that doesn’t give you what you need, try


info bootchart

or, have a look in /usr/share/doc/packages/bootchart (or near
there…maybe it is /usr/share/doc/bootchart)

also, you could have a look in these fora for successful setup of
bootchart, maybe in here:
http://www.google.com/search?q=site%3Aforums.opensuse.org+bootchart


palladium