[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] The filesystem is getting full
- Subject: Re: [cobalt-users] The filesystem is getting full
- From: "Steve Bassi" <steve@xxxxxxxxx>
- Date: Mon Jul 30 04:03:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
At 10:41 AM 7/30/01 +1000, you wrote:
>Hi Shawn,
>
>on 30/7/01 10:14 AM, Shawn Crull at shawn@xxxxxxxxxx wrote:
>
> > Got this cute little email from my qube2, and just wondering...
> >
> > Now what? I looked in the archives, and it said something about linking
> home
> > to /. I understand what that means, but have no idea how to impliment
> it. I
> > only have 487 megs being used, and It's glowing "amber" on me...
>
>There is info in the archives on things you can do to move things from / to
>/home. I think the standard response from Cobalt/Sun is to live with it.
>An alternative which was posted recently was to edit the active monitor
code
>so that it is less sensitive.
>
>The real problem is that the / partition is simply too small.
>
> > I'm supposing my telnet problems are not going to help this situation.
>
>You will need telnet to deal with this. ;-)
>
>Cheers, Malcolm
Hi
This is what I did on a RAQ3 if it helps
I was fed up with /dev/hda1 being 95% full with all the stuff I put on
there, including mysql and /dev/hda4 had tons of empty space.
SO - after a stiff drink, I deceided to move it to /dev/hda4.
This I did as follows:
cd /home
mkdir local
cd /usr
#copied the local dir
tar cf - local | (cd /home && tar xvf -)
#moved it making a link
mv local local.old; ln -s /home/local local; ls -ald local
#I then checked to make sure it all worked
ls -ald local*
#and then took my life in my hands
rm -fr local.old;sync;df
All seemed to work well except poor Brian (GUI) got a red light on disk
usage and sent an email to admin telling me that mysql was limited to 1MB
and gone over its quota.
I found this neat command that tells you all the quotas for groups and users
repquota -v -g -u -a
The report that printed out told me that MYSQL was 1135 and my limit was
1024
So I then did
edquota -u mysql
which opens a file in the vi editor and changed the second line from:
/dev/hda4: blocks in use: 1135, limits (soft = 1025, hard = 1024)
to
/dev/hda4: blocks in use: 1135, limits (soft = 10241, hard = 10240)
I then did
/usr/local/sbin/swatch
AND my red light on Brian went out. (he was in a huff about the red light!)
dunno if that may help
Rgds Bassi