Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2002 09:30:03 -0700 (PDT)
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: Re: misc/41711: setup uses a to small disk
Message-ID:  <200208181630.g7IGU3g7099011@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/41711; it has been noted by GNATS.

From: Jens Schweikhardt <schweikh@schweikhardt.net>
To: Walter Harms <WHarms@bfs.de>
Cc: GNATS Bug Followup <bug-followup@FreeBSD.org>
Subject: Re: Re: misc/41711: setup uses a to small disk
Date: Sun, 18 Aug 2002 18:22:27 +0200

 Walter,
 
 On Sat, Aug 17, 2002 at 12:14:57PM +0100, Walter Harms wrote:
 # sorry i am not familar with BSD specify things this is my first encounter
 # with a bsd installation. Therefor i lack the knowlegde about the configtools
 # etc.
 # 
 # After the Std. installation failed i made a minimal installation so i got
 # a mixture that my hide some important information and does not contain
 # certain tools. (e.g i have no telnetd or sshd so i cant lock in via network
 # and need to copy anything by hand).
 # 
 # I will keep the system in these stade for a while so you can ask specific
 # thing but next WE (or better before) i plan to reinstall to get at least
 # a working system.
 # - How big exactly was the slice(s)?
 # - How big were the partitions chosen by syinstall's autoconfig option?
 # 
 # The whole disk was 2G. 
 # ca. 1.3G swap
 
 This is waaay to much swap on a 2G disk. How much RAM do you have?
 The old rule of swap=4*RAM is not valid anymore. swap=RAM is often plenty,
 you might even run without any swap at all.
 
 # Auto configured 
 # 
 # size (1k)   usage(%)  mountpoint
 # 128990        39      /
 # 218670        0       /tmp
 # 144100        102     /usr
 # 218670         0      /var
 
 I can't believe only 144M were allocated to /usr. Sysinstall is known to
 have problems when resuming a failed installation. Have you tried starting
 all over again or resuming a previous install?
 
 # - What partition was it running out of space on?
 # 
 # /usr the 102% was something confusing
 
 /usr should at least be 250M (that's what is filled on my system right
 now, with /usr/src, /usr/ports and /usr/local being different
 partitions). If you want to compile everything from scratch, go towards
 600MB.
 The >100% is due to 8% being reserved for root, so disks are full at 108%.
 
 # - Have you selected to install the ports tree?
 # i choose the Standard installation
 # later minimal.
 
 Okay, you will be asked for the ports tree after that. It's 30M in /usr/ports
 but needs a lot of files (i.e. inodes, which are a fixed number per file
 system).
 
 # suggestion:
 # Teach the installer about minimum requirement.  Then grow from there.
 # I guess the 2G would be big enought to hold the entire CD but the
 # 1.3G Swapspace brakes the calculation (ca. 780MB ram *2 ).
 
 Ah, that's were you got the number from:
 
   Swap space is a little tricker, and the rule of "2 * MEM" is simply a
   best-guess approximation and not necessarily accurate for your
   intended usage of the system. If you intend to use the system heavily
   in a server or multi-user application, you may be well advised to
   increase this size. You may also create swap space on multiple drives
   for a larger "total" swap and this is, in fact, recommended if you
   have multiple, fast drives for which such load-balancing can only help
   overall I/O performance.
 
 Well, you have an unusual system: heaps of RAM, tiny disk space.
 The sysinstall defaults and help text are good for RAM << diskspace.
 
 # perhaps you can boot here again and check if the installation
 # is working. 
 # 
 # An other problem is the whole logic of installing. when the installation
 # breaks because of lack of space the system tries to install further.
 # lack of space is a major error and should at least stop and go the main menu.
 
 I'm afraid this failure mode is too rare and hard to reproduce on purpose
 for anyone to investigate. Development of sysinstall is virtually ended
 in favor of a completely new system, so don't expect to much. It's age
 shows and it has it's quirks that probably won't get resolved before it is
 retired.
 
 # feel free to ask about more details. i will keep that (broken) state for 
 # the moment.
 
 Please reinstall from scratch with less swap (say 256M), that should
 allocate almost all your extra space to /usr.
 
 Regards,
 
 	Jens
 -- 
 Jens Schweikhardt http://www.schweikhardt.net/
 SIGSIG -- signature too long (core dumped)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208181630.g7IGU3g7099011>