[OpenIndiana-discuss] What to do with 4k sector SATA drives... All fixes are for SCSI drives only!!??

Hans J Albertsson hans.j.albertsson at branneriet.se
Sun Mar 17 18:31:43 UTC 2013


I read somewhere that you can

Set sata to ahci in bios.
Boot a live dvd
In there  i can just do a zpool import -f rpool.
Could this be true? Really?


Skickat från min Samsung Mobil

-------- Originalmeddelande --------
Från: "Hans J. Albertsson" <hans.j.albertsson at branneriet.se> 
Datum:  
Till: Discussion list for OpenIndiana <openindiana-discuss at openindiana.org> 
Rubrik: Re: [OpenIndiana-discuss] What to do with 4k sector SATA drives... All fixes are for SCSI drives only!!?? 
 
i think I've just got a problem because of machine age!

if I can muster enough courage .... ok, well, being retired, what can 
harm me now?
I have my sata controllers in that machine in ide mode... gaah..

There was a problem in Solaris 11/Opensolaris around builds << 97 or so 
that meant I had to do that, or else my machines would reboot at random. 
I think I know the problem is gone since b134 at least, and I almost 
remember,  I think, doing some kind of reconfiguring and recapturing the 
rpool from a live CD on another box on account of that problem.
It's years ago so my memory of the event has been almost erased
I hope that will work without reinstalliing. All the devices and dev 
trees naming looks very different.

Will I have to export/backup the entire thing to another disk, and 
reconfigure and import/recv/something back, or can I  just change the 
SATA mode and recreate the devices and dev trees from a live cd w/o 
loosing the rpool?

I realised this when I happened to check things on another machine, by 
mistake, a machine with proper settings and seeing very different 
behaviour in the inquire command.

My  face is crimson!


Reinstall needed???  S----t!!!


On 2013-03-17 16:38, Jan Owoc wrote:
> On Sun, Mar 17, 2013 at 9:06 AM, Hans J. Albertsson
> <hans.j.albertsson at branneriet.se> wrote:
>>> On Sun, Mar 17, 2013 at 8:30 AM, Hans J. Albertsson
>>> <hans.j.albertsson at branneriet.se> wrote:
>>>> When I look around in all the various places where the 4k blocksize issue
>>>> is
>>>> discussed, it turns out all the advice only ever deals with SCSI or SAS
>>>> drives.....
>>> After reading this page [1], what specific further questions do you
>>> have? The goal is to have that page a catch-all for your kind of
>>> question.
>>>
>>> [1] http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks
>> Your counter-question baffles me a bit... but:
>>
>> Can you point at any part of that wiki page that actually deals with how to
>> produce a 4kblocksize pool on a SATA, not a SCSI, drive that is actually 4k
>> physical blocksize but reports having 512 bytes blocks.
>>
>> The trick of editing sd.conf shouldn't work on SATA drives, since they're
>> not scsi, and sd.conf deals with SCSI harddisks plus some ATAPI CD/DVDs and
>> such..
> >From what I understood, both SATA and SCSI drives can be modified
> using sd.conf, but I don't have any drives I can test at the moment,
> so either of us could be wrong ;-).
>
> However, there is a sample listing of drives that can be entered into
> sd.conf [2], and many (all?) of them are SATA, so that is where I
> presumed it would work with SATA. Let me know if it doesn't, as I will
> may to work with such drives in the near future.
>
> [2] http://wiki.illumos.org/display/illumos/List+of+sd-config-list+entries+for+Advanced-Format+drives
>
> Cheers,
> Jan
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the OpenIndiana-discuss mailing list