Invalidating/reattaching a volume (was: relocation info)

Nate Lawson nate at root.org
Thu May 1 10:21:04 PDT 2003


On Thu, 1 May 2003, Joerg Wunsch wrote:
> "Kenneth D. Merry" <ken at kdm.org> wrote:
> > You can try 'camcontrol reassign'.  joerg sent me patches last Fall
> > to implement it, and I've been planning on turning it into a scan
> > and reassign tool.
> 
> Mea culpa, i always intented to commit them, but apparently completely
> forgot about the item.  I'll make another stab on committing it (but
> first have to see whether all's still OK with it in -current).

I'd also like to see your camcontrol detach patches and a path for vinum
to lose and then reattach a volume.  Whether the latter should happen at
the CAM layer or the vinum layer is up for discussion.  I personally
believe you should be able to tell vinum to close its reference to the
drive that went away and then re-open it when the drive reappears.  This
could even be done automatically through GEOM.  (See Gordon Tetlow's work
on adding volume labels to GEOM).

Comments?

-Nate



More information about the freebsd-scsi mailing list