|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
BSD partitions and stuff
Hey all, Im trying to install PHP on my OPenBSD 4.8 box. When I try to install it I get some errors saying that the
Code:
/usr Code:
# size offset fstype [fsize bsize cpg] a: 2097152 64 4.2BSD 2048 16384 1 # / b: 1568832 2097216 swap c: 156301488 0 unused d: 8388608 3666048 4.2BSD 2048 16384 1 # /tmp e: 10477696 12054656 4.2BSD 2048 16384 1 # /var f: 4194304 22532352 4.2BSD 2048 16384 1 # /usr g: 2097152 26726656 4.2BSD 2048 16384 1 # /usr/X11R6 h: 18412448 28823808 4.2BSD 2048 16384 1 # /usr/local i: 4194304 47236256 4.2BSD 2048 16384 1 # /usr/src j: 4194304 51430560 4.2BSD 2048 16384 1 # /usr/obj k: 100671488 55624864 4.2BSD 2048 16384 1 # /home |
|
|||
Quote:
You can look at growfs(8), but it can be used only when the adjacent sectors are free. The disklabel(8) output provided doesn't show that you have such latitude. If you can add a disk to the system, you can possibly move /usr (or whatever partitions you wish...), but think through the process before embarking. Studying Section 14.4 of the FAQ is a good start. Lastly, a trick jggimi advocates is to simply create one all-encompassing partition if you are unsure what sizes partitions should be. Once you have a clearer understanding of what sizes partitions need to be for your usage, then you can slice up the disk(s) again. |
|
||||
I had excactly the same problem when i installed OpenBSD for the first time and did not know what to do.And i could not build java cause there was not enough space(I had chosen the defaults to the installation).In case the tricks suggested above won't work and you want a suggetsion my "trick" was to give 10 gb to my /home directory (i need just for programming projects) and given the rest of the capacity to /usr dir.
Of course i also had a root,a swap and a tmp directory. I gave the rest of the capacity to /usr in case i had problems in the future such as the one i had when building java. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Funny stuff | Carpetsmoker | Off-Topic | 556 | 2nd January 2018 02:01 PM |
Operating BSD partitions through XP | SunSpyda | OpenBSD General | 10 | 16th September 2009 08:22 PM |
How to swap partitions Help | revzalot | OpenBSD Installation and Upgrading | 2 | 1st September 2009 07:44 AM |
more than four primary partitions? | gosha | OpenBSD General | 40 | 13th August 2009 11:43 AM |
partitions | italogf | FreeBSD Installation and Upgrading | 5 | 7th July 2008 12:14 PM |