Gentoo Archives: gentoo-user

From: Christopher Fisk <chrisf@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: disk full but lot of space
Date: Mon, 08 Aug 2005 14:00:52
Message-Id: Pine.LNX.4.63.0508080914490.23499@borg.mhonline.net
In Reply to: Re: [gentoo-user] OT: disk full but lot of space by Christoph Gysin
1 On Mon, 8 Aug 2005, Christoph Gysin wrote:
2
3 >> Check your temp partitions...
4 >
5 > What makes you believe this has something to do with /tmp?
6 >
7 > Just curious...
8
9 He didn't read the whole message, saw disk full and said oh, his temp
10 partition is overflowing.
11
12 The correct answer here is that you have to do an fsck. The best solution
13 is to just be at the console of the machine, where you can boot into
14 single user mode and run the fsck.
15
16 If that is not an option you'll need to make sure everyone is off the
17 machine (Maintenance window?), stop all the services except the network
18 services and sshd then remount the partition readd only and run the fsck.
19
20 quick rundown of commands:
21
22 rc-update show
23 /etc/init.d/service stop #for each non-repair essential service
24 ps auwx #to verify that all the services are stopped that need to be
25 mount -o remount,ro /
26 fsck.ext3 /dev/hdxy
27 mount -o remount,rw /
28 /etc/init.d/services start #for each service you stopped
29
30 At the end of this I really prefer doing a reboot (And fsck may tell you a
31 reboot is required).
32
33 Might want to test the procedure a few times on a non-critical machine,
34 but that should get you through the process.
35
36
37 Christopher Fisk
38 --
39 Adelai: A package is just a box until it's delivered.
40 cBlog: http://chris.uasoft.com/
41 --
42 gentoo-user@g.o mailing list