From owner-freebsd-fs@FreeBSD.ORG Wed Jul 10 09:16:30 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 4F5309ED for ; Wed, 10 Jul 2013 09:16:30 +0000 (UTC) (envelope-from jiansong.liu@gmail.com) Received: from mail-vc0-x230.google.com (mail-vc0-x230.google.com [IPv6:2607:f8b0:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 136D51DDF for ; Wed, 10 Jul 2013 09:16:30 +0000 (UTC) Received: by mail-vc0-f176.google.com with SMTP id ha12so5141893vcb.7 for ; Wed, 10 Jul 2013 02:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/gF29k3PqGJdrthSUgTh3RZFOOBKpfgoVDt/ys8skmU=; b=tViElBaFwNV6Hjku0NRY0wJxqvgZwZPVq5aXzBrPAW8losQbJ3szphKZDWA3sbWqRa bnwm+Mx1m7TigwltG9JPmG5zPHVQu7iM9rfWUw7C90ObA7Vnt0BWd800rXi35paBTF8A C9SVSzf6l18M4Sq5+GqLEHRq0iX8Jcyrusd3fF6wkdRT8mtiNbtoA5/cFh6o5UmwT2KT SQeP1q3IXSxoCpiDapDvptpL6VDdaxWeh6TM8RAwX2sp3R2ktN6NjRCRxAs47O97GjT6 3u+rz+Z0ZmSMCVd7eBd2XUA6BQvdpErtEFyfausW2tywFsmn3FLsIKoMcM554ELpnhEo Ex0g== X-Received: by 10.220.198.133 with SMTP id eo5mr18486705vcb.24.1373447789532; Wed, 10 Jul 2013 02:16:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.65.72 with HTTP; Wed, 10 Jul 2013 02:16:14 -0700 (PDT) In-Reply-To: <9DFC0C4FC3594628A5B53FB743C76FE6@multiplay.co.uk> References: <9DFC0C4FC3594628A5B53FB743C76FE6@multiplay.co.uk> From: Jiansong Liu Date: Wed, 10 Jul 2013 17:16:14 +0800 Message-ID: Subject: Re: zpool import -D failed, "guid mismatch for provider /dev/da#:" To: Steven Hartland Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org 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, 10 Jul 2013 09:16:30 -0000 After a svn update and rebuild, the problem resolved, thank you very much guys. Best regards, Jiansong On Wed, Jul 10, 2013 at 4:17 PM, Steven Hartland wrote: > This was fixed by r252056 in head and r252308 in stable/9 > > Regards > Steve > > ----- Original Message ----- From: "Jiansong Liu" > > > Hi All, >> >> I destroyed a pool and try to recovery with the "zpool import" command >> failed and it says have no pool to import, then I realized that I >> missed the "-D", so I run the command "zpool import -D", now it says >> UNAVAIL, the pool has six vdev (da0 da1 da2 da3 da5 da6) original: >> >> # zpool import -D >> pool: storage >> id: 8511691845980256432 >> state: UNAVAIL (DESTROYED) >> status: One or more devices are missing from the system. >> action: The pool cannot be imported. Attach the missing >> devices and try again. >> see: http://illumos.org/msg/ZFS-**8000-3C >> config: >> >> storage UNAVAIL insufficient replicas >> raidz2-0 UNAVAIL insufficient replicas >> 8368872959405194221 UNAVAIL cannot open >> 16925320148488343503 UNAVAIL cannot open >> 2721065418012152096 UNAVAIL cannot open >> 1488947662741999881 UNAVAIL cannot open >> 16956133848943560671 UNAVAIL cannot open >> 7236613667503893647 UNAVAIL cannot open >> >> Every time I run the "zpool import -D", the zfs debug will output a >> error for every vdev member, seems the vdev returned a wrong guid: >> >> vdev_geom_open_by_path:550[1]: Found provider by name /dev/da6. >> vdev_geom_attach:97[1]: Attaching to da6. >> vdev_geom_attach:118[1]: Created geom and consumer for da6. >> vdev_geom_read_config:243[1]: Reading config from da6... >> vdev_geom_detach:158[1]: Closing access to da6. >> vdev_geom_detach:162[1]: Destroyed consumer to da6. >> vdev_geom_detach:170[1]: Destroyed geom zfs::vdev. >> vdev_geom_open_by_path:562[1]: guid mismatch for provider /dev/da6: >> 7236613667503893647 != 0. >> vdev_geom_open_by_guid:518[1]: Searching by guid [7236613667503893647]. >> vdev_geom_read_config:243[1]: Reading config from da4s1g... >> vdev_geom_read_config:243[1]: Reading config from da4s1f... >> vdev_geom_read_config:243[1]: Reading config from da4s1e... >> vdev_geom_read_config:243[1]: Reading config from da4s1d... >> vdev_geom_read_config:243[1]: Reading config from da4s1b... >> vdev_geom_read_config:243[1]: Reading config from da4s1a... >> vdev_geom_read_config:243[1]: Reading config from da4s1... >> vdev_geom_read_config:243[1]: Reading config from da6... >> vdev_geom_read_config:243[1]: Reading config from da5... >> vdev_geom_read_config:243[1]: Reading config from da4... >> vdev_geom_read_config:243[1]: Reading config from da3... >> vdev_geom_read_config:243[1]: Reading config from da2... >> vdev_geom_read_config:243[1]: Reading config from da1... >> vdev_geom_read_config:243[1]: Reading config from da0... >> vdev_geom_open_by_guid:532[1]: Search by guid [7236613667503893647] >> failed. >> vdev_geom_open:617[1]: Provider /dev/da6 not found. >> >> the system version is 9-STABLE r250636 >> any comment and advice are appreciated, thanks in advance. >> >> >> Best regards, >> Jiansong Liu >> ______________________________**_________________ >> freebsd-fs@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@**freebsd.org >> " >> >> > ==============================**================== > 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. > >