Invalidating/reattaching a volume (was: relocation info)

Kenneth D. Merry ken at kdm.org
Thu May 1 11:07:10 PDT 2003


On Thu, May 01, 2003 at 10:21:04 -0700, Nate Lawson wrote:
> 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).

Matthew Dodd did the detach patches.

They aren't necessary, vinum should close the device when it gets back an
ENXIO.

Ken
-- 
Kenneth Merry
ken at kdm.org


More information about the freebsd-scsi mailing list