From owner-freebsd-questions@FreeBSD.ORG Sun May 23 19:16:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F9401065673 for ; Sun, 23 May 2010 19:16:03 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 47B0F8FC0C for ; Sun, 23 May 2010 19:16:03 +0000 (UTC) Received: by iwn5 with SMTP id 5so3164988iwn.13 for ; Sun, 23 May 2010 12:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=G3735HoIRor2KLk4jPCjuy0kzjvZ1UDJPT8G5v/5U9w=; b=m7JDZ60zkoz4S2cznnjnZxQaDDa5iRZFizJuv/Xa59NYlKPO+QvA3k03MUG2KdVXoL UMs+kgPnuReZ5S1YF/OB+pCcFf+oyUXaKTWCb91r3UrC3zwNyG/tpFganP8UnnAPhZqJ b+GZsUvewK0R75pwLLkZWM/gYsUbZvD937eI0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=T6bR7nT75be9oPuJsY5HcZ0Upp8GpgzgdCL1umSwE0kHWJpShGjG73PB0UPEOSK+sp 6PgMwd/PusXuDmJpin8/AoFjKjjt67VRo4QMiewTezFZrSR4AnVGzpIegrvOTAuyPB2h Dhp3OimxAtreQCAL2HUM72HF8AxzuckpS0Zko= MIME-Version: 1.0 Received: by 10.231.147.143 with SMTP id l15mr3422165ibv.9.1274642162342; Sun, 23 May 2010 12:16:02 -0700 (PDT) Received: by 10.231.141.215 with HTTP; Sun, 23 May 2010 12:16:02 -0700 (PDT) In-Reply-To: <861376.41000.qm@web36504.mail.mud.yahoo.com> References: <861376.41000.qm@web36504.mail.mud.yahoo.com> Date: Sun, 23 May 2010 13:16:02 -0600 Message-ID: From: Tim Judd To: Bill Tillman Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Diskless Booting Can't Set /var in mfs larger than 4MB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 19:16:03 -0000 On 5/23/10, Bill Tillman wrote: > I have a diskless workstation booting nicely but for some reason I cannot > get the /var directory to set larger than 4MB. The docs I read said edit > /pxeroot/conf/base/etc/fstab like this: > > # Device Mountpoint FStype Options Dump > Pass# > md /var mfs -s=30m,rw 0 > 0 > md /tmp mfs > -s=30m,rw 0 0 > proc /proc procfs > rw 0 0 > > When I do this the /tmp directory sets up in mds at 30MB in size. But /var > always comes up at only 4MB in size. Can anyone tell me how to adjust the > size of /var in a diskless setup? > have you tried the rc.conf variants? varmfs="AUTO" # Set to YES to always create an mfs /var, NO to never varsize="32m" # Size of mfs /var if created varmfs_flags="-S" # Extra mount options for the mfs /var populate_var="AUTO" # Set to YES to always (re)populate /var, NO to never cleanvar_enable="YES" # Clean the /var directory also has a tmp set of variables, too