Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After reboot I got alot more free disk space, how come?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tommy_haaland
Guru
Guru


Joined: 04 Oct 2003
Posts: 320

PostPosted: Thu Mar 17, 2005 10:44 am    Post subject: After reboot I got alot more free disk space, how come? Reply with quote

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
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Thu Mar 17, 2005 11:01 am    Post subject: Reply with quote

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
View user's profile Send private message
tommy_haaland
Guru
Guru


Joined: 04 Oct 2003
Posts: 320

PostPosted: Thu Mar 17, 2005 11:14 am    Post subject: Reply with quote

Hi,

No, I don't have smartmontools , what is that?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Thu Mar 17, 2005 11:18 am    Post subject: Reply with quote

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
View user's profile Send private message
tommy_haaland
Guru
Guru


Joined: 04 Oct 2003
Posts: 320

PostPosted: Thu Mar 17, 2005 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Thu Mar 17, 2005 12:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Thu Mar 17, 2005 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
tommy_haaland
Guru
Guru


Joined: 04 Oct 2003
Posts: 320

PostPosted: Thu Mar 17, 2005 3:03 pm    Post subject: Reply with quote

might be that I had alot of log-files...are the log-files automatically deleted during filesystem check?
Back to top
View user's profile Send private message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Thu Mar 17, 2005 4:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nard`
Apprentice
Apprentice


Joined: 23 Jan 2005
Posts: 250

PostPosted: Thu Mar 17, 2005 5:14 pm    Post subject: Reply with quote

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 ;)
_________________
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
View user's profile Send private message
dusdus
Apprentice
Apprentice


Joined: 20 Jan 2005
Posts: 208
Location: Netherlands

PostPosted: Tue Mar 22, 2005 7:48 pm    Post subject: Reply with quote

tommy_haaland wrote:
might be that I had alot of log-files...are the log-files automatically deleted during filesystem check?

8O
7 Gb of logfiles?!

:lol:
_________________
Sorry, I don't understand...
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Wed Mar 23, 2005 3:04 am    Post subject: Reply with quote

I wonder what has become of the original poster - and his (broken?) hard drive. :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum