View previous topic :: View next topic |
Author |
Message |
tommy_haaland Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 04 Oct 2003 Posts: 320
|
Posted: Thu Mar 17, 2005 10:44 am Post subject: After reboot I got alot more free disk space, how come? |
|
|
I have had my linux box on for a week, and today I rebooted, and got this message when the system was shutting down:
Code: | Enter root password for maintance..."
|
I did, and only got to this bash prompt. When I booted gentoo again, I have 7 Gb more free disk space...how come? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ectospasm l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/178538108643c6afee61ed2.gif)
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
Posted: Thu Mar 17, 2005 11:01 am Post subject: |
|
|
Usually you get the "Enter root password for maintenance" message if something went wrong with fsck when checking your partitions on boot. I can't say exactly what you did, but you probably inadvertantly wiped 7GB from your disks in maintenance mode. If everything else seems to be working, and you're not missing any important files you created yourself, I wouldn't worry about it. But you need to be very careful when you enter maintenance mode.
If fsck failed I'd seriously look into why it might have failed. You might be looking at an imminent drive failure. Have you installed smartmontools? _________________ Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tommy_haaland Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 04 Oct 2003 Posts: 320
|
Posted: Thu Mar 17, 2005 11:14 am Post subject: |
|
|
Hi,
No, I don't have smartmontools , what is that? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kimchi_sg Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Nov 2004 Posts: 3029
|
Posted: Thu Mar 17, 2005 11:18 am Post subject: |
|
|
I don't think the free space is really there at all. There might be a problem with either your filesystem, your drive, or both.
Having 7GB extra free space sounds too good to be true. And in most cases, it is. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tommy_haaland Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 04 Oct 2003 Posts: 320
|
Posted: Thu Mar 17, 2005 11:25 am Post subject: |
|
|
I have had this problem several times...after reboot, the file system is checked, and I get several GBs as free space... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ectospasm l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/178538108643c6afee61ed2.gif)
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
Posted: Thu Mar 17, 2005 12:44 pm Post subject: |
|
|
Assuming you have SMART capable drives (most current ATA and SCSI hard drives do), you can use that capability to monitor the health of your drives. This Linux Journal article gives a good introduction to using SMART:
Monitoring Hard Disks with SMART
If you have any Serial ATA drives, SMART only supports them if you use the "standard" drivers/ide driver, and even then only if you have one of a specific set of SATA controllers. I say "standard" because most SATA drives are driven by the libata driver, which is part of the SCSI subset, so it's actually non-standard to be using the drivers/ide driver. SMART functionality should be added to the libata driver "real soon now(TM)." There already is an unofficial patch, but I'm afraid to use it. (-: _________________ Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrism Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Jul 2004 Posts: 526
|
Posted: Thu Mar 17, 2005 12:45 pm Post subject: |
|
|
Maybe you had a lot of log files which are now gone. I once had the problem that someone tried to break into my router and that created almost 4 GB in log files and other files like mail....... .
Chris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tommy_haaland Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 04 Oct 2003 Posts: 320
|
Posted: Thu Mar 17, 2005 3:03 pm Post subject: |
|
|
might be that I had alot of log-files...are the log-files automatically deleted during filesystem check? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrism Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Jul 2004 Posts: 526
|
Posted: Thu Mar 17, 2005 4:14 pm Post subject: |
|
|
tommy_haaland wrote: | might be that I had alot of log-files...are the log-files automatically deleted during filesystem check? |
Not to my knowlage.
Chris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nard` Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Jan 2005 Posts: 250
|
Posted: Thu Mar 17, 2005 5:14 pm Post subject: |
|
|
tommy_haaland wrote: | might be that I had alot of log-files...are the log-files automatically deleted during filesystem check? |
No, the fsck (filesystem check) simply checks your filesystem to see if it's "integrity" is ok. The exact process varies for different filesystems, it sounds like something is corrupted or longer readable, most likely your hard disk is dieing. How long have you had it for? Run fsck manually (do it from LiveCD, doing it while having it mounted can damage it ![Wink ;)](images/smiles/icon_wink.gif) _________________ Programming is the process of putting bugs in.
Debugging is the process of attempting to take bugs out, doing an ugly hack, hitting your computer, then claiming insurance. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dusdus Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Jan 2005 Posts: 208 Location: Netherlands
|
Posted: Tue Mar 22, 2005 7:48 pm Post subject: |
|
|
tommy_haaland wrote: | might be that I had alot of log-files...are the log-files automatically deleted during filesystem check? |
7 Gb of logfiles?!
![Laughing :lol:](images/smiles/icon_lol.gif) _________________ Sorry, I don't understand... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kimchi_sg Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Nov 2004 Posts: 3029
|
Posted: Wed Mar 23, 2005 3:04 am Post subject: |
|
|
I wonder what has become of the original poster - and his (broken?) hard drive. ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|