From owner-freebsd-fs@FreeBSD.ORG Wed Jul 17 09:40:18 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E8D45449; Wed, 17 Jul 2013 09:40:18 +0000 (UTC) (envelope-from Ivailo.Tanusheff@skrill.com) Received: from db9outboundpool.messaging.microsoft.com (mail-db9lp0253.outbound.messaging.microsoft.com [213.199.154.253]) by mx1.freebsd.org (Postfix) with ESMTP id 4BD67F8C; Wed, 17 Jul 2013 09:40:17 +0000 (UTC) Received: from mail9-db9-R.bigfish.com (10.174.16.230) by DB9EHSOBE017.bigfish.com (10.174.14.80) with Microsoft SMTP Server id 14.1.225.22; Wed, 17 Jul 2013 09:25:05 +0000 Received: from mail9-db9 (localhost [127.0.0.1]) by mail9-db9-R.bigfish.com (Postfix) with ESMTP id 97B8DC80216; Wed, 17 Jul 2013 09:25:05 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.249.213; KIP:(null); UIP:(null); IPV:NLI; H:AM2PRD0710HT004.eurprd07.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: -1 X-BigFish: PS-1(zz9371I542I14ffIzz1f42h1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz17326ah8275dhz2fh2a8h668h839h944hd24hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1d07h1d0ch1d2eh1d3fh1de9h1dfeh1dffh1e1dh9a9j1155h) Received-SPF: pass (mail9-db9: domain of skrill.com designates 157.56.249.213 as permitted sender) client-ip=157.56.249.213; envelope-from=Ivailo.Tanusheff@skrill.com; helo=AM2PRD0710HT004.eurprd07.prod.outlook.com ; .outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(377454003)(13464003)(199002)(189002)(53754006)(4396001)(69226001)(63696002)(79102001)(54356001)(33646001)(83072001)(74876001)(74366001)(59766001)(77982001)(65816001)(47446002)(46102001)(76786001)(16406001)(77096001)(74502001)(50986001)(76576001)(54316002)(81342001)(31966008)(49866001)(81542001)(47976001)(47736001)(74316001)(56816003)(66066001)(76796001)(56776001)(51856001)(74662001)(15202345003)(80022001)(53806001)(76482001)(74706001)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:DB3PR07MB059; H:DB3PR07MB059.eurprd07.prod.outlook.com; CLIP:217.18.249.148; RD:InfoNoRecords; A:1; MX:1; LANG:en; Received: from mail9-db9 (localhost.localdomain [127.0.0.1]) by mail9-db9 (MessageSwitch) id 1374053102822740_658; Wed, 17 Jul 2013 09:25:02 +0000 (UTC) Received: from DB9EHSMHS009.bigfish.com (unknown [10.174.16.231]) by mail9-db9.bigfish.com (Postfix) with ESMTP id B9673920046; Wed, 17 Jul 2013 09:25:02 +0000 (UTC) Received: from AM2PRD0710HT004.eurprd07.prod.outlook.com (157.56.249.213) by DB9EHSMHS009.bigfish.com (10.174.14.19) with Microsoft SMTP Server (TLS) id 14.16.227.3; Wed, 17 Jul 2013 09:25:02 +0000 Received: from DB3PR07MB059.eurprd07.prod.outlook.com (10.242.137.149) by AM2PRD0710HT004.eurprd07.prod.outlook.com (10.255.165.39) with Microsoft SMTP Server (TLS) id 14.16.329.3; Wed, 17 Jul 2013 09:25:02 +0000 Received: from DB3PR07MB059.eurprd07.prod.outlook.com (10.242.137.149) by DB3PR07MB059.eurprd07.prod.outlook.com (10.242.137.149) with Microsoft SMTP Server (TLS) id 15.0.731.16; Wed, 17 Jul 2013 09:25:00 +0000 Received: from DB3PR07MB059.eurprd07.prod.outlook.com ([169.254.2.117]) by DB3PR07MB059.eurprd07.prod.outlook.com ([169.254.2.117]) with mapi id 15.00.0731.000; Wed, 17 Jul 2013 09:25:00 +0000 From: Ivailo Tanusheff To: Maurizio Vairani , "freebsd-stable@FreeBSD.org" , "freebsd-fs@freebsd.org" Subject: RE: Shutdown problem with an USB memory stick as ZFS cache device Thread-Topic: Shutdown problem with an USB memory stick as ZFS cache device Thread-Index: AQHOgseq21n5ubkB006RuCOsHZ/zxplomN5Q Date: Wed, 17 Jul 2013 09:25:00 +0000 Message-ID: <0243b7c6538240c69770fdd0aaa4e8e0@DB3PR07MB059.eurprd07.prod.outlook.com> References: <51E6555D.2080803@cloverinformatica.it> In-Reply-To: <51E6555D.2080803@cloverinformatica.it> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.18.249.148] x-forefront-prvs: 0910AAF391 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: skrill.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 09:40:19 -0000 I think this is expected as your screenshot shows the USB has being disconn= ected, so you actually lost the cache device on the shutdown. Maybe you should implement a shutdown script that removes the USB cache fro= m the pool before the shutdown command is issued :) Best regards, Ivailo Tanusheff -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd= .org] On Behalf Of Maurizio Vairani Sent: Wednesday, July 17, 2013 11:27 AM To: freebsd-stable@FreeBSD.org; freebsd-fs@freebsd.org Subject: Shutdown problem with an USB memory stick as ZFS cache device Hi all, on a Compaq Presario laptop I have just installed the latest stable #uname -a FreeBSD presario 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0: Tue Jul 16=20 16:32:39 CEST 2013 root@presario:/usr/obj/usr/src/sys/GENERIC amd64 For speed up the compilation I have added to the pool, tank0, a SanDisk me= mory stick as cache device with the command: # zpool add tank0 cache /dev/da0 But when I shutdown the laptop the process will halt with this screen shot: http://www.dump-it.fr/freebsd-screen-shot/2f9169f18c7c77e52e873580f9c2d4bf.= jpg.html and I need to press the power button for more than 4 seconds to switch=20 off the laptop. The problem is always reproducible. Regards Maurizio _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"