DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th November 2014
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default directory "USR" is full

hi,
I have intalled openbsd 5,6, gnome3 on Intel Q6600 quad cores,
before i have installed the ports's user (/usr/ports/), when i go to the mysql directory and do make command, the output said me "write failed, file system is full", how to use dynamical allocation of space hardrive for this diretory /usr/ports/.

Code:
# cd mysql
# ls
CVS      Makefile distinfo patches  pkg
# make 
===> mysql-client-5.1.73v0 depends on: metaauto-* - not found
===>  Verifying install for metaauto-* in devel/metaauto

/usr: write failed, file system is full
mkdir: /usr/ports/pobj/metaauto-1.0: No space left on device
mkdir: /usr/ports/pobj/metaauto-1.0: No space left on device
*** Error 1 in /usr/ports/devel/metaauto (/usr/ports/infrastructure/mk/bsd.port.mk:2520 '/usr/ports/pobj/metaauto-1.0/.extract_started': @mk...)
*** Error 1 in /usr/ports/devel/metaauto (/usr/ports/infrastructure/mk/bsd.port.mk:1922 '/usr/ports/packages/i386/no-arch/metaauto-1.0p1.tgz')
*** Error 1 in /usr/ports/devel/metaauto (/usr/ports/infrastructure/mk/bsd.port.mk:2475 '_internal-package')
*** Error 1 in /usr/ports/devel/metaauto (/usr/ports/infrastructure/mk/bsd.port.mk:2455 'package')
*** Error 1 in /usr/ports/devel/metaauto (/usr/ports/infrastructure/mk/bsd.port.mk:1939 '/var/db/pkg/metaauto-1.0p1/+CONTENTS')
*** Error 1 in /usr/ports/devel/metaauto (/usr/ports/infrastructure/mk/bsd.port.mk:2455 'install')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2082 '/usr/ports/pobj/mysql-5.1.73/.dep-devel-metaauto')
*** Error 1 in /usr/ports/databases/mysql (/usr/ports/infrastructure/mk/bsd.port.mk:2455 'all')
#
how to allocate /usr/ 's directory ? can i must do réinstallation of system ?

this is the output after "DF" command :
Code:
# df
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0a      2057752   1277396    677472    65%    /
/dev/wd0k    417317048   1128784 395322416     0%    /home
/dev/wd0d      8250780      1740   7836504     0%    /tmp
/dev/wd0f      4122108   4122100   -206096   105%    /usr
/dev/wd0g      2057756    355432   1599440    18%    /usr/X11R6
/dev/wd0h     20636924  10126040   9479040    52%    /usr/local
/dev/wd0j      4122108         4   3916000     0%    /usr/obj
/dev/wd0i      4122108         4   3916000     0%    /usr/src
/dev/wd0e     16505116     84096  15595768     1%    /var
#

/usr >> 105 % , maybe it is core that empty the drive
Regards
Philippe

Last edited by philo_neo71; 29th November 2014 at 04:52 PM.
Reply With Quote
  #2   (View Single Post)  
Old 29th November 2014
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

See growfs(8) but make sure you've totally read and understood it before continuing (i.e. back up all your data, etc.).
But you should not be using ports if you are on a release. You should be using packages. See pkg_add(1).
Reply With Quote
  #3   (View Single Post)  
Old 29th November 2014
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Default partitions are not suitable for port builds. That is indeed an annoying thing. Two ways around the problem. One is custom partition which is as you know time consuming or another thing. I typically just delete /home partition from the default allocation by OpenBSD installer and create very large /usr/ports partition and then recreate very large home partition. Another work around is to adjust /etc/mk.conf so that home partition is used for builds.
Reply With Quote
  #4   (View Single Post)  
Old 29th November 2014
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Quote:
Originally Posted by Oko View Post
Default partitions are not suitable for port builds.
Because the only people who should be using ports are people who actively work on ports or people who really know what they're doing. Default partitions are designed for just that: the defaults. Which means using packages and not ports.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to replace "ectags" with "ctags"? fender0107401 OpenBSD Packages and Ports 5 16th April 2013 10:01 AM
Filesystem /var "stuck" at 105% full daneric OpenBSD General 2 18th October 2012 06:18 PM
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" jb_daefo Guides 0 5th October 2009 09:31 PM
"Thanks" and "Edit Tags". diw Feedback and Suggestions 2 29th March 2009 12:06 AM
strange "~" directory in home directory gosha OpenBSD General 5 23rd February 2009 06:12 PM


All times are GMT. The time now is 05:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick