Re: Problem: How to resize FreeBSD "partitions" on a live system?
- From: Steve Ackman <steve@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 15 Jun 2006 10:37:18 -0400
In <1150342017.343733.127600@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, on 14 Jun
2006 20:26:57 -0700, KimmoA wrote:
This is something I have thought about for a long time.
Is it really so bad to use / for the entire disk (except (MEM * 2) for
swap)? I have found that with the auto defaults, my /var quickly grows
out of control (heavy database; lots of spam filling up logs, etc...).
This is partly the reason for dividing the drive
into partitions. In the event of, say, a mail flood,
you don't end up filling your drive and bringing the
whole system down.
Please tell me what to do! I can't make up my mind... and I don't think
I really know enough about this to make the right choice. Yes, I have
read the installer's explanations. They sound reasonable, and I'd love
to do it like you're supposed to, but I'd like to hear your comments on
this first.
So, to clearify: I would like to know how to expand my /var on a live
system, taking space from /usr! :-)
You can effectively do that without touching partitions
by creating a directory like /usr/var/db and moving all
your /var/db stuff to it. Now create the link
/var/db -> /usr/var/db
All your other apps that were contributing to filling
up /var have more breathing room, and your db now has
full use of /usr.
That's one way to do it, anyway...
.
- Follow-Ups:
- Re: Problem: How to resize FreeBSD "partitions" on a live system?
- From: Bill Vermillion
- Re: Problem: How to resize FreeBSD "partitions" on a live system?
- From: jpd
- Re: Problem: How to resize FreeBSD "partitions" on a live system?
- References:
- Prev by Date: Re: IPFIREWALL or PF
- Next by Date: Re: Problem: How to resize FreeBSD "partitions" on a live system?
- Previous by thread: Problem: How to resize FreeBSD "partitions" on a live system?
- Next by thread: Re: Problem: How to resize FreeBSD "partitions" on a live system?
- Index(es):