Date: Mon, 31 Oct 2011 11:04:07 +0100 From: Antonio Vieiro <antonio@antonioshome.net> To: freebsd-questions@freebsd.org Subject: FreeBSD 9.0RC1: zpool fails to import an exported pool? Message-ID: <CAPHN3JW6Xq_agPdH0nCbTo1rq=fNFs3KccAC3Gwon=y%2B_u%2BuGw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, I'm plugging this external USB drive of 250Gb on 9.0RC1 and doing this: LAB:~# zpool create MYPOOL /dev/da4 LAB:~# zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT MYPOOL 232G 89,5K 232G 0% 1.00x ONLINE - LAB:~# zpool status pool: MYPOOL state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM MYPOOL ONLINE 0 0 0 da4 ONLINE 0 0 0 errors: No known data errors LAB:~# zfs list NAME USED AVAIL REFER MOUNTPOINT MYPOOL 89,5K 228G 31K /MYPOOL So far so good, now I'm trying to export and import this pool, like this: LAB:~# zpool export MYPOOL; echo $? 0 LAB:~# zpool list no pools available But importing it fails: LAB:~# zpool import; echo $? pool: MYPOOL id: 17521547345542608 state: UNAVAIL status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. see: http://www.sun.com/msg/ZFS-8000-5E config: MYPOOL UNAVAIL insufficient replicas 8987296282819450665 UNAVAIL corrupted data 0 If I force import I get this: LAB:~# zpool import -f MYPOOL cannot import 'MYPOOL': invalid vdev configuration So how is it possible I have corrupted data from a just exported volume? Am I doing something wrong here? Thanks in advance, Antonio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPHN3JW6Xq_agPdH0nCbTo1rq=fNFs3KccAC3Gwon=y%2B_u%2BuGw>