From owner-freebsd-fs@FreeBSD.ORG Fri Sep 10 14:40:44 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F35231065674 for ; Fri, 10 Sep 2010 14:40:44 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8834D8FC27 for ; Fri, 10 Sep 2010 14:40:44 +0000 (UTC) Received: by ewy4 with SMTP id 4so1996639ewy.13 for ; Fri, 10 Sep 2010 07:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=JY48CHn8pIcufGyNvKvrE3FyNuJt7VIBoRemZNRxsc0=; b=q7WirymZh5onEFCUu/fjX8qpY8TsiGnSW7FkrHp0tEDX0lZtf3cNP6kfDJ//eOcoSw 8ZNx9UiuKpvHB3aFz9uBEHMzm/mYoqLqqAe3FkKwJGU2o75gEQnnX1v42ZsfqoylQJkX nj4+1UtRUNaiHYuhc6NPDTEKZ51zPqS+OeuaY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NtCXi/9F/4Ka2za8Gm+BKL7cbrtdSDEzuKCaD9+tn53dyniQSC92pSBiRFRMCXXhsP qWJ6f2ISgz6LILZnHLKm+i/6QZE6FysLJ2QRfQwza4XsiqpOlccP3QaSPxpG9T+6PENS EJJUoVyyCE/b4ecLzEz6b6uKjqPgsUntnWmks= MIME-Version: 1.0 Received: by 10.216.176.83 with SMTP id a61mr992222wem.47.1284129642956; Fri, 10 Sep 2010 07:40:42 -0700 (PDT) Received: by 10.216.6.28 with HTTP; Fri, 10 Sep 2010 07:40:42 -0700 (PDT) In-Reply-To: References: <20100910073912.GC2007@garage.freebsd.pl> Date: Fri, 10 Sep 2010 07:40:42 -0700 Message-ID: From: Freddie Cash To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: Swap on ZFS Volume still panics? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 14:40:45 -0000 On Fri, Sep 10, 2010 at 1:50 AM, App Deb wrote: > Yes sorry for actually calling it a panic, it is a deadlock, I didn't see > any messages, anyway the system becomes unusable and needs a manual hard > reboot. > > I found the mention (without any warnings) here: > http://wiki.freebsd.org/RootOnZFS > > I have tried this on 3 different systems (all 8.1R though) and they always > deadlock once the zfs swap is touched. > > I think that the "not recommended" is not enough. It just doesn't work at > all, except if I am doing something wrong and there are some cases that it > works? > > I have now switched to native freebsd-swap (after a long zfs send/receive > backup to resize the zpool :) ) and everything works great. An alternative to re-creating the pool to add a non-ZFS swap is to plug in a 2-8 GB USB stick and use that for swap. -- Freddie Cash fjwcash@gmail.com