https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211028
--- Comment #13 from Dexuan Cui <de...@microsoft.com> --- (In reply to Edward Tomasz Napierala from comment #11) With kern.geom.debugflags=253 (log everything except G_T_BIO) and debug.bootverbose=1, after the disk capacity was changed from 180GB to 200GB, I got the below when running "dd if=/dev/da1 of=tmp bs=512 count=1": g_dev_open(da1, 1, 8192, 0xfffff80004433500) g_access(0xfffff80003faba00(da1), 1, 0, 0) open delta:[r1w0e0] old:[r0w0e0] provider:[r0w0e0] 0xfffff80003d19c00(da1) g_disk_access(da1, 1, 0, 0) (da1:storvsc1:0:0:0): storvsc scsi_status = 2 (da1:storvsc1:0:0:0): Capacity data has changed g_post_event_x(0xffffffff80996f40, 0xfffff800043fd800, 1, 0) (da1:storvsc1:0:0:0): storvsc skips the validation for short inquiry (6) [0 b2 0 4 1] (da1:storvsc1:0:0:0): storvsc skips the validation for short inquiry (5) [0 b0 0 3c 0] (da1:storvsc1:0:0:0): storvsc skips the validation for short inquiry (5) [0 b1 0 3c 0] g_dev_close(da1, 131073, 8192, 0xfffff80004433500) g_access(0xfffff80003faba00(da1), -1, 0, 0) open delta:[r-1w0e0] old:[r1w0e0] provider:[r1w0e0] 0xfffff80003d19c00(da1) g_disk_access(da1, -1, 0, 0) Next, gpart can't show the new free space: [root@decui-b11 ~/bsd.git/sys]# gpart show da1 => 63 377487297 da1 MBR (200G) 63 377487297 - free - (180G) -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"