On Tue, May 10, 2016 at 9:46 AM, Edward Tomasz Napierala <tr...@freebsd.org>
wrote:

> Author: trasz
> Date: Tue May 10 15:46:33 2016
> New Revision: 299371
> URL: https://svnweb.freebsd.org/changeset/base/299371
>
> Log:
>   Add "camcontrol reprobe" subcommand, and implement it for da(4).
>   This makes it possible to manually force updating capacity data
>   after the disk got resized. Without it it might be neccessary to
>   reboot before FreeBSD notices updated disk size under eg VMWare.
>
>   Discussed with:       imp@
>   MFC after:    1 month
>   Sponsored by: The FreeBSD Foundation
>   Differential Revision:        https://reviews.freebsd.org/D6108
>
> Modified:
>   head/sbin/camcontrol/camcontrol.8
>   head/sbin/camcontrol/camcontrol.c
>   head/sys/cam/cam_ccb.h
>   head/sys/cam/cam_xpt.c
>   head/sys/cam/scsi/scsi_da.c
>
>

I too have been annoyed that "camcontrol rescan" won't update capacity
data.  But could we solve the problem by simply adding logic to "camcontrol
rescan" instead of adding an entirely new command?  Would a user ever want
to rescan a device without reprobing it too?

-Alan
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to