Hard drive full, can't log in

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

Hard drive full, can't log in

Postby artchy on Wed Jun 27, 2007 4:38 am

Hello! I've been using Mint for a while, but then the HDD got full. There was notification about that, but I didn't read it. Then I decided to restart my computer, but after that I couldn't log in anymore. It says that drive is full and I need to contact my system administrator.
Please help! I want my Mint back.
Thankyou.
User avatar
artchy
Level 1
Level 1
 
Posts: 12
Joined: Tue Apr 03, 2007 3:20 pm

Linux Mint is funded by ads and donations.
 

Postby Sorensei on Wed Jun 27, 2007 5:01 am

Hi!
How big is your drive and what do you have on it?
Is the disk itself full or just the / partition?
Do you have your /home on a separate partition or not?
I don't have a solution, but I do admire the problem.
User avatar
Sorensei
Level 4
Level 4
 
Posts: 254
Joined: Tue Jan 16, 2007 8:24 am
Location: Switzerland

Postby artchy on Wed Jun 27, 2007 5:16 am

I have 20 GB IDE HDD. 4,95 GB are for file storage, 10,7 GB are for WindowsXP and the rest of the space is for LinuxMint (~3.3 GB). Linux isn't my main OS so I don't need much space.

Edit: No, whole Linux is on one partition. Only Linux partition is full.
User avatar
artchy
Level 1
Level 1
 
Posts: 12
Joined: Tue Apr 03, 2007 3:20 pm

Postby Sorensei on Wed Jun 27, 2007 5:28 am

3.3G for Linux seems to me pretty thin... is it for the system only? Or does it include your /home?

I'm afraid even with cleaning up useless files you may find yourself in the same situation pretty soon. Any possibility of moving the file storage partition to another disk and increase the size of the Minty one?
I don't have a solution, but I do admire the problem.
User avatar
Sorensei
Level 4
Level 4
 
Posts: 254
Joined: Tue Jan 16, 2007 8:24 am
Location: Switzerland

Postby Boo on Wed Jun 27, 2007 6:40 am

so the fix is to boot of the live CD mount / and delete some of /var/log files.

once you have some room you can reboot normally.

the log file solution is to configure logrotate to delete logfiles after x days or if they get to a certain size.

so do a man on logrotate and look at /etc/logrotate.conf and /etc/logrotate.d/.

and check that if a particular log file was the culprit that is included in the logrotate config.

:D
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Postby Sorensei on Wed Jun 27, 2007 8:38 am

:D
I don't have a solution, but I do admire the problem.
User avatar
Sorensei
Level 4
Level 4
 
Posts: 254
Joined: Tue Jan 16, 2007 8:24 am
Location: Switzerland

Postby artchy on Wed Jun 27, 2007 9:10 am

I should mention that I'm not a pro, infact I'm just starting to learn the basic comands.
Could you tell me how to mount that ''/'' ? Because I tried to insert the LiveCD, but when it started I only saw fat32 partitions and the Filesystem from LiveCD.

Yes,Sorensei, it includes /home. I gues I'll need to give more space for Mint when I'll be able to ;).

Edit: OK, I found that / :D I wasn' t careful when I was looking for it. :P Now I've got a question: Wich files to delete?

Edit2: I decided to delete all files on /log directory, but it keeps saying that I don't have permissions to modificate the file... or smtn :( What to do now?

I also tried to do something like this in terminal:
mint@mint:~$ rm /media/disk/var/log/dpkg.log
rm: remove write-protected regular file `/media/disk/var/log/dpkg.log'? y
rm: cannot remove `/media/disk/var/log/dpkg.log': Permission denied
User avatar
artchy
Level 1
Level 1
 
Posts: 12
Joined: Tue Apr 03, 2007 3:20 pm

Postby speaker219 on Wed Jun 27, 2007 1:31 pm

artchy wrote:I should mention that I'm not a pro, infact I'm just starting to learn the basic comands.
Could you tell me how to mount that ''/'' ? Because I tried to insert the LiveCD, but when it started I only saw fat32 partitions and the Filesystem from LiveCD.

Yes,Sorensei, it includes /home. I gues I'll need to give more space for Mint when I'll be able to ;).

Edit: OK, I found that / :D I wasn' t careful when I was looking for it. :P Now I've got a question: Wich files to delete?

Edit2: I decided to delete all files on /log directory, but it keeps saying that I don't have permissions to modificate the file... or smtn :( What to do now?

I also tried to do something like this in terminal:
mint@mint:~$ rm /media/disk/var/log/dpkg.log
rm: remove write-protected regular file `/media/disk/var/log/dpkg.log'? y
rm: cannot remove `/media/disk/var/log/dpkg.log': Permission denied

have you tried using sudo? if you want to delete everything in the /media/disk/var/log/ folder (including subfolders and its files) try this
Code: Select all
sudo rm -Rdf /media/disk/var/log/*
speaker219
Level 2
Level 2
 
Posts: 56
Joined: Tue Jun 19, 2007 4:54 pm

Postby artchy on Wed Jun 27, 2007 2:04 pm

Thank you all and especially speaker219 - it worked!
I love this forum because, if you have some trouble, you'll get help really soon. Thank you.
User avatar
artchy
Level 1
Level 1
 
Posts: 12
Joined: Tue Apr 03, 2007 3:20 pm

Postby speaker219 on Thu Jun 28, 2007 12:30 am

artchy wrote:Thank you all and especially speaker219 - it worked!
I love this forum because, if you have some trouble, you'll get help really soon. Thank you.

No problem, glad to help :D
speaker219
Level 2
Level 2
 
Posts: 56
Joined: Tue Jun 19, 2007 4:54 pm

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: No registered users and 7 guests