From owner-freebsd-bugs@freebsd.org Mon Jul 11 11:03:51 2016 Return-Path: Delivered-To: freebsd-bugs@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 C91FFB83A8D for ; Mon, 11 Jul 2016 11:03:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EE821F20 for ; Mon, 11 Jul 2016 11:03:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6BB3pHt098893 for ; Mon, 11 Jul 2016 11:03:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211000] [Hyper-V] Online VHDX Resize doesn't work properly Date: Mon, 11 Jul 2016 11:03:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decui@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2016 11:03:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211000 Dexuan Cui changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyliel@microsoft.com --- Comment #1 from Dexuan Cui --- This shows the issue: Dexuan: before the disk capacity change, we have [root@decui-b11 ~/bsd.git/sys]# gpart show da1 =3D> 40 125829040 da1 GPT (60G) 40 125829040 - free - (60G) Dexuan: after the disk capacity change, we have (Note: the first failure is caused by the wrong handling of the SCSI_STATUS_CHECK_COND error) [root@decui-b11 ~/bsd.git/sys]# diskinfo da1 diskinfo: da1: ioctl(DIOCGMEDIASIZE) failed, probably not a disk. [root@decui-b11 ~/bsd.git/sys]# diskinfo da1 da1 512 75161927680 146800640 4096 0 9137 255= =20=20=20=20 63 Dexuan: now the new capacity is detected, but the 'free' space remains the = same old value: [root@decui-b11 ~/bsd.git/sys]# gpart show da1 =3D> 40 125829040 da1 GPT (70G) 40 125829040 - free - (60G) Dexuan: this is caused by another bug: Bug 210425: rescannning da1 makes the disk disappear: [root@decui-b11 ~/bsd.git/sys]# camcontrol rescan 2:0:0 Re-scan of 2:0:0 was successful [root@decui-b11 ~/bsd.git/sys]# gpart show da1 gpart: No such geom: da1. [root@decui-b11 ~/bsd.git/sys]# camcontrol devlist at scbus0 target 0 lun 0 (cd0,pass0) at scbus1 target 0 lun 0 (da0,pass1) --=20 You are receiving this mail because: You are the assignee for the bug.=