https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211028

--- Comment #2 from Dexuan Cui <[email protected]> ---
(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=/dev/da1 of=/dev/da1 bs=512 count=0

This means, when da1 is opened for writing, somehow geom will be forced to
recalculate the free space.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to