Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I don not like full disks
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
bdx
n00b
n00b


Joined: 04 Jan 2006
Posts: 65

PostPosted: Thu Nov 27, 2014 2:10 am    Post subject: I don not like full disks Reply with quote

Ok, when I accidentally have a full disk and re-boot my gentoo system it appears to be un-bootable. I have mysql in the default runlevel and it can not start with a full disk. My next complaint is that X can not start with a full disk either, it fails with "Keyboard initialization failed", not the greatest error message. Can I have an init script that stops things early in the boot process that will tell me the disk is full ?
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Thu Nov 27, 2014 1:44 pm    Post subject: Reply with quote

I guess that you just need some space on /var and/or /var/log. It's good to have /var on a seperate filesystem.
Back to top
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 434
Location: Stockholm

PostPosted: Thu Nov 27, 2014 11:00 pm    Post subject: Reply with quote

Reserve some % for the root user..
Back to top
View user's profile Send private message
bdx
n00b
n00b


Joined: 04 Jan 2006
Posts: 65

PostPosted: Fri Nov 28, 2014 3:52 am    Post subject: Reply with quote

How do you do that ?
Back to top
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 434
Location: Stockholm

PostPosted: Fri Nov 28, 2014 8:17 am    Post subject: Reply with quote

bdx wrote:
How do you do that ?

Code:
tune2fs -m 5 /dev/sda1
will reserve 5% if you use ext2 file system...
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