From owner-freebsd-current@freebsd.org Sun Jan 7 17:59:06 2018 Return-Path: Delivered-To: freebsd-current@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 8B968E78657 for ; Sun, 7 Jan 2018 17:59:06 +0000 (UTC) (envelope-from wschnr@googlemail.com) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 4B3B770551 for ; Sun, 7 Jan 2018 17:59:06 +0000 (UTC) (envelope-from wschnr@googlemail.com) Received: by mail-yw0-x22b.google.com with SMTP id l23so3553908ywb.13 for ; Sun, 07 Jan 2018 09:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=4XoF8LtD1EQdnMXCe8pzQkjjK666ecG9wDbfwG77UAk=; b=oYe5W6eb9fSwiihFe5Vp6f/0yJuNKUNuf3KO7/5GZwmigLOSh16gGlDCOcnstI1AVB MzAycDKoA2UgU/hAwVkckOf7o7Onbub1hyDozlEEyGNx2CovdN9+zKAt+DRu801Wv7Jz lihBTiGanGl1OR9tjUsdMDmopYEoyxr6Zx65jFsXkpJmAJ8HtXJE3OrFzG8xbT3AjvFb C3qKQJfs6/Y5WMRwWrIYpY6u3SiHobZ9EBP7Hw+US0Wi1t7t68YtdLpaEXzkMF1g881C VbTM5C5PcovlrAekYRfG6M89diuD8GsiO2CujlbJkDBuENfTHDZ37Uxh0aofYhBf26hp P9AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=4XoF8LtD1EQdnMXCe8pzQkjjK666ecG9wDbfwG77UAk=; b=AAYZYtKtRnoqQeVN+Uz81aEnx0Tp3zf5ARfnWEFkwZ+gNeFlvVove3vP7gClPPKle8 pkpxJD4CIvRIh6pDSWkYQoee/PiqR+CLKG0altL1wFxb+f/WufTsfWiAkn/j7F4E3h7c cQzJGuQkK4l3dmUNbq00rW9mZ7VC5mqXpjdihjyT00R21K8viUM2X8vL7XoRwKrxvHtm myKmhFWVSqxRuQ1HRY3jiRyiIANX9IzlaXKx93nINe2Lkc/mMRI0pou4bsbq94rdsxV8 yVneoyVdQIL4oj5VXcRSumgypCpBnxukk1wMDMnGg94iPrnjhd/TO7fgLAw3GXjGqh5u eCnQ== X-Gm-Message-State: AKGB3mK1xW4pMWgil7N9WQpRMMmbrXFNnm1uDAPCUHeKyrxzcvdMz39W mcQ9OGHGaxjZzMaeBb/jKdaOzEqiy9XpAl6XKoQPzA== X-Google-Smtp-Source: ACJfBoswvNGgDGOBB4J/mJUZMYBOTP2KGw220UMs+U01buAjPfh/UZiDt4AOPtTKjbU6x3lLAFpP4W/GDYGuHKOTr94= X-Received: by 10.129.67.1 with SMTP id q1mr9268111ywa.464.1515347945178; Sun, 07 Jan 2018 09:59:05 -0800 (PST) MIME-Version: 1.0 Sender: wschnr@googlemail.com Received: by 10.37.101.197 with HTTP; Sun, 7 Jan 2018 09:58:49 -0800 (PST) From: Wolfram Schneider Date: Sun, 7 Jan 2018 18:58:49 +0100 X-Google-Sender-Auth: vi5l3RQp96R9oXflctoh3gOQpJk Message-ID: Subject: partitioning schemes: GPT <-> MBR To: freebsd-current Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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, 07 Jan 2018 17:59:06 -0000 Hi guys, I have 2 small virtual machines running in data center, on similar hardware. Both are running FreeBSD 12-current. The first one is based on a 10.3 image, upgraded to current. The second one is based on 11.1, upgraded to current. I notice a difference in disk partitioning. 10.3 is using GPT, and 11.1 MBR. [FreeBSD 10.3] $ gpart show => 34 83886013 vtbd0 GPT (40G) 34 1024 1 freebsd-boot (512K) 1058 2097152 2 freebsd-swap (1.0G) 2098210 81787836 3 freebsd-ufs (39G) 83886046 1 - free - (512B) [FreeBSD 11.1] $ gpart show => 63 83886017 vtbd0 MBR (40G) 63 1 - free - (512B) 64 79691776 1 freebsd [active] (38G) 79691840 4194240 - free - (2.0G) I thought that MBR is outdated. But the hosting company told me that FreeBSD 11.1 is using MBR by default. Is that correct? My problem with the MBR machine is that I cannot add a swap device. There are 2GB free space, and I want add a 1GB swap device: $ gpart add -s 1G -t freebsd-swap vtbd0 gpart: Invalid argument is this an MBR issue? thanks, Wolfram -- Wolfram Schneider https://wolfram.schneider.org