Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 22:49:07 +0200
From:      Dick Hoogendijk <dick@nagual.nl>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ZFS not usable on FreeBSD-8.1
Message-ID:  <4C69A443.60308@nagual.nl>
In-Reply-To: <20100816181432.GA66710@slackbox.erewhon.net>
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> <AANLkTi=fYtMYLeWgM8JZdECbv8EfkVSQcoSeFyLsOGXK@mail.gmail.com> <1281947758890646500@nagual.nl> <20100816181432.GA66710@slackbox.erewhon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
  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<amvandemore@gmail.com>  wrote:
>>> On Sun, Aug 15, 2010 at 1:45 PM, Dick Hoogendijk<dick@nagual.nl>  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<device>' and 'bsdlabel<device>s1'?
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 <ST3160021A/8.01> ATA/ATAPI revision 6
     Slave:  acd0 <PLEXTOR DVDR PX-755A/1.08> 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 <Hitachi HDP725050GLA360/GM4OA5CA> SATA revision 2.x
     Slave:       no device present
ATA channel 5:
     Master: ad10 <Hitachi HDP725050GLA360/GM4OA50E> SATA revision 2.x
     Slave:       no device present
ATA channel 6:
     Master: ad12 <Hitachi HDT721010SLA360/ST6OA31B> SATA revision 2.x
     Slave:       no device present
ATA channel 7:
     Master: ad14 <Hitachi HDS721010CLA332/JP4OA39C> SATA revision 2.x
     Slave:       no device present




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C69A443.60308>