Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2017 21:21:36 -0700
From:      Gordon Zaft <gordonzaft@gmail.com>
To:        freebsd-sparc64@freebsd.org
Subject:   Re: Adding disk on Sun Fire V245 w/FreeBSD 11
Message-ID:  <CAGuhNT23WxqhNmH8HqMjXJzitZ8xcMzTBnej%2B1nV4UbAoqmBiA@mail.gmail.com>
In-Reply-To: <CAGuhNT3RmfjTfejpgPTVWn3AzR8zKNdoqfX14EkCNRR9O1wBQQ@mail.gmail.com>
References:  <CAGuhNT2%2BiF_Or1vpwLFgBYfynEy=M6Rh5bKXWX0zMgdxYuv1Ow@mail.gmail.com> <CAGuhNT3RmfjTfejpgPTVWn3AzR8zKNdoqfX14EkCNRR9O1wBQQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, was not in plain text mode:

I finally figured this out and figured I should document for posterity...

I realized I had not tried to do a probe-scsi from the OBP prompt, so
I did that.  I
got an endless cascade of

Base SAS World Wide ID is 0!
This must be fixed immediately using set-sas-wwid

So digging into this document
https://docs.oracle.com/cd/E19088-01/v215.srvr/819-3040-18/Disk-vols.html
I realized the onboard RAID was messing me up.

Following the directions, and the ok> prompt:

setenv auto-boot? false
setenv fcode-debug? true
reset-all

Then a
ok>show-disks

Select the SCSI disk controller (for me it was b) )

ok>select ^Y (inserts the line from show-disks; trim off the /disk)

doing

ok>show-volumes

showed that the disks that I wasn't seeing were listed as disabled (or
inactive) volumes.  To fix this I deleted each volume

ok>0 delete-volume
ok>1 delete-volume

ok>show-volumes

now shows no volumes.  Doing a

ok>setenv fcode-debug? false
ok>reset-all

when the system came back a probe-scsi showed the disks now, and when
I boot they are in dmesg.

I still had to put a VTOC on them since, in my case they were IBM
disks, or wiped Sun disks:

/sbin/gpart create -s VTOC8 da1

Then

/sbin/gpart add -t freebsd-ufs da1

to create one big partition.

Then a newfs as usual and you're good to go!

On Fri, Feb 17, 2017 at 9:20 PM, Gordon Zaft <gordonzaft@gmail.com> wrote:
>
> I finally figured this out and figured I should document for posterity...
>
> I realized I had not tried to do a probe-scsi from the OBP prompt, so I did
> that.  I
> got an endless cascade of
>
> Base SAS World Wide ID is 0!
> This must be fixed immediately using set-sas-wwid
>
> So digging into this document
> https://docs.oracle.com/cd/E19088-01/v215.srvr/819-3040-18/Disk-vols.html I
> realized the onboard RAID was messing me up.
>
> Following the directions, and the ok> prompt:
>
> setenv auto-boot? false
> setenv fcode-debug? true
> reset-all
>
> Then a
> ok>show-disks
>
> Select the SCSI disk controller (for me it was b) )
>
> ok>select ^Y (inserts the line from show-disks; trim off the /disk)
>
> doing
>
> ok>show-volumes
>
> showed that the disks that I wasn't seeing were listed as disabled (or
> inactive) volumes.  To fix this I deleted each volume
>
> ok>0 delete-volume
> ok>1 delete-volume
>
> ok>show-volumes
>
> now shows no volumes.  Doing a
>
> ok>setenv fcode-debug? false
> ok>reset-all
>
> when the system came back a probe-scsi showed the disks now, and when I boot
> they are in dmesg.
>
> I still had to put a VTOC on them since, in my case they were IBM disks, or
> wiped Sun disks:
>
> /sbin/gpart create -s VTOC8 da1
>
> Then
>
> /sbin/gpart add -t freebsd-ufs da1
>
> to create one big partition.
>
> Then a newfs as usual and you're good to go!
>
> G
>
>
>
> On Fri, Nov 18, 2016 at 9:35 PM, Gordon Zaft <gordonzaft@gmail.com> wrote:
>>
>>
>> I have a Sun Fire V245 running 11.0.  It had one 146GB hard disk in it.  I
>> went to add a second similar disk but the OS doesn't seem to see it.  I can
>> tell the hardware sees it as if I pull it out while the machine's on I get
>> an alert from the ALOM. But I don't see a "da1" device in dmesg.
>>
>> What am I doing wrong?
>>
>> Thanks in advance!
>>
>> --
>> Gordon Zaft
>> Province 35 Governor
>> Phi Mu Alpha Sinfonia Fraternity
>> gordonzaft@gmail.com
>
>
>
>
> --
> Gordon Zaft
> Province 35 Governor
> Phi Mu Alpha Sinfonia Fraternity
> gordonzaft@gmail.com



-- 
Gordon Zaft
Province 35 Governor
Phi Mu Alpha Sinfonia Fraternity
gordonzaft@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGuhNT23WxqhNmH8HqMjXJzitZ8xcMzTBnej%2B1nV4UbAoqmBiA>