LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-12-2006, 10:59 AM   #1
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
Disk space dissepeared


Hi there
I've got a strange problem here : my boot partition is full but there is actually almost nothing in it.

Code:
$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda8              14G  2.1G   12G  16% /
none                  506M     0  506M   0% /dev/shm
/dev/sda5              23G   15G  7.5G  67% /mnt/dts
/dev/sda6              23G   22G  536M  98% /mnt/dte
/dev/sda7              47M   42M  5.7M  88% /boot

$ du -h /boot
309K    /boot/grub
9.3M    /boot

$ ls -lah
total 9.0M
drwxr-xr-x  5 root root  376 2006-08-12 11:31 .
drwxr-xr-x 21 root root  488 2006-08-05 07:07 ..
-rw-r--r--  1 root root 673K 2006-08-07 02:34 System.map26
-rw-r--r--  1 root root 5.0K 2006-07-25 16:16 diag1.img
drwxr-xr-x  2 root root  512 2006-08-12 11:32 grub
-rw-r--r--  1 root root 3.1M 2006-08-07 19:20 initrd26-full.img
-rw-r--r--  1 root root 2.6M 2006-08-07 19:20 initrd26.img
-rw-r--r--  1 root root  59K 2006-08-07 19:20 kconfig26
-rw-r--r--  1 root root 954K 2006-08-07 19:20 kernel26.img
-rw-r--r--  1 root root 2.3K 2006-08-07 02:35 mkinitcpio-kernel26.conf
-rw-r--r--  1 root root 1.7M 2006-08-07 02:34 vmlinuz26
I've investigated but I can't find the source of the problem so any kind of help would be appreciated.

Thanks,
Rognon
 
Old 08-12-2006, 11:34 AM   #2
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
What fs are you using for /boot? A journaling fs (ext3/reiser) will eat 32MB (by default) for the journal.
 
Old 08-12-2006, 12:44 PM   #3
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Original Poster
Rep: Reputation: 15
I'm using reiserfs... I've always used a 50mb ext3 partition for /boot but never had this problem. I tried reiser the last time I switched distro.
What would be the best way to change fs without formating ? Would copying all the files elsewhere, formating then putting the files back work ?
 
Old 08-12-2006, 01:38 PM   #4
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
Yeah, that should work fine, nothing in /boot is required while the system is running. Remember to update /etc/fstab before you reboot (though it's no big deal if you forget, /boot isn't really used after the kernel is loaded).

It's usually best to use ext2 for /boot as it's so small. Since you only write to it when installing a new kernel, fs corruption is a minor issue, so journaling isn't really required.
 
Old 08-12-2006, 03:40 PM   #5
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Original Poster
Rep: Reputation: 15
It works perfectly. I had to reinstall grub but now it works. Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Disk Space stalefish Linux - General 4 04-01-2004 03:32 PM
Somehow all my disk space keeps getting used AbbZer0 Linux - Newbie 8 02-27-2004 01:47 AM
Disk Space? Gerardoj Linux - General 4 05-28-2003 12:11 AM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration