From owner-freebsd-questions@FreeBSD.ORG Mon Aug 16 20:49:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB052106566C for ; Mon, 16 Aug 2010 20:49:04 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 5952A8FC22 for ; Mon, 16 Aug 2010 20:49:03 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by westmark.nagual.nl (Axigen) with (AES256-SHA encrypted) ESMTPSA id 2072DA; Mon, 16 Aug 2010 22:40:40 +0200 Message-ID: <4C69A443.60308@nagual.nl> Date: Mon, 16 Aug 2010 22:49:07 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Roland Smith References: <4C669668.5040906@nagual.nl> <19558.60756.860555.968721@gargle.gargle.HOWL> <4C66F542.6090501@nagual.nl> <19559.15997.480750.380264@gargle.gargle.HOWL> <4C6835B9.7000900@nagual.nl> <1281947758890646500@nagual.nl> <20100816181432.GA66710@slackbox.erewhon.net> In-Reply-To: <20100816181432.GA66710@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS not usable on FreeBSD-8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2010 20:49:05 -0000 On 16-8-2010 20:14, Roland Smith wrote: > On Mon, Aug 16, 2010 at 10:35:58AM +0200, Dick Hoogendijk wrote: >> On Mon, Aug 16, 2010 04:49 AM, Adam Vande More wrote: >>> On Sun, Aug 15, 2010 at 1:45 PM, Dick Hoogendijk wrote: >>>> My 500Gb drives won't however. they keep on giving cg); bad magic number. >>>> Sysinstall won't newfs the drives. newfs -U /dev/gm1a (created with the >>>> script mentioned before does not work OK either. Always this unexplained >>>> message (cg0: bad magic number). I have NO CLUE whatsoever what can be the >>>> cause of this. Both drives can be formatted by Windows, Linux and lots of >>>> other utilities. They can not be formatted UFS2 for / by FreeBSD-8.1/amd64 >>> You can try to get your system up and running using something like >>> http://mfsbsd.vx.sk/ or pcbsd. If that works, then I guess the possible >>> cause is you. :-) >> Good idea. I will give it a shot, although I'm pretty sure I'm not the >> cause. I have four years experience as a (Open)Solaris system administrator >> and before that I used FreeBSD heavely. From the 4.10 series up to the 6.x >> series. So I do know something about the matter. But, we'll see... Keep you >> posted. > It could be that newfs is overwriting the partition table. > Can you post the output of 'gpart show' and 'bsdlabels1'? I have found the cause of my troubles. Using FixIt I was able today to use my ad8 with gpart and newfs it without errors. I also found out that zpool scrub pool was waiting for an uninterruptible disk wait. That made me remember I used to have troubles before in this hardware setting. The problem lies in a flaw in my MB. I have one ATA disk attached as master and an ATAPI dvd drive (slave) on ATA channel 0 plus four SATA2 drives (ATA channel 4,5,6,7 master). Somehow this does not work OK. Without the ATA drive on channel 0 (an older model) my four SATA2 drives work perfectly. I suspect some kind of interrupt issue. Problem: FreeBSD is installed on my ATA drive on channel 0. I tried to do a minimal install on drive ad8 today to dump/restore the system over and get rid of that lousy ATA drive. Bad luck. Sysinstall can't find /dev/ad8s1b so it can't complete the creation of the filesystems. And thus I can't do a minimal install on this SATA2 drive. Any ideas how I can overcome this issue? westmark# atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI revision 6 Slave: acd0 ATA/ATAPI revision 6 ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: ad8 SATA revision 2.x Slave: no device present ATA channel 5: Master: ad10 SATA revision 2.x Slave: no device present ATA channel 6: Master: ad12 SATA revision 2.x Slave: no device present ATA channel 7: Master: ad14 SATA revision 2.x Slave: no device present