Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 2008 15:42:12 +0000
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-firewire@FreeBSD.org, FreeBSD Stable <freebsd-stable@FreeBSD.org>
Subject:   Re: firewire disk disconnected but da* remains?
Message-ID:  <1226072532.69416.4.camel@buffy.york.ac.uk>
In-Reply-To: <49142861.6020304@icyb.net.ua>
References:  <49142861.6020304@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2008-11-07 at 13:37 +0200, Andriy Gapon wrote:
> I am a firewire newbie, so forgive me the following question.
> I disconnect external firewire HDD, firewire subsystem notices this but
> da0 device entry persists. Is this correct/expected behavior?

Yes.  From sbp(4):

 Some users familiar with umass(4) might wonder why the device is not
 detached at the CAM layer when the device is unplugged.  It is detached
 only if the device has not been plugged again during several bus resets.
 This is for preventing to detach an active file system even when the
 device cannot be probed correctly for some reason after a bus reset or
 when the device is temporary disconnected because the user changes the
 bus topology.  If you want to force to detach the device, run ``fwcontrol
 -r'' several times or set hw.firewire.hold_count=0 by sysctl(1).

Gavin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1226072532.69416.4.camel>