From owner-freebsd-current@freebsd.org Sun Jul 21 20:44:24 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CBBA2BD20A for ; Sun, 21 Jul 2019 20:44:24 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2BE2D8F90D for ; Sun, 21 Jul 2019 20:44:23 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563741856; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=eW+LkFd8fDpcegieUZBRqdL6eCuP8SmxPMAmylGiL1gQC4IZRR3uFoV/U8RdgK1BQAorvijPg6T0i 3bx0CNUXXOxx+AJxnRbsFweGS4H0ZfsUUiG8+VUEsodez3pVX70PztXbHfRCB1hffKgOsyPN/odBC2 NzFsMPpiT7/cp8sHfl9TjArB9r7nBU2V+kUSkchdqBXRbFROVB/5GvUyqSQkbsLuiY6uDxw0NCxl2A uJkJ9MRoWiUqsaXFgHCII1rTG6vm8+zbXCHeL+gTFNHEP/pTjJ/OHVdfl509OIBLd84v0T3cY0G0NA kbwNX8jwvGZeKaCs7+rKPvJSKJMXg3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=03sNdURgQ16ixRDjo+qKu55N8/BA8UdPfM6iO4rzjtA=; b=pWv5joK337nbMV+qpVTcJ7jWEr1gTEszo7728RlyLpZaFZJvnJNqmVHntgYBeNwGKBBQUsIVzs0wY 1BDYVrl21LXl/i3ZFu3oVz4lxHvi2mvuKOVcKR3n+nk8dHZGThwA2KXvMdKAux+hat6TN9QkK2XftY CanrMdEL1MDuWDtgzIhpNjEpeUYfluWx1pxSHI5eL0sPEJHuuStzIYEmBMwdwvfeSTTukzyNk5dvi5 2mOyLHDpx1XO+67oCWwsNzcxDH7QhJNA/0MZJqoO4W+g17nLDMT77o+HSE3HGgWTDH8paxgyznycwM CEuFBK1mbXIQXdu51vf6GGIHdXoBXrw== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=03sNdURgQ16ixRDjo+qKu55N8/BA8UdPfM6iO4rzjtA=; b=uRTDHyJ5ljwoaklgSZPYr/sQt2ztSdGgcoBVwaUOwAM1THa8HdNScxrQo2IL3zCfpwrnHgIMgLq4c FaSCvcVrATagVCDj5OCORM2W1BhQNwiiW37Rt85S0bgsOaeoYceW7FDxUCP/vGFaXVEjjgooju9hu5 DeoNWQzZVrcMk/7bj9cpkrI21OvHMIAiPqvTzWtP/z0vWFnU5Ifei1HGhiNtYpC1K/mOcyCctiMbPP 4AZ1JeMF1kzjbOsO61vuG0swpVZnmAAcXBjqIRLK+PHRGNHyQ0aus+g6GYswR36OiCbmmTRliyNwIp 9uUyLR+IoiOco7GsOHFRA6OctlQdDCg== X-MHO-RoutePath: aGlwcGll X-MHO-User: 4ccaf1b7-abf8-11e9-b35d-69d61594d7a4 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 4ccaf1b7-abf8-11e9-b35d-69d61594d7a4; Sun, 21 Jul 2019 20:44:15 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6LKiD61058054; Sun, 21 Jul 2019 14:44:13 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: filesystem mount problem From: Ian Lepore To: AN , freebsd-current@freebsd.org Date: Sun, 21 Jul 2019 14:44:13 -0600 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 2BE2D8F90D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2019 20:44:24 -0000 On Sun, 2019-07-21 at 15:07 -0400, AN wrote: > Hi: > > FreeBSD FreeBSD_13 13.0-CURRENT FreeBSD 13.0-CURRENT #102 r350187: > Sat Jul > 20 19:04:30 EDT 2019 > root@FreeBSD_13:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL amd64 > 1300036 > > I would appreciate some help with the following problem. > > /etc/fstab: > # Device Mountpoint FStype Options Dump Pass# > /dev/ada0p2 none swap sw 0 0 > /dev/ada0p3 / ufs rw 1 1 > linprocfs /compat/linux/proc linprocfs rw 0 0 > tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777 0 > 0 > > > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ada0p3 428G 245G 149G 62% / > devfs 1.0K 1.0K 0B 100% /dev > linprocfs 4.0K 4.0K 0B 100% /compat/linux/proc > tmpfs 47G 4.0K 47G 0% /compat/linux/dev/shm > tmpfs 20M 604K 19M 3% /tmp > > I don't understand why the /tmp is being mounted. It is causing > problems > because when I try to run portupgrade it fails for lack of space. If > I > forcibly unmount it everything breaks. > > # umount -v /tmp > umount: unmount of /tmp failed: Device busy > [root@FreeBSD_13 ~]# umount -vf /tmp > tmpfs: unmount from /tmp > [root@FreeBSD_13 ~]# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ada0p3 428G 245G 149G 62% / > devfs 1.0K 1.0K 0B 100% /dev > linprocfs 4.0K 4.0K 0B 100% /compat/linux/proc > tmpfs 47G 4.0K 47G 0% /compat/linux/dev/shm > [root@FreeBSD_13 ~]# vinagre > Unable to init server: Could not connect to 127.0.0.1: Connection > refused > > (vinagre:27111): Gtk-WARNING **: 15:04:21.599: cannot open display: > :0 > > Any help would be appreciated, thanks in advance. > The problem isn't that /tmp is tmpfs, the problem is that it's being mounted by /etc/rc.d/tmp as a 20MB filesystem because tmpsize="20m" is the default. You could set tmpsize to some bigger value in rc.conf, or you can add an explicit mount for /tmp in fstab so that you get the full (47G on your system) capacity that's available: tmpfs /tmp tmpfs rw 0 0 -- Ian