Thread View: demon.tech.unix
5 messages
5 total messages
Started by Mark Chater
Wed, 18 Oct 2000 00:00
leafnode & /var size
Author: Mark Chater
Date: Wed, 18 Oct 2000 00:00
Date: Wed, 18 Oct 2000 00:00
27 lines
1669 bytes
1669 bytes
I installed leafnode over the weekend but have had to disable it as my /var partition is vanishing before my very eyes. It worked very nicely for a few hours but had to be stopped when df said I was up around 85% full on /dev/hda10 and still climbing. When I installed the OS (RH6.2) I had little idea what went into /var so took a guess at how much space and clearly made it too small :( What I think I need to do is reduce the size of my (far too big) /usr partition and increase the size of my (far too small) /var, or tell leafnode not to stick all its files in /var. I have no idea how to do either and haven't had a great deal of luck trying to find solutions short of reformat / repartition / re-installing the entire OS. My level of experise could be described as "newbie or just above" so sorry if this is a dumb/innapropriate question. I suppose I could unsubscribe some of the demon newsgroups, that would probably free up loads of MBs, esp demon.service. Ideas would be very welcome - Mark @ work http://www.onomatopoeia.plus.com - motorsport in Hillman Imps and derivatives, plus other errant nonsense
Re: leafnode & /var size
Author: stuart
Date: Wed, 18 Oct 2000 00:00
Date: Wed, 18 Oct 2000 00:00
20 lines
1322 bytes
1322 bytes
in demon.tech.unix, mark@chater.demon.co.uk (Mark Chater) wrote: >I have no idea how to do either and haven't had a great deal of luck >trying to find solutions short of reformat / repartition / >re-installing the entire OS. As you have loads of space in /usr why not move the /var/spool/news to something like /usr/local/news (mv /var/spool/news /usr/local/news) then make a softlink from the old /var/spool/news to the new /usr/local/news (ln -s /var/spool/news /usr/local/news) All the above has to be done as root and then chown'd to news.news (cd /usr/local; chown -R news.news news) If you start running out of space in /usr then you could try expiring the news earlier. Just edit /etc/leafnode/config. Hope the above helps
Re: leafnode & /var size
Author: Mark Chater
Date: Wed, 18 Oct 2000 00:00
Date: Wed, 18 Oct 2000 00:00
21 lines
1242 bytes
1242 bytes
On Wed, 18 Oct 2000 19:19:54 +0100, <stuart@trognet.demon.co.uk> wrote: >As you have loads of space in /usr why not move the /var/spool/news to something >like /usr/local/news (mv /var/spool/news /usr/local/news) then make a softlink >from the old /var/spool/news to the new /usr/local/news (ln -s /var/spool/news >/usr/local/news) ta, thats exactly what I needed :). I was wondering about a soft link but couldn't sort out how I should do it. Lack of experience showing there. Thanks again. - Mark @ home http://www.onomatopoeia.plus.com - motorsport in Hillman Imps and derivatives, plus other errant nonsense
Re: leafnode & /var size
Author: Ian Northeast
Date: Wed, 18 Oct 2000 00:00
Date: Wed, 18 Oct 2000 00:00
39 lines
2542 bytes
2542 bytes
stuart@trognet.demon.co.uk wrote: > > in demon.tech.unix, > mark@chater.demon.co.uk (Mark Chater) wrote: > > >I have no idea how to do either and haven't had a great deal of luck > >trying to find solutions short of reformat / repartition / > >re-installing the entire OS. > > As you have loads of space in /usr why not move the /var/spool/news to something > like /usr/local/news (mv /var/spool/news /usr/local/news) then make a softlink > from the old /var/spool/news to the new /usr/local/news (ln -s /var/spool/news > /usr/local/news) > > All the above has to be done as root and then chown'd to news.news > (cd /usr/local; chown -R news.news news) > > If you start running out of space in /usr then you could try expiring > the news earlier. Just edit /etc/leafnode/config. > > Hope the above helps This is fine for a non mission critical system but I would not do it on anything important. /var is quite a volatile filesystem and /usr isn't (or shouldn't be). Volatile filesystems are more prone to damage after failures (even if your software is 100% and never crashes, hardware and power can fail). Your system will tolerate errors in /var much better than errors in /usr. Resizing the filesystems would be best done in single user mode without them mounted - you can copy them to new partitions and amend /etc/fstab as appropriate, taking backups (in the most paranoid way) every time it even occurs to you that it might be necessary. The exact process depends on the exact layout and needs a little planning, and some free space to start with. I suspect that the OP's system isn't so critical that he would want to do this, but he didn't actually state what it does. I suspect it that isn't the control system of a nuclear reactor:) Ian
Re: leafnode & /var size
Author: mark
Date: Thu, 19 Oct 2000 00:00
Date: Thu, 19 Oct 2000 00:00
18 lines
1474 bytes
1474 bytes
On Wed, 18 Oct 2000 21:24:36 +0100, Ian Northeast <ian@house-from-hell.demon.co.uk> wrote: >start with. I suspect that the OP's system isn't so critical that he >would want to do this, but he didn't actually state what it does. I >suspect it that isn't the control system of a nuclear reactor:) > Not a nuclear reactor no, but then I don't think I would run leafnode on the same PC that was controlling my nuclear reactor :) It merely serves as a router to share an internet connection between a couple of other PCs which run more Gatesian operating systems. Should it die I will plug the modem into a Windoze box while I rebuild it. A nuisance but hardly a disaster. However since it has been running for a couple of months without requiring a reboot and the Windows machines can rarely last more than a couple of days I do not forsee any problems :)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads