From owner-freebsd-fs@FreeBSD.ORG Thu May 29 14:04:41 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 594F36A0; Thu, 29 May 2014 14:04:41 +0000 (UTC) Received: from mail.feld.me (mail.feld.me [66.170.3.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.feld.me", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E97802D71; Thu, 29 May 2014 14:04:40 +0000 (UTC) Received: from mail.feld.me (mail.feld.me [66.170.3.6]); by mail.feld.me (OpenSMTPD) with ESMTP id 546ddbb3; Thu, 29 May 2014 09:04:36 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=feld.me; h=mime-version :content-type:date:from:to:cc:subject:in-reply-to:references :message-id:sender; s=blargle2; bh=3xY3/MP0BbVQPb4hFqLa3EfwNv8=; b= b/QpJI5AsozrJipnzzQTqyKeyUUlu+LG3fndd8x4LYetG/OXZRJlXN+5Xwx0o43B y8iHyB6jL2zHWh3E0TThKZkzX5OFHKT0bKUIRMSeqFsZ5DbxK9qeh3pnAxWT0Wlg wLd2W98KCXph03gqDO8V77LQmWT0z4YUr5xLYWTEsRG7MjVmgVuh4Cim95s21h9b bIACDx8HoshVAMpEnINFm155uak/6aujBk6Af0y2haZCXGBEefijH3vFdJdxZWFx rLg6nPCIB3FbBtkT69m2l1/5BTzb7jFHGrQM31Usltv8/3crzxkPjtbfvwkVoeFC ZH2PuTDTqfrxdShZSijqMA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=feld.me; h=mime-version :content-type:date:from:to:cc:subject:in-reply-to:references :message-id:sender; q=dns; s=blargle2; b=MU9Pw3ArW3AQcsO683TyxN8 xYfqVOjilZDnkqWbSe45ohPppRrfktNpgnvCJNpv4LmsRs9hBBnGVIx1kJdAa9c1 OqzVKfhw25OpCkhByE70ZU5Glgpqzv/QypiYPDvtqTH91sLqF3ogAbtWhLlOPWLU 5OKeYlNddtovjQiIG8fuXtSXDPpHsD7/jlxj/tNoFmGxqwlL+EBVIRfsP4492bsJ U65n0mUgrT6KeNOaCC2LCqh+A5/QBamvCs52Hl0csZZBI3h74LMlYii6kk2iW268 Z3qoJVJ8gAj68IalbI+yhrr1OsfoLyDYsw6CCP0xrZwpuvIKa5Yxnxp/RLbR9PA= = Received: from mail.feld.me (mail.feld.me [66.170.3.6]); by mail.feld.me (OpenSMTPD) with ESMTP id ca4a419f; Thu, 29 May 2014 09:04:36 -0500 (CDT) Received: from feld@feld.me by mail.feld.me (Archiveopteryx 3.2.0) with esmtpa id 1401372275-322-320/5/8; Thu, 29 May 2014 14:04:35 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Date: Thu, 29 May 2014 09:04:35 -0500 From: Mark Felder To: Petri Helenius Subject: Re: ZFS auto online In-Reply-To: <7781CE90-D672-4A55-B7E9-47A48EA146E4@helenius.fi> References: <7781CE90-D672-4A55-B7E9-47A48EA146E4@helenius.fi> Message-Id: <308a6f01436240e060878bb0620d0946@mail.feld.me> X-Sender: feld@FreeBSD.org User-Agent: Roundcube Webmail/1.0.1 Sender: feld@feld.me Cc: freebsd-fs@freebsd.org, owner-freebsd-fs@freebsd.org 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 14:04:41 -0000 On 2014-05-29 03:13, Petri Helenius wrote: > Hi, > > How do I get ZFS to automatically online reattached device? > Besides waiting for zfsd, you could write a devd script that recognizes the device by one of several identifiers and then automatically runs the zfs commands you desire.