From owner-freebsd-questions@freebsd.org Sat Dec 19 13:10:40 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 739A9A4C349 for ; Sat, 19 Dec 2015 13:10:40 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B8FE126A for ; Sat, 19 Dec 2015 13:10:40 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-pa0-x236.google.com with SMTP id q3so54438317pav.3 for ; Sat, 19 Dec 2015 05:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=HALA6lf8JqgIKL1AvGE6cJYbPh8V0ls+WioW0d7mxKo=; b=rUbYJeyWMIR8O1x0WBpnVLxKpkOUoDtmObNINRQsj57r+ybrpYSDtJ1yFEwpZ8MXtS Rb6UwXzkky0DQS9CiQVhukvwwOhLUbverT6+mYuak4o9eK10SLGFP4dKse0qG+P8VWHu q/vtNBwjbs+7JI1c5CVg9mCCzSvikUVLOSxldIlXSh7PP74KhFnStzt55q6r3yFgE3la k5B2PryB6tiewZYighih4T23kV8GqPkSTvOs4323SoGEorIP30y6Y3POuQo3i/hQHyzv fSbtNHAxCPdcoxcy51EP4nq5Pf708rP/Gg9tH4FzXV0z55kAOEdfmmSkS6aC/2gOk2EP srhw== X-Received: by 10.66.158.193 with SMTP id ww1mr12915964pab.21.1450530639862; Sat, 19 Dec 2015 05:10:39 -0800 (PST) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id fl9sm28436058pab.33.2015.12.19.05.10.38 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Dec 2015 05:10:39 -0800 (PST) Subject: Re: which label to use in mount? To: FreeBSD Questions References: From: Sergei G Message-ID: <5675574E.3060501@gmail.com> Date: Sat, 19 Dec 2015 05:10:38 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2015 13:10:40 -0000 Thank you for all the comments. I have decided to go with GPT mount. I rerun size checks and was not able to reproduce the difference reported previously with or without df -H option. So, it appears to be my bad. here is a short log: % sudo mount /dev/ufs/back /backup/ % df /backup/ Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ufs/back 50778204 2403432 44312516 5% /backup % du /backup/ 2403432 /backup/ % sudo umount /backup/ % sudo mount /dev/gpt/dback /backup % df /backup/ Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/gpt/dback 50778204 2403432 44312516 5% /backup % du /backup/ 2403432 /backup/ On 12/15/15 7:37 PM, Sergei G wrote: > I have executed the following commands: > > # gpart create -s GPT ada1 > # gpart add -t freebsd-ufs -l sback -s 50G ada1 > # newfs -nL back /dev/ada1p1 > > so, now I can mount it as either: > > # mount /dev/gpt/sback /mnt > or > # mount /dev/ufs/back /mnt > > Both seem to work. However, command > > df -H > > reports slightly different numbers: > > /dev/ufs/back 52G 4.1k 48G 0% /mnt > dev/gpt/dback 48G 4.0K 45G 0% /mnt > > Which way is the correct way to mount? > > > Thanks