From owner-freebsd-questions@freebsd.org Thu Aug 10 16:10:22 2017 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 7865BDD6C5C for ; Thu, 10 Aug 2017 16:10:22 +0000 (UTC) (envelope-from efraindector@motumweb.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 42EFE6708C for ; Thu, 10 Aug 2017 16:10:22 +0000 (UTC) (envelope-from efraindector@motumweb.com) Received: by mail-oi0-x22f.google.com with SMTP id e124so11107730oig.2 for ; Thu, 10 Aug 2017 09:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=motumweb-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=HoeNAVdgkiO+ePqbKQRlxdi8D37zgS4dtTrcgzgL7uI=; b=0TNClbpyZDIp+HF8QyT36xuNtla7eVSHGTF8N+ubCqTov6UKjr/93obi0YwWKgrmif RiItue+gKCxy+cxJjc9Bpq31nITdCMCCODhajOJrCxoHMlGeu0ojNgFFaVrQVIntFIxQ M4oVPIeHgMeTSw2KPersoxSIdPO3xNqd6vsYx+LrKDCS2RwQn1UGO6CzcDjHFcd/OTAK FUJxsc/LIKhQrX9QtrrHzudbQVZpzENHLwuzSFldWA/A6j/Tyvw18u9RR+aI0raPO8B5 cVyTLxjHIzMnz21k/rO7aOVzQbHBrJr0psxzkCJbRCMtsq8Y9frNelTYnEW/Dfnzuwyj Y+8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=HoeNAVdgkiO+ePqbKQRlxdi8D37zgS4dtTrcgzgL7uI=; b=epXdjPTdBc5QGeEdJS6d29blbmEHe7FyPVJpNHcVRZpqsR/JfgOB5WTlmBkCWVqVYz pVURxlfTsJPJ1FKYUwZFWi2B4hf+iNF1VrsV6jeYfiilX3dUOp55qNjCDKwUEthlVQ12 E4O0wAuHDR9eSFs8pty/Fqs3cn4ZN0NRK2w9MMnM9dxCtMEgrI7NaXkKO9X0LCiPCpop uMY8epFKkrNSriSCCv4wrIm6c98NDVqaM3vJD3qvTYqHmw9igY+ovmNTJPiXGC76vjKj 5mbvB2dgf/0Nn6xgHoqYjsNXT5KJjmvzmQlYSgrgaww89Z+8o75h6YzbM8hpMwN7yryg yVvQ== X-Gm-Message-State: AHYfb5gF2JFLma56UP4s1TKU5TxgK7MFUiYGuJbLCeWUPvDJU4RcvFqQ vVzoyy9byJPni+HHWxVSOA== X-Received: by 10.202.68.9 with SMTP id r9mr13227886oia.16.1502381421019; Thu, 10 Aug 2017 09:10:21 -0700 (PDT) Received: from [192.168.11.2] ([187.210.81.114]) by smtp.googlemail.com with ESMTPSA id e199sm8019576oic.39.2017.08.10.09.10.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Aug 2017 09:10:19 -0700 (PDT) To: freebsd-questions@freebsd.org From: =?UTF-8?B?RWZyYcOtbiBEw6ljdG9y?= Subject: Can't grow disk on Google Cloud Message-ID: Date: Thu, 10 Aug 2017 11:10:21 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: es-ES Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 16:10:22 -0000 Hello. I am doing some tests on Google Cloud and I found out that FreeBSD 11.1 does not seem to recognize that the disk grew in size. I deployed the instance using the following gcloud command: gcloud compute --project "pruebasedh" instances create "edh-01" \ --image freebsd-11-0-release-p1-amd64 \ --image-project=freebsd-org-cloud-dev By default, a disk of 22 GB is asigned, I resized that disk to 44GB to do some tests, however df -h shows this: $ df -h Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rootfs 20G 1.7G 17G 9% / devfs 1.0K 1.0K 0B 100% /dev As you can see, the partition didn't grow, what is more strange is that gpart knows the new size of the disk: $ gpart show da0 => 3 46137333 da0 GPT (44G) [CORRUPT] 3 125 1 freebsd-boot (63K) 128 2097152 2 freebsd-swap (1.0G) 2097280 44040056 3 freebsd-ufs (21G) Is there something I need to do to resize the partition? Thanks in advance $ df -h Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rootfs 20G 1.7G 17G 9% / devfs 1.0K 1.0K 0B 100% /dev $ df -h Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rootfs 20G 1.7G 17G 9% / devfs 1.0K 1.0K 0B 100% /dev