Date: Tue, 12 Jul 2016 09:45:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211028] [GEOM][Hyper-V] gpart can't detect the new free space after the disk capacity changes Message-ID: <bug-211028-8-GbWBHMwh0Y@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-211028-8@https.bugs.freebsd.org/bugzilla/> References: <bug-211028-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211028 --- Comment #2 from Dexuan Cui <decui@microsoft.com> --- (In reply to Dexuan Cui from comment #0) In comment 0, if I skip step 3, that is, I don't run the "dd" and only run "camcontrol reprobe da1", "gpart show da1" can detect the new "free" space correctly. BTW, when I get the bug, there is a workaround: dd if=3D/dev/da1 of=3D/dev/da1 bs=3D512 count=3D0 This means, when da1 is opened for writing, somehow geom will be forced to recalculate the free space. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211028-8-GbWBHMwh0Y>