From owner-freebsd-virtualization@freebsd.org Wed Dec 23 13:48:27 2020 Return-Path: Delivered-To: freebsd-virtualization@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 B6C6F4BFC1F for ; Wed, 23 Dec 2020 13:48:27 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-eopbgr1300095.outbound.protection.outlook.com [40.107.130.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D1F0T43WSz4tHd for ; Wed, 23 Dec 2020 13:48:25 +0000 (UTC) (envelope-from weh@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LB/cbYf5pRwlihqrDkeOYa886amTg8tymfCm/fGimDY3BJxWgu+Rr742n+rdLIZc6TI7wLmbYtWF8mEGyKfk5NdzvbNqyImhcjLCrcRFzEmEWI35vUuxpCt5fxQ62e8ji//jgTxtIWk8CkBWIrBx9bgUV2xKuRlBS7dMxSwBMFPbe4l5zz2/Tg7lpYQf8hZ8CBNtfXux0zl5jkoHV24J25nOdiXPrpRmP6OP87VRUMnvreIyttFc4E38D+FlTmJpHSkyZGPoBtQI8k8QWvaKv2T6+ANUWIuuCcmxH0yKRJNEZe3hA1Hoj6N96w4mOA6pM8uLQiKNo48Qiixnir4aAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f9bahOsYT+1fXLBLvh/gjrcaFOyFM9m/wAYtS2A6Qck=; b=Sd7jjpqATEnYAxDyMgB19rY7e4Ip6Q4ZlmCNZ7OzRyRQZdj8LKFHmU/XYS0e4OcGid/ANL+hXQslEHuV8lqedlDQ0z7Zz86z86mv/hAs9Leaxo3chnCnCxuhdl6/XLbQMTZJDVEzbyegtlPbzGqHIEMMJg9gLOIo08BVzZZgzXzqM6tO+6P5w0QmjP980U5YnpWg6kWwgfTjrlB6v/QrV8jc9Q8Gl1zfKbrVt2yiZDb1hb0CwbC4UOU4IWqPMGzaJ1vJhBysH2YKq/xGfAuhcwV4/+NBJ5/oO/Kb1RRc/Xi5BMZc5ZIhNw7rUDFUCgcBXCDl0wziK/OrbVmQU1tCJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none Received: from (2603:1096:4:f5::5) by SI2P153MB0441.APCP153.PROD.OUTLOOK.COM (2603:1096:4:fc::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.9; Wed, 23 Dec 2020 13:48:10 +0000 Received: from SI2P153MB0425.APCP153.PROD.OUTLOOK.COM ([fe80::e5ce:885c:23e3:166b]) by SI2P153MB0425.APCP153.PROD.OUTLOOK.COM ([fe80::e5ce:885c:23e3:166b%6]) with mapi id 15.20.3721.013; Wed, 23 Dec 2020 13:48:10 +0000 From: Wei Hu To: tech-lists , "freebsd-virtualization@freebsd.org" Subject: RE: resizing a FreeBSD-12.1 vm on Azure Thread-Topic: resizing a FreeBSD-12.1 vm on Azure Thread-Index: AQHW0pZujRfBpaxl1UWmasd/4tT/06oEvQ7w Date: Wed, 23 Dec 2020 13:48:09 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=7c326474-266f-46db-ad66-3cffb879ec30; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-12-23T13:40:02Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; x-originating-ip: [2404:f801:9000:18:6fec::280] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 89bd0689-96bf-47e6-720a-08d8a74962a4 x-ms-traffictypediagnostic: SI2P153MB0441: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bGgDw+UR/rp1lePVPVUiaqh7MYuCT0lMpN3iWHOb8pX1/atFiqFI8E4gsouD6vozt8ti4QFyfIIvLivM/qOcII1saq3ST9ZByEMm3ZDlWXCk4PLiQ802EKV89cQiVzpMWoM7zFujBeHdCVfb3gBMddIorXBgY47RRIvrgZ080nmkrJoze+ss86qrhm++b+V+UNAJgxyVXjW6w4FgHBUEqSuckXoJ13AWWnNahPk4savKlafD1ARKmYT1tXt04dTY2aSa306QPwnqFki68G2GWZ7K1He4DqTOgX3qGOrWguE3VrUugHz4LnzEPOOR65+FlqpYvKAtHXMzWsoPaHIk9bzUe4EJY+u8U61Vpk4aOI6IXiqB6AZAkGvt0TPtzXrsl7wy31yxYUBkAS3ybA4amlEx/trtBwiKUq+GVUpgz9L8L/XjXjrl+IAwN1VPpqItbnPhS2+H+Oe7lkxLwT1zSQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SI2P153MB0425.APCP153.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(376002)(396003)(39860400002)(136003)(9686003)(86362001)(71200400001)(55016002)(8936002)(5660300002)(316002)(6506007)(66476007)(66556008)(64756008)(66446008)(76116006)(8676002)(478600001)(66946007)(10290500003)(110136005)(53546011)(83380400001)(7696005)(52536014)(8990500004)(186003)(966005)(33656002)(82950400001)(82960400001)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?tEVnU/sM5Zl1R37wx2wfloYVnkfvRoabKuKVQtbquTBKtRFn7ka9VQxn5+xL?= =?us-ascii?Q?eqkkF8qBuSMPx8zgpPb4ii/8ckdv6jMhsVTaUWePHPJo1whhqLUK06JDnCq4?= =?us-ascii?Q?KmuamSRQzbkuxn9AT+pRrpTjVGDimSpTccsw4pkCJrfNeTMOFIygCLYWMIk+?= =?us-ascii?Q?CW8Jvcd9KOG+UXJwr/hpzB+62HpvpzCyM3aPJ1rXrE43u+UuQNpie30U1Urs?= =?us-ascii?Q?mctLoiZlbFUs9KZgc2yhICtTm/xJadVfRkDqTZ/SbuC/O1ZeDdvO+zihhgJH?= =?us-ascii?Q?ogNahrJTItMUSn4IKqFlWOwdMO95K+mTX6383MruR1XcAUbIPW4K38uaf5tX?= =?us-ascii?Q?KqiIcWNwHWVEQe9Sr4sYmNxW7bo7w2kDmluJ0RZp1kQRAVQTXxzLwoQwOAGB?= =?us-ascii?Q?b0scJve/AXsmVXTYqYwTfdbY2Rks6Yrxxc3z4v3U9TTsgXCV1+dhfFk4DkfS?= =?us-ascii?Q?jBspijoTMDNH/nVxCFb09B+V4+CflWnGw7qn9ZG6BG3ak9KiKqH4kc/9f8/V?= =?us-ascii?Q?+sFnar/nsr9vIH5LtbBcYG5BtuAXebzss8goX99hDqtlhZLJMO3mL7mhlJav?= =?us-ascii?Q?fNSR3d8krWP4MbJ0eeHQ67HysB2U0jfwkRg2vKuR+PN2hh2zzvvjhqkH7mIJ?= =?us-ascii?Q?opOL3+GwRmZ2PUzhLp7t2SjxGyqIcobbZodbjPXdGsXBiV26+MGABk7AlrMC?= =?us-ascii?Q?yN5EbFVOshVwA/ZpuhHfz7gaQCO/Z3gfuizMmwNaaY7CqXFQWPA/W8vqK5gK?= =?us-ascii?Q?RMxc0F7FZxovWTpodqEtgxYlGKDjhz0N/cvPs2gur0eLQO0X+atejGCjZuyu?= =?us-ascii?Q?3ujCGI9kDlOmfrfvk1UGxtJ9SVKmL3uEZJspg3od3V5RHMKjkCsPJWqvybxI?= =?us-ascii?Q?UXXJ8b8l+IgJhlMws7zTMaswr3KVG7O+i+yH0k2+1u9GKtHtXAmJHN4x8zj3?= =?us-ascii?Q?t2uaNJavhiUCUI23py6AeXZYhW1al94E6IXyWsYnzuGu/fjNjI4+Lguj3uXB?= =?us-ascii?Q?0hZakiNZS9ZlsL/OIeyLQ/4rTQ=3D=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SI2P153MB0425.APCP153.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 89bd0689-96bf-47e6-720a-08d8a74962a4 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Dec 2020 13:48:09.9761 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: n7B0w7H7dRhzIaCH9PJM00OQVL6P5GQ67sOagsu5LiDuqJWeUy062SDfkmPXLHuMI/GjV75K0v2pp6P7OCm8/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2P153MB0441 X-Rspamd-Queue-Id: 4D1F0T43WSz4tHd X-Spamd-Bar: ---------- X-Spamd-Result: default: False [-10.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[microsoft.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[40.107.130.95:from]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[microsoft.com:s=selector2]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[microsoft.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[40.107.130.95:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.107.130.95:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.130.95:from]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2020 13:48:27 -0000 Hello, You can use resize option on Azure portal to increase the CPU and RAM of yo= ur VM. I believe you don't need to shut down the VM. Once you start the res= izing, Azure will take care of rebooting the VM for you. The public IP will= not change after the resizing. If you want to grow the disk size, you will have to shut down the VM. Find= the disk for your VM on the portal. It should have option to grow the size= . You may need to increase the FreeBSD filesystem size manually once the gu= est boots up again. I have not done this. I just heard from someone who has= done this for Linux VM on Azure. Thanks, Wei > -----Original Message----- > From: owner-freebsd-virtualization@freebsd.org virtualization@freebsd.org> On Behalf Of tech-lists > Sent: Tuesday, December 15, 2020 11:57 AM > To: freebsd-virtualization@freebsd.org > Subject: resizing a FreeBSD-12.1 vm on Azure >=20 > Hello, >=20 > Has anyone ever resized a freebsd vm on Azure? I don't mean just the disk= s. > Really the whole point is to have more CPU and RAM. I have the option to = do > this via their portal, just select whats required and hit 'resize' but I'= m a bit > hesitant. I guess it'll work on a windows VM but anything else? >=20 > If you did manage to do this, did you need to shut the VM down before res= izing > it? Was your external IP preserved or did it force you to have another on= e? Did > you have to run anything else, like growfs? >=20 > The author of https://forums.freebsd.org/threads/azure-vm.62440/ tried to= do > this in 2017 but wasn't able to at the time. >=20 > thanks, > -- > J.