Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 22:13:06 +0100
From:      "Graeme Dargie" <arab@tangerine-army.co.uk>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: ZFS not usable on FreeBSD-8.1
Message-ID:  <01FB8F39BAD0BD49A6D0DA8F7897392904F7C1@Mercury.galaxy.lan.lcl>
In-Reply-To: <4C69A443.60308@nagual.nl>
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> <4C69A443.60308@nagual.nl>

next in thread | previous in thread | raw e-mail | index | archive | help


-----Original Message-----
From: Dick Hoogendijk [mailto:dick@nagual.nl]=20
Sent: 16 August 2010 21:49
To: Roland Smith
Cc: freebsd-questions@freebsd.org
Subject: Re: ZFS not usable on FreeBSD-8.1

  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=20
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=20
master and an ATAPI dvd drive (slave) on ATA channel 0 plus four SATA2=20
drives (ATA channel 4,5,6,7 master). Somehow this does not work OK.=20
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=20
do a minimal install on drive ad8 today to dump/restore the system over=20
and get rid of that lousy ATA drive. Bad luck. Sysinstall can't find=20
/dev/ad8s1b so it can't complete the creation of the filesystems. And=20
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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"

Bit of a long shot, but have you tried enabling AHCI mode for the sata
drives in the bios and setting ahci_load=3D"YES" in /boot/loader.conf
assuming your the board supports it.

Regards
Graeme




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