Problem: How to resize FreeBSD "partitions" on a live system?
- From: "KimmoA" <kimmoa@xxxxxxxxx>
- Date: 14 Jun 2006 20:26:57 -0700
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...).
I have absolutely no idea how to change the size of a
partition/slice/whatever the actual term is (there seems to be great
confusion regarding this). I have tried asking people, reading manpages
(starting with fdisk), etc... but no luck.
So... how do you do it? Is it difficult? Perhaps it is, but worth the
trouble?
The box is a FreeBSD 6.1 box acting as a busy dedicated Web/internal
(MySQL) database server. PHP 5. Will access Web data files and the
database frequently.
Do you really earn that much performance by chopping up your system/HDD
in little pieces? I realize that this is closer to the "ideal" system
(considering the present's hardware and how computers work in general),
and I like to do things "right" (would I be writing this if that
weren't the case?), but does it really matter?
BTW... when I ran the installer the last time, I think I found a bug. I
chose the auto defaults, deleted the /var and /usr (apparently, you
can't just resize/modify them directly), and re-added /var with 10000M
(the HDD is 40 GB), and was gonna give the rest to /usr. The exact
amount of "free" space left was what I added (in fact, it was filled in
exactly by default), but it kept complaining that there was "no space
left"! What is up with that?
I tried giving it just a few MBs, and that worked. Some kind of
rounding error? Highly annoying in either case...
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! :-)
.
- Follow-Ups:
- Prev by Date: Re: freeBSd for a 486
- Next by Date: Blank screen after Xorg -configure
- Previous by thread: Re: support for Marvell ?Yukon? 88E8050 Gigabit Ethernet controller
- Next by thread: Re: Problem: How to resize FreeBSD "partitions" on a live system?
- Index(es):
Relevant Pages
|