From owner-freebsd-fs@FreeBSD.ORG Thu May 29 09:06:48 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 375EF8B7 for ; Thu, 29 May 2014 09:06:48 +0000 (UTC) Received: from squishy.elizium.za.net (squishy.elizium.za.net [80.68.90.178]) by mx1.freebsd.org (Postfix) with ESMTP id 0198720B5 for ; Thu, 29 May 2014 09:06:47 +0000 (UTC) Received: from sludge.elizium.za.net (sludge.elizium.za.net [196.41.137.247]) by squishy.elizium.za.net (Postfix) with ESMTPSA id E56C84812E; Thu, 29 May 2014 10:58:59 +0200 (SAST) Date: Thu, 29 May 2014 11:03:23 +0200 From: Hugo Lombard To: Petri Helenius Subject: Re: ZFS auto online Message-ID: <20140529090323.GC12020@sludge.elizium.za.net> References: <7781CE90-D672-4A55-B7E9-47A48EA146E4@helenius.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7781CE90-D672-4A55-B7E9-47A48EA146E4@helenius.fi> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 09:06:48 -0000 On Thu, May 29, 2014 at 11:13:34AM +0300, Petri Helenius wrote: > > How do I get ZFS to automatically online reattached device? > I suspect you'll have to wait for zfsd: * The ZFS daemon consumes kernel devctl(4) event data via devd(8)'s * unix domain socket in order to react to system changes that impact * the function of ZFS storage pools. The goal of this daemon is to * provide similar functionality to the Solaris ZFS Diagnostic Engine * (zfs-diagnosis), the Solaris ZFS fault handler (zfs-retire), and * the Solaris ZFS vdev insertion agent (zfs-mod sysevent handler). [ http://svnweb.freebsd.org/base/projects/zfsd/head/cddl/sbin/zfsd/zfsd.cc?revision=266602&view=markup ] -- Hugo Lombard .___. (o,o) /) ) ---"-"---