Date: Thu, 10 Aug 2017 17:27:45 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Can't grow disk on Google Cloud Message-ID: <c08f18bb-f705-3a54-953f-90f95e40e459@FreeBSD.org> In-Reply-To: <c631d642-4718-3e3c-9e5a-dab52a340d47@motumweb.com> References: <c631d642-4718-3e3c-9e5a-dab52a340d47@motumweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DjunEBnuj8S1Ha89wVjLsHVhvsdDR0EH4 Content-Type: multipart/mixed; boundary="dH49DPh4pahsv3DbU7HNx9u2wh2IPQuCC"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <c08f18bb-f705-3a54-953f-90f95e40e459@FreeBSD.org> Subject: Re: Can't grow disk on Google Cloud References: <c631d642-4718-3e3c-9e5a-dab52a340d47@motumweb.com> In-Reply-To: <c631d642-4718-3e3c-9e5a-dab52a340d47@motumweb.com> --dH49DPh4pahsv3DbU7HNx9u2wh2IPQuCC Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 10/08/2017 17:10, Efra=C3=ADn D=C3=A9ctor wrote: > By default, a disk of 22 GB is asigned, I resized that disk to 44GB to > do some tests, however df -h shows this: >=20 > $ 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 >=20 > As you can see, the partition didn't grow, what is more strange is that= > gpart knows the new size of the disk: >=20 > $ gpart show da0 > =3D> 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) >=20 > Is there something I need to do to resize the partition? growfs(8)? gpart is reporting corrupt because it's second copy isn't present at the end of the drive now. You can use 'gpart recover' to fix it. Cheers, Matthew --dH49DPh4pahsv3DbU7HNx9u2wh2IPQuCC-- --DjunEBnuj8S1Ha89wVjLsHVhvsdDR0EH4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZjImHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT//oP/jmCE1bFA9YLe+xHw9KI8y2w MMEPlJf0b3S/3qsnCAh231Ki/Arw6Ehp6wDjt7ZYlUETMMIx/+kHv2Fzn0vJHPID Swe52GKGNdlMdIEfavPptmIoDSvg2NqDlSqIThnhzeESKmVj8bpmqQTEPnbxDyFD 7KMqJHXASyzZUKuY6UEkEOy+T3znhv2NuGQzhV7NVXJ/hWLPtub9auIb4AvkOUao sj2YyGxPBONCBPxASWDqapjIuQ0zP4FwAzSFbrbVj6IEav99v3ojZT/mEhjrMCI+ mbNK7o1F9LJCH/WoZSWks8bmBUNpRxUzVDCpMuw8Z2/wTraCGaVypXnRMxomG3H4 5TYYcNuiaLj9++Wv3DgXMY/9p7J3+WwzYTPuoKMW35YQgcTlntFXzXw12O2wd93k Ge7srtm7cWFXutBly6aKxG63Pmp3wVtnmqL2igukw2URgNyt42B1MCPXGeIky0sO 6J1SSF0STFLsMCMCQUQHXNqNHc3tDthJFvNQYS3fPVE36MLGDnapU848MWL4JyEJ Mqalv9aQ/ur7nlsML0sc0J/7Ow1IeUfTlMGvykx8hiBtrxWNKFQL9Abidzts/pVI XCNOUx9FqWWL/Pox9nfXlY2vO6VAPDRb7YEBreXOpGNqrp7uw4c6TjN1bTx2BEL1 uUDT2QuKIdDrVVQKsBU6 =FnCa -----END PGP SIGNATURE----- --DjunEBnuj8S1Ha89wVjLsHVhvsdDR0EH4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c08f18bb-f705-3a54-953f-90f95e40e459>