ZFS woes

Graeme Dargie arab at tangerine-army.co.uk
Tue Aug 10 20:55:28 UTC 2010



-----Original Message-----
From: Dick Hoogendijk [mailto:dick at nagual.nl] 
Sent: 10 August 2010 21:10
To: FreeBSD Questions
Subject: ZFS woes

  FreeBSD-8.1/amd64 -> I spend all evening trying to create a ZFS mirror

on my two 1Tb sata2 drives formerly used under opensolaris (zfs22) I 
wiped out the firt mb; i used sysinstall to create a fbsd slice; wiped 
it out again; booted knoppix to create an EFI / GPT; booted into 
opensolaris and created a zpool (v14), but nothing, nothing did the
trick.
sometimes the GEOM GPT table (first / second) was bad; sometimes I saw 
other warnings; sometimes I *seemed* to be able to create a ZFS mirror 
and it *seemed* healthy. I even could write to it, but the moment I 
wanted to do a "zpool scrub tank" the system freezes or gave me warnings

like ZFS: vdev failure, zpool=tank type=vdev.bad.label

Whatever I did, I could not get rid of the errors and create a healthy 
zpool. It really drives me crazy, so if anyone can tell me HOW I can 
turn two drives into a state that I can use them for ZFS under FreeBSD, 
please tell me *in detail*.

I love to have ZFS back (I'm really used to it on opensolaris), but it 
has to be safe. It cannot be that one zpool scrub halts my system. I 
must have done something wrong then. But what?
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"


I could be over simplifying what you are trying to do, but seen as you
did not mention it what was wrong with Freebsd and zpool create tank
mirror device1 device2 

If you are getting warnings about the drives being part of a previous
pool and you are not fussed about the data on the drives try using the
manufactures diagnostics to do low level format then create your pool.

Regards

Graeme



More information about the freebsd-questions mailing list