From owner-freebsd-stable@FreeBSD.ORG Sun Oct 13 16:02:59 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 80C3985B for ; Sun, 13 Oct 2013 16:02:59 +0000 (UTC) (envelope-from prvs=19987b9001=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 204102965 for ; Sun, 13 Oct 2013 16:02:58 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50006379269.msg for ; Sun, 13 Oct 2013 17:02:50 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Sun, 13 Oct 2013 17:02:50 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=19987b9001=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-stable@freebsd.org Message-ID: From: "Steven Hartland" To: "Daniel O'Connor" , "freebsd-stable stable" References: <0A1B986B-1D7D-4D88-82EF-C1E7A91FF089@gsoft.com.au> Subject: Re: ZFS hanging on too hard Date: Sun, 13 Oct 2013 17:02:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2013 16:02:59 -0000 ----- Original Message ----- From: "Daniel O'Connor" > Hi all, > I'm trying to setup a ZFS mirror system with a USB disk as backup. The backup disk is a ZFS pool which I am zfs send'ing to. > > However I find that if the disk is disconnected while mounted then things go pear shaped.. > root@gateway:~ # zpool status -v > pool: backupA > state: UNAVAIL > status: One or more devices are faulted in response to IO failures. > action: Make sure the affected devices are connected, then run 'zpool clear'. > see: http://illumos.org/msg/ZFS-8000-HC > scan: none requested > config: > > NAME STATE READ WRITE CKSUM > backupA UNAVAIL 0 0 0 > 1877640355 REMOVED 0 0 0 was /dev/da0 > > errors: List of errors unavailable (insufficient privileges) > > (but I am root..) > > root@gateway:~ # zpool online pool /dev/da0 > cannot online /dev/da0: no such device in pool > > ?! > > Anyone have any ideas? First "pool" is not your pool name its backupA so try: zpool online backupA /dev/da0 If that still fails try: zpool online backupA 1877640355 Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.